Is your exit code for success 110 and for failure of the monitor 100?

 

                Tom

 

 

From: veritas-ha-boun...@mailman.eng.auburn.edu
[mailto:veritas-ha-boun...@mailman.eng.auburn.edu] On Behalf Of
Jeff_Jones
Sent: Friday, January 09, 2009 11:52 AM
To: veritas-ha@mailman.eng.auburn.edu
Subject: [Veritas-ha] VCS 5.03 Application agent probing

 

OS = RedHat (RHEL 4)

VCS = 5.0mp3

 

I have an "application" agent configured for WebMethods and it fails to
probe.  The online, offline and monitor scripts work perfectly. Is there
anything specific to Application agents as to getting them to "probe"?
I am including below the service group info from the main.cf and the
monitor output file.  Any help would be appreciated.

 

Jeff 

 

MAIN.CF

 

group p-wmb (

        SystemList = { p-wmb-sv1 = 0, p-wmb-sv2 = 1 }

        AutoStartList = { p-wmb-sv1, p-wmb-sv2 }

        )

 

        Application Broker (

                User = wmadmin

                StartProgram = "/opt/app/webMethods71/gencluster/online"

                StopProgram = "/opt/app/webMethods71/gencluster/offline"

                CleanProgram = "/opt/app/webMethods71/gencluster/clean"

                MonitorProgram =
"/opt/app/webMethods71/gencluster/monitor"

                )

 

        DiskGroup WMapp_dg (

                DiskGroup = wmdg

                )

 

        IP WM_ip (

                Device = eth0

                Address = "172.24.245.243"

                NetMask = "255.255.255.0"

                )

 

        Mount WMapp_Mnt_1 (

                MountPoint = "/u01"

                BlockDevice = "/dev/vx/dsk/wmdg/wmvol"

                FSType = vxfs

                FsckOpt = "-y"

                )

 

        NIC WM-nic (

                Enabled = 0

                Device = eth0

                )

 

        Volume WMapp_Vol_1 (

                DiskGroup = wmdg

                Volume = wmvol

                )

 

        Broker requires WM_ip

        WM_ip requires WMapp_Mnt_1

        WMapp_Mnt_1 requires WMapp_Vol_1

        WMapp_Vol_1 requires WMapp_dg

        WMapp_dg requires WM-nic

 

 

        // resource dependency tree

        //

        //      group p-wmb

        //      {

        //      Application Broker

        //          {

        //          IP WM_ip

        //              {

        //              Mount WMapp_Mnt_1

        //                  {

        //                  Volume WMapp_Vol_1

        //                      {

        //                      DiskGroup WMapp_dg

        //                          {

        //                          NIC WM-nic

        //                          }

        //                      }

        //                  }

        //              }

        //          }

        //      }

 

 

 

 

MONITOR OUTPUT:

 

[r...@p-wmb-sv1 gencluster]# ./monitor

+ SCRIPT=./monitor

+ DIR=/opt/app/webMethods71/gencluster/

+ cd /opt/app/webMethods71/gencluster/

+ pwd

+ WMENT_CLUSTER_DIR=/opt/app/webMethods71/gencluster

+ . /opt/app/webMethods71/gencluster/wment-defs.ksh

+ ADDITIONAL_PATH=/usr/bin:.:/opt/app/webMethods71/gencluster:.

+ LOG_FILE=./wmbkr_cluster.log

+ export WMENT_LOGICAL_HOST=p-wmb-sv1

+ export WMENT_AWBROKER_SCRIPT=/opt/app/webMethods71/Broker/aw_broker71

+ export WMENT_HOME=/opt/app/webMethods71/Broker

+ export WMENT_CONFIG=

+ export BROKERMON_PORTNO=6850

+ export BROKER_HOSTNAME=p-wmb-sv1

+ export BROKER_PORTNO=6849

+ export BROKER_NAME=

+ PROBE_INDEFINITELY=NO

+ export PROBE_MAX_RETRY=5

+ export PROBE_INTERVAL_SECS=60

+ export START_PROBE_MAX_RETRY=5

+ export START_PROBE_INTERVAL_SECS=60

+ export SSL_CERTFILE=

+ export SSL_PASSWORD=

+ export SSL_TRUSTFILE=

+ export SSL_NOENCRYPT=

+ BROKER_PING=/opt/app/webMethods71/Broker/bin/broker_ping

+ BROKER_START=/opt/app/webMethods71/Broker/bin/broker_start

+ BROKER_STOP=/opt/app/webMethods71/Broker/bin/broker_stop

+ BROKER_SERVER=p-wmb-sv1:6849

+ [ -n  ]

+ BROKERPING_ARGS=p-wmb-sv1:6849

+ BROKER_NAME=one or more brokers

+ [ -n  ]

+ [ -n  ]

+ [ -n  ]

+ [ -n  ]

+ BROKERSTART_ARGS=-monitor_port 6850

+ BROKERSTOP_ARGS=-monitor_port 6850

+ export
PATH=/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin
:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin:/usr/bin:.:/opt/
app/webMethods71/gencluster:.:/opt/app/webMethods71/Broker/bin:.

+ export WMBKR_BROKER_PING=/opt/app/webMethods71/Broker/bin/broker_ping

+ max_retries=5

+ [ -z 5 ]

+ [ 5 -le 0 ]

+ :

+ /opt/app/webMethods71/Broker/bin/broker_ping p-wmb-sv1:6849

+ > /dev/null

+ 2>&1

+ rc=0

+ [ 0 -eq 115 ]

+ [ 0 -eq 0 ]

+ date +%b %e %T

+ echo Jan  9 10:11:18 Probe for resource Broker successful

+ >> ./wmbkr_cluster.log

+ [ NO = YES ]

+ exit 0

 

 

<><><><><><><><><><><><><><><><> 

Jeff Jones

 

Anyone can hold the helm when the sea is calm

-Publilius Syrus

 

_______________________________________________
Veritas-ha maillist  -  Veritas-ha@mailman.eng.auburn.edu
http://mailman.eng.auburn.edu/mailman/listinfo/veritas-ha

Reply via email to