Managing HP Serviceguard for Linux Ninth Edition, April 2009

Using the cmquerycl and cmcheckconf Commands
In addition, cmquerycl and cmcheckconf can be used to troubleshoot your cluster
just as they were used to verify its configuration. The following example shows the
commands used to verify the existing cluster configuration on ftsys9 and ftsys10:
cmquerycl -v -C $SGCONF/verify.conf -n ftsys9 -n ftsys10
cmcheckconf -v -C $SGCONF/verify.conf
cmcheckconf checks:
The network addresses and connections.
Quorum Server connectivity, if a quorum server is configured.
Lock LUN connectivity, if a lock LUN is used.
The validity of configuration parameters of the cluster and packages for:
The uniqueness of names.
The existence and permission of scripts.
It doesn't check:
The correct setup of the power circuits.
The correctness of the package configuration script.
Reviewing the LAN Configuration
The following networking commands can be used to diagnose problems:
ifconfig can be used to examine the LAN configuration. This command lists all
IP addresses assigned to each LAN interface card.
arp -a can be used to check the arp tables.
cmscancl can be used to test IP-level connectivity between network interfaces in
the cluster.
cmviewcl -v shows the status of primary LANs.
Use these commands on all nodes.
Solving Problems
Problems with Serviceguard may be of several types. The following is a list of common
categories of problem:
Serviceguard Command Hangs.
Cluster Re-formations.
System Administration Errors.
Package Control Script Hangs.
Package Movement Errors.
Node and Network Failures.
Quorum Server Messages.
Solving Problems 281