You didn't say whether you have access to NetView or not, but if you do,=20
HACMP has its own NetView daemon called HAVIEW which monitors clusters=20
very well.
On the other hand and as a supplement to HAVIEW using NetView, you can=20
install NetView's trapgend on the cluster nodes (assuming these are AIX)=20
and make the HACMP traps "alertable" by adding an errnotify method for=20
trapgend to the ODM.
On the NetView side, you can run mibtotrap against the HACMP.my file to=20
get the following output that is added to your trapd.conf:
/usr/OV/bin/addtrap -l trapClusterState -g 6 -s 10 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Fires whenever the cluster changes state." \
-e trapClusterState \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapClusterSubState -g 6 -s 11 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Fires whenever the cluster changes substate." \
-e trapClusterSubState \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapNewPrimary -g 6 -s 15 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Fires whenever the primary node changes." \
-e trapNewPrimary \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapNodeState -g 6 -s 12 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Fires whenever a node changes state." \
-e trapNodeState \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapAddressState -g 6 -s 14 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Fires whenever a address changes state." \
-e trapAddressState \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapAdapterSwap -g 6 -s 17 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Fires whenever a address swap occurs." \
-e trapAdapterSwap \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapAddressTakeover -g 6 -s 19 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Fires whenever IP address takeover occurs." \
-e trapAddressTakeover \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapNetworkState -g 6 -s 13 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Fires whenever a network changes state." \
-e trapNetworkState \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapAppState -g 6 -s 16 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Fires whenever an application is added or deleted." \
-e trapAppState \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapRGAdd -g 6 -s 20 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Fires whenever a resource group is added." \
-e trapRGAdd \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapRGDel -g 6 -s 21 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Fires whenever a resource group is deleted." \
-e trapRGDel \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapRGChange -g 6 -s 22 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Fires whenever the policy, number of nodes,
or the number of resources of a resource
group is changed." \
-e trapRGChange \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapRGState -g 6 -s 23 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Fires whenever a resource group changes
state on a particular node." \
-e trapRGState \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapSwapAdapter -g 6 -s 64 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Specified node generated swap adapter event" \
-e trapSwapAdapter \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapSwapAdapterComplete -g 6 -s 65 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Specified node generated swap adapter complete event" \
-e trapSwapAdapterComplete \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapJoinNetwork -g 6 -s 66 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Specified node has joined the network" \
-e trapJoinNetwork \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapFailNetwork -g 6 -s 67 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Specified node generated fail network event" \
-e trapFailNetwork \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapJoinNetworkComplete -g 6 -s 68 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Specified node generated join network complete event" \
-e trapJoinNetworkComplete \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapFailNetworkComplete -g 6 -s 69 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Specified node generated fail network complete event" \
-e trapFailNetworkComplete \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapJoinNode -g 6 -s 70 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Specified node generated join node event" \
-e trapJoinNode \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapFailNode -g 6 -s 71 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Specified node generated fail join node event" \
-e trapFailNode \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapJoinNodeComplete -g 6 -s 72 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Specified node generated join node complete event" \
-e trapJoinNodeComplete \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapFailNodeComplete -g 6 -s 73 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Specified node generated fail node complete event" \
-e trapFailNodeComplete \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapJoinStandby -g 6 -s 74 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Specified node generated join standby event" \
-e trapJoinStandby \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapFailStandby -g 6 -s 75 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Specified node has failed standby adapter" \
-e trapFailStandby \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapEventNewPrimary -g 6 -s 76 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Specified node has become the new primary" \
-e trapEventNewPrimary \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapClusterUnstable -g 6 -s 77 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Specified node generated cluster unstable event" \
-e trapClusterUnstable \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapClusterStable -g 6 -s 78 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Specified node generated cluster stable event" \
-e trapClusterStable \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapConfigStart -g 6 -s 79 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Configuration procedure has started for specified node" \
-e trapConfigStart \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapConfigComplete -g 6 -s 80 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Configuration procedure has completed for specified node" \
-e trapConfigComplete \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapClusterConfigTooLong -g 6 -s 81 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Specified node has been in configuration too long" \
-e trapClusterConfigTooLong \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapClusterUnstableTooLong -g 6 -s 82 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Specified node has been unstable too long" \
-e trapClusterUnstableTooLong \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapEventError -g 6 -s 83 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Specified node generated an event error" \
-e trapEventError \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapDareTopology -g 6 -s 84 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Dynamic reconfiguration event for topology has been issued" \
-e trapDareTopology \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapDareTopologyStart -g 6 -s 85 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Dynamic reconfiguration event for topology has started" \
-e trapDareTopologyStart \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapDareTopologyComplete -g 6 -s 86 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Dynamic reconfiguration event for topology has completed" \
-e trapDareTopologyComplete \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapDareResource -g 6 -s 87 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Dynamic reconfiguration event for resource has been issued" \
-e trapDareResource \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapDareResourceRelease -g 6 -s 88 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Dynamic reconfiguration event for resource has been released" \
-e trapDareResourceRelease \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapDareResourceAcquire -g 6 -s 89 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Dynamic reconfiguration event for resource has been acquired" \
-e trapDareResourceAcquire \
-F '$E $G $S $# args: $*'
/usr/OV/bin/addtrap -l trapDareResourceComplete -g 6 -s 90 \
-n risc6000clsmuxpd -i 1.3.6.1.4.1.2.3.1.2.1.5 \
-o A -c "LOGONLY" -t 0 \
-S 1 \
-D "Dynamic reconfiguration event for resource has completed" \
-e trapDareResourceComplete \
-F '$E $G $S $# args: $*'
Regards,
ken
---------------------------------------------------------------------
To unsubscribe, e-mail: nv-l-unsubscribe@lists.tivoli.com
For additional commands, e-mail: nv-l-help@lists.tivoli.com
*NOTE*
This is not an Offical Tivoli Support forum. If you need immediate
assistance from Tivoli please call the IBM Tivoli Software Group
help line at 1-800-TIVOLI8(848-6548)
|