From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "David J. DeWolfe" Newsgroups: gmane.os.tru64.managers Subject: TruCluster caa reason codes and application failover etc Date: Sat, 24 Jan 2004 15:33:00 -0900 Sender: tru64-unix-managers-owner@ornl.gov Message-ID: <5.1.0.14.2.20040124135458.038e8c28@java.alaska.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Trace: sea.gmane.org 1074990866 7028 80.91.224.253 (25 Jan 2004 00:34:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 25 Jan 2004 00:34:26 +0000 (UTC) Original-X-From: tru64-unix-managers-owner-gotm-tru64-unix-managers=m.gmane.org@sws1.ctd.ornl.gov Sun Jan 25 01:34:16 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 1AkYEC-0004hB-00 for ; Sun, 25 Jan 2004 01:34:16 +0100 Original-Received: (qmail 16873 invoked by uid 5); 25 Jan 2004 00:33:57 -0000 Original-Followup-To: poster Precedence: bulk Original-Received: (qmail 16858 invoked by uid 49493); 25 Jan 2004 00:33:57 -0000 Original-Received: from sxdjd@ts.sois.alaska.edu by sws1 by uid 49491 with qmail-scanner-1.16 (iscan: v3.1/v5.600-1011/622/49252. clamscan: 20030605. spamassassin: 2.55. Clear:SA:0(0/0):. Processed in 41.777107 secs); 25 Jan 2004 00:33:57 -0000 Original-Received: from unknown (HELO emroute1.cind.ornl.gov) (160.91.4.119) by 0 with SMTP; 25 Jan 2004 00:33:15 -0000 Original-Received: from emroute1.cind.ornl.gov (localhost [127.0.0.1]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HS000HLQS7BF9@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 24 Jan 2004 19:33:14 -0500 (EST) Original-Received: from java.sois.alaska.edu (willow.alaska.edu [137.229.10.123]) by emroute1.cind.ornl.gov (PMDF V6.2-X17 #30669) with ESMTP id <0HS00075CS71C2@emroute1.cind.ornl.gov> for tru64-unix-managers@sws1.ctd.ornl.gov (ORCPT tru64-unix-managers@ornl.gov) ; Sat, 24 Jan 2004 19:33:02 -0500 (EST) Original-Received: from [137.229.7.148] (account sxdjd HELO SXDJD-1.mail.alaska.edu) by java.sois.alaska.edu (CommuniGate Pro SMTP 4.1.3) with ESMTP id 661684 for tru64-unix-managers@ornl.gov; Sat, 24 Jan 2004 15:33:00 -0900 X-Sender: sxdjd@java.alaska.edu Original-To: tru64-unix-managers@ornl.gov X-Mailer: QUALCOMM Windows Eudora Version 5.1 Xref: main.gmane.org gmane.os.tru64.managers:6283 X-Report-Spam: http://spam.gmane.org/gmane.os.tru64.managers:6283 All; I've been looking through the various Tru64 and TruCluster 5.1b docs to see if there is an elegant mechanism to determine if an application that is being started by CAA (as a result of it's action script being executed) is being started because the node that the application was previously running on crashed. Essentially, when an application resource action script runs to start an application, can I determine if it's running due to a failure on the node it was previously running on (i.e. it's failing over) versus running during a normal startup of the application? It looks like the caa reason codes (_CAA_REASON) are what I'm looking for and my testing has shown that when one node crashes and an application is failed over to another node the _CAA_REASON code is "unknown. Would I be safe to assume the following about _CAA_REASON codes: failure - likely that the node is fine but the application has crashed. The docs seem to say this, but then again they only say that this is a "typical condition that sets this value" unknown - an application is being started on the node in question potentially because the node it was running on crashed (which is what my testing has revealed). The docs don't say this however, they only say "contact your support representative". It would be nice if the caa environment included the node the application was previously running on and the state (offline versus online) which could be used in conjunction with the reason code to make certain decisions at startup time. My environment is: Dual GS1280's hardware partitioned in to 2 "nodes" each for a 4 node cluster. Memory Channel CI EVA 5000 Tru64 5.1b PK3 TIA, and I will summarize David mailto:sxdjd@ts.sois.alaska.edu