Symantec logo

Verifying the cluster

To verify that the cluster is operating, type the following command:

# hastatus -summary

The output resembles:

-- SYSTEM STATE

-- System State Frozen

A north RUNNING 0

A south RUNNING 0

-- GROUP STATE

-- Group System Probed AutoDisabled State

B ClusterService north Y N ONLINE

B ClusterService south Y N OFFLINE

Note the system state. If the value is running, VCS is successfully installed and running. The group state lists the ClusterService group, which is online on north and offline on south. Refer to the hastatus(1M) manual page. In the Veritas Cluster Server User's Guide, look for a description of system states and the transitions between them.

hasys -display

On one of the nodes, use the hasys(1M) command:

# /opt/VRTSvcs/bin/hasys -display

On each node, the output should be similar. For more information on the hasys -display command, refer to the hasys(1M) manual page. Also refer to the Veritas Cluster Server User's Guide for information about administering VCS from the command-line.

The example shows the output when the hasys -display command is run on the node north; the list continues with similar information for south (not shown) and any other nodes in the cluster: