Using the cmviewconf Command

cmviewconf allows you to examine the binary cluster configuration file, even when the cluster is not running. The command displays the content of this file on the node where you run the command.

Reviewing the LAN Configuration

The following networking commands can be used to diagnose problems:

netstat -incan be used to examine the LAN configuration. This command lists all IP addresses assigned to each LAN interface card.

lanscan can also be used to examine the LAN configuration. This command lists the MAC addresses and status of all LAN interface cards on the node.

arp -acan be used to check the arp tables.

landiag is useful to display, diagnose, and reset LAN card information.

linkloop verifies the communication between LAN cards at MAC address levels. For example, if you enter

linkloop -i4 0x08000993AB72

you should see displayed the following message:

Link Connectivity to LAN station: 0x08000993AB72 OK

cmscancl can be used to verify that primary and standby LANs are on the same bridged net.

cmviewcl -vshows the status of primary and standby 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

Networking and security configuration errors

Cluster re-formations

System administration errors

Package control script hangs

Problems with VxVM disk groups

Package movement errors

Node and network failures

Quorum Server problems

The first two categories of problems occur with the incorrect configuration of Serviceguard. The last category contains “normal” failures to which Serviceguard is designed to react and ensure the availability of your applications.

Serviceguard Command Hangs

If you are having trouble starting Serviceguard, it is possible that someone has accidentally deleted, modified, or placed files in, the directory that is reserved for Serviceguard use only: $SGCONF/ rc, by default /etc/cmcluster/rc on an HP-UX system.

332 Troubleshooting Your Cluster

Page 332
Image 332
HP Serviceguard manual Solving Problems, Using the cmviewconf Command, Reviewing the LAN Configuration