Verifying the cluster

Verify the status of the cluster using the hastatus command. This command returns the system state and the group state.

Refer to the hastatus(1M) manual page.

Refer to the Veritas Cluster Server User's Guide for a description of system states and the transitions between them.

To verify the cluster

  1. To verify the status of the cluster, type the following command:

    hastatus -summary

    The output resembles:

        -- SYSTEM STATE
        -- System              State                  Frozen
    
        A  galaxy               RUNNING                0
        A  nebula               RUNNING                0
    
        -- GROUP STATE
        -- Group           System        Probed  AutoDisabled   State
    
    
        B  ClusterService  galaxy         Y       N              ONLINE
        B  ClusterService  nebula         Y       N              OFFLINE
  2. Review the command output for the following information:

    • The system state

      If the value of the system state is RUNNING, the cluster is successfully started.

    • The ClusterService group state

      In the sample output, the group state lists the ClusterService group, which is ONLINE on galaxy and OFFLINE on nebula.