Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HACMP status monitor query

Status
Not open for further replies.

richb30

MIS
Oct 10, 2001
3
GB
I need a simple script to determine which is the active node in a cluster, something that will return 1 for active node and 0 for inactive.

I've looked at the stuff in /usr/es/cluster and nothing there really does what i want. Any ideas?

In case you're wondering why, this is for automated monitoring. Depending on whether the node is active or not, the monitor will then proceed to check disk, memory, CPU etc but only on the active node.



Thanks in advance
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top