From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: jeffrey.s.horvath@census.gov Newsgroups: gmane.os.tru64.managers Subject: caa User Defined Attributes on 5.1B Date: Mon, 21 Jun 2004 09:47:09 -0400 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1087825672 10678 80.91.224.253 (21 Jun 2004 13:47:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 21 Jun 2004 13:47:52 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Mon Jun 21 15:47:37 2004 Return-path: Original-Received: from sws1.ornl.gov ([160.91.1.101]) by deer.gmane.org with smtp (Exim 3.35 #1 (Debian)) id 1BcP96-0001CQ-00 for ; Mon, 21 Jun 2004 15:47:37 +0200 Original-Received: (qmail 23476 invoked by uid 5); 21 Jun 2004 13:47:28 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 23461 invoked by uid 49501); 21 Jun 2004 13:47:28 -0000 Original-Received: from jeffrey.s.horvath@census.gov by sws1 by uid 49491 with qmail-scanner-1.21 (clamdscan: 0.70-rc. iscan: v3.1/v5.600-1011/847/50540. spamassassin: 2.63. Clear:RC:0(160.91.4.119):SA:0(-4.7/5.0):. Processed in 0.512851 secs); 21 Jun 2004 13:47:28 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 21 Jun 2004 13:47:27 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTP id <0HZN008S9VN0AW@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 21 Jun 2004 09:47:26 -0400 (EDT) Original-Received: from VIRUSCAN-DAEMON.emroute1.cind.ornl.gov by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) id <0HZN00M02VMUS0@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 21 Jun 2004 09:47:20 -0400 (EDT) Original-Received: from dispatch.tco.census.gov (dispatch.tco.census.gov [148.129.129.22]) by emroute1.cind.ornl.gov (PMDF V6.2-X27 #30899) with ESMTPS id <0HZN00M6EVMPAW@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Mon, 21 Jun 2004 09:47:18 -0400 (EDT) Original-Received: from dispatch.tco.census.gov (localhost.localdomain [127.0.0.1]) by dispatch.tco.census.gov (8.12.10/8.12.10/p1_v4.2) with ESMTP id i5LDlBQN027100 for ; Mon, 21 Jun 2004 09:47:11 -0400 Original-Received: from carry.tco.census.gov ([148.129.127.22]) by dispatch.tco.census.gov (8.12.10/8.12.10/p0_v4.2) with ESMTP id i5LDlBoI027093 for ; Mon, 21 Jun 2004 09:47:11 -0400 Original-Received: from carry.tco.census.gov (localhost.localdomain [127.0.0.1]) by carry.tco.census.gov (8.12.11/8.12.11/p1_v4.6) with ESMTP id i5LDlBfT001969 for ; Mon, 21 Jun 2004 09:47:11 -0400 Original-Received: from it008hqlns.boc.ad.census.gov (it008hqlns.boc.ad.census.gov [148.129.137.19]) by carry.tco.census.gov (8.12.11/8.12.11/p0_v4.3) with ESMTP id i5LDlBo3001964 for ; Mon, 21 Jun 2004 09:47:11 -0400 Original-To: tru64-unix-managers@ornl.gov X-Mailer: Lotus Notes Release 5.0.11 July 24, 2002 X-MIMETrack: Serialize by Router on LNHQ08MTA/HQ/BOC(Release 5.0.12 |February 13, 2003) at 06/21/2004 09:47:10 AM Xref: main.gmane.org gmane.os.tru64.managers:7159 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:7159 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