Verifying the status of nodes and service groups

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

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  galaxy      RUNNING        0
        A  nebula      RUNNING        0
        A  saturn      RUNNING        0
    
        -- GROUP STATE
        -- Group    System      Probed   AutoDisabled   State
        B  grp1     galaxy      Y        N              ONLINE
        B  grp1     nebula      Y        N              OFFLINE
        B  grp2     galaxy      Y        N              ONLINE
        B  grp3     nebula      Y        N              OFFLINE
        B  grp3     saturn      Y        N              ONLINE
        B  grp4     saturn      Y        N              ONLINE

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