Symantec logo

Verify the status of nodes and service groups

Start by issuing the following commands from one of the nodes to remain, node A or node B.

 To verify the status of the nodes and the service groups

  1. Make a backup copy of the current configuration file, main.cf.

    # cp -p /etc/VRTSvcs/conf/config/main.cf \

    /etc/VRTSvcs/conf/config/main.cf.goodcopy

  2. Check the status of the systems and the service groups.

    # hastatus -summary

    -- SYSTEM STATE

    -- System State Frozen

    A A RUNNING 0

    A B RUNNING 0

    A C RUNNING 0

    -- GROUP STATE

    -- Group System Probed AutoDisabled State

    B grp1 A Y N ONLINE

    B grp1 B Y N OFFLINE

    B grp2 A Y N ONLINE

    B grp3 B Y N OFFLINE

    B grp3 C Y N ONLINE

    B grp4 C Y N ONLINE

    The example output from the hastatus command shows that nodes A, B, and C are the nodes in the cluster. Also, service group grp3 is configured to run on node B and node C, the leaving node. Service group grp4 runs only on node C. Service groups grp1 and grp2 do not run on node C.