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:

#System

Attribute

Value

north

AgentsStopped

0

north

AvailableCapacity

100

north

CPUBinding

BindTo None CPUNumber 0

north

CPUUsage

0

north

CPUUsageMonitoring

Enabled 0 ActionThreshold 0 
ActionTimeLimit 0 Action NONE 
NotifyThreshold 0 NotifyTimeLimit 0
 

north

Capacity

100

north

ConfigBlockCount

141

north

ConfigCheckSum

33975

north

ConfigDiskState

CURRENT

north

ConfigFile

/etc/VRTSvcs/conf/config

north

ConfigInfoCnt

0

north

ConfigModDate

Fri May 26 17:22:48 2006

north

ConnectorState

Down

north

CurrentLimits

north

DiskHbStatus

north

DynamicLoad

0

north

EngineRestarted

0

north

EngineVersion

5.0.00.0

north

Frozen

0

north

GUIIPAddr

north

LLTNodeId

0

north

LicenseType

DEMO

north

Limits

north

LinkHbStatus

lan1 UP lan2 UP

north

LoadTimeCounter

0

north

LoadTimeThreshold

600

north

LoadWarningLevel

80

north

NoAutoDisable

0

north

NodeId

0

north

OnGrpCnt

1

north

ShutdownTimeout

120

north

SourceFile

./main.cf

north

SysInfo

HP-UX:north,U,B.11.23,ia64

north

SysName

north

north

SysState

RUNNING

north

SystemLocation

north

SystemOwner

north

TFrozen

0

north

TRSE

0

north

UpDownState

Up

north

UserInt

0

north

UserStr

north

VCSFeatures

DR

north

VCSMode

VCS