Managing HP Serviceguard for Linux, Seventh Edition, July 2007

Building an HA Cluster Configuration
Managing the Running Cluster
Chapter 5 185
Managing the Running Cluster
This section describes some approaches to routine management of the
cluster. Additional tools and suggestions are found in Chapter 7, “Cluster
and Package Maintenance,” on page 229. You can manage the cluster
from Serviceguard Manager, or by means of Serviceguard commands as
described below.
Checking Cluster Operation with Serviceguard
Commands
cmviewcl checks status of the cluster and many of its components. A
non-root user with the role of Monitor can run this command from a
cluster node or see status information in Serviceguard Manager.
cmrunnode is used to start a node. A non-root user with the role of
Full Admin, can run this command from a cluster node or through
Serviceguard Manager.
cmhaltnode is used to manually stop a running node. (This
command is also used by shutdown(1m).) A non-root with the role of
Full Admin can run this command from a cluster node or through
Serviceguard Manager.
cmruncl is used to manually start a stopped cluster. A non-root user
with Full Admin access can run this command from a cluster node, or
through Serviceguard Manager.
cmhaltcl is used to manually stop a cluster. A non-root user with
Full Admin access, can run this command from a cluster node or
through Serviceguard Manager.
You can use these commands to test cluster operation, as in the
following:
1. If the cluster is not already running, start it:
cmruncl -v.
By default, cmruncl will check the networks. Serviceguard will probe
the actual network configuration with the network information in
the cluster configuration. If you do not need this validation, use
cmruncl -v -w none instead, to turn off validation and save time