caa User Defined Attributes on 5.1B

From: jeffrey.s.horvath@census.gov
Date: Mon Jun 21 2004 - 09:47:09 EDT


Having problems creating caa USER DEFINED ATTRIBUTES under 5.1B kit 3. I
can't seem to register a USER DEFINED Attribute {STAT}. See chec_cron.tdf
file last parameter is the addition. I copied the application.tdf to
chec_cron.tdf for starters then added the STAT field. I keep getting the
"Could not register resource hrpsz_cron" error. cap file gets created just
fine.

Suggestions Please.

csbt05:root> caa_profile -create hrpsz_cron -t chec_cron -B
/var/cluster/caa/script
csbt05:root> caa_register hrpsz_cron
Could not register resource hrpsz_cron.

chec_cron.tdf
#
# *****************************************************************
# * *
# * Copyright 2002 Compaq Information Technologies Group, L.P. *
# * *
# * The software contained on this media is proprietary to *
# * and embodies the confidential technology of Compaq *
# * Computer Corporation. Possession, use, duplication or *
# * dissemination of the software and media is authorized only *
# * pursuant to a valid written license from Compaq Computer *
# * Corporation. *
# * *
# * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
# * by the U.S. Government is subject to restrictions as set *
# * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
# * or in FAR 52.227-19, as applicable. *
# * *
# *****************************************************************
#
# HISTORY
#
# @(#)$RCSfile$ $Revision$ (DEC) $Date$
#

#
# CAA application Type Definition
#
# file: chec_cron.tdf
#
#

#!================================
attribute: REQUIRED_RESOURCES
type: name_list
switch: -r
default:
required: no

#!================================
attribute: OPTIONAL_RESOURCES
type: name_list
switch: -l
default:
required: no

#!================================
attribute: PLACEMENT
switch: -p
type: name_string
default: balanced
required: yes

#!==========================
#
# This attribute is required if PLACEMENT is favored or restricted
#
attribute: HOSTING_MEMBERS
type: name_list
switch: -h
default:
required: no

#!==========================
attribute: ACTION_SCRIPT
type: name_string
switch: -a
default:
required: no

#!==========================
attribute: CHECK_INTERVAL
type: positive_integer
switch: -o ci
default: 60
required: no

#!==========================
attribute: RESTART_ATTEMPTS
type: positive_integer
switch: -o ra
default: 1
required: no

#!==========================
attribute: FAILOVER_DELAY
type: positive_integer
switch: -o fd
default: 0
required: no

#!==========================
attribute: AUTO_START
type: boolean
switch: -o as
default: 0
required: no

#!==========================
attribute: SCRIPT_TIMEOUT
type: positive_integer
switch: -o st
default: 60
required: no

#!==========================
attribute: ACTIVE_PLACEMENT
type: boolean
switch: -o ap
default: 0
required: no

#!==========================
attribute: REBALANCE
type: string
switch: -o bt
default:
required: no

#!==========================
attribute: STAT
type: string
switch: -o s
default: OFF
required: yes



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:50:01 EDT