Forum Discussion

YOP's avatar
YOP
Level 3
13 years ago

Veritas cluster query on windows

Hello,

I am fresh with Veritas cluster and need to find a way to query a machine and find out whether it is active in the cluster.

Is it by SNMP? some CLI command?

Would appreciate a specific solution...

 

Thanks in advance

 

Yaniv

  • Yaniv,

    The easiest way to determine if a host is active in a cluster is to run the following command:

    #> hasys -state

    That being said, this will only tell you whether the HAD service is running and what nodes are "seeded."  If you are more interested in the status of service groups, you will want to run the follwing command:

    #> hastatus -sum

    or

    #> hastatus

    These commands are platform agnostic.

    Hope this helps,

    Joe D