Managing HP Serviceguard for Linux, Tenth Edition, September 2012

Start the node. You can use Serviceguard Manager or the cmrunnode
command.
Verify that the node has returned to operation. You can use Serviceguard
Manager or the cmviewcl command again.
4. Bring down the cluster. You can use Serviceguard Manager or the cmhaltcl -v
-f command.
See the manpages for more information about these commands. See Chapter 8:
“Troubleshooting Your Cluster” (page 289) for more information about cluster testing.
Setting up Autostart Features
Automatic startup is the process in which each node individually joins a cluster;
Serviceguard provides a startup script to control the startup process. If a cluster already
exists, the node attempts to join it; if no cluster is running, the node attempts to form a
cluster consisting of all configured nodes. Automatic cluster start is the preferred way to
start a cluster. No action is required by the system administrator.
There are three cases:
The cluster is not running on any node, all cluster nodes must be reachable, and all
must be attempting to start up. In this case, the node attempts to form a cluster
consisting of all configured nodes.
The cluster is already running on at least one node. In this case, the node attempts
to join that cluster.
Neither is true: the cluster is not running on any node, and not all the nodes are
reachable and trying to start. In this case, the node will attempt to start for the
AUTO_START_TIMEOUT period. If neither of these things becomes true in that time,
startup will fail.
To enable automatic cluster start, set the flag AUTOSTART_CMCLD to 1 in the
$SGAUTOSTARTfile ($SGCONF/cmcluster.rc) on each node in the cluster; the nodes
will then join the cluster at boot time.
Here is an example of the $SGAUTOSTART file:
SGAUTOSTART=/usr/local/cmcluster/conf/cmcluster.rc
#*************************** CMCLUSTER *************************
# Highly Available Cluster configuration
#
# @(#) $Revision: 82.2 $
#
#
# AUTOSTART_CMCLD
#
# Automatic startup is the process in which each node individually
# joins a cluster. If a cluster already exists, the node attempts
# to join it; if no cluster is running, the node attempts to form
Managing the Running Cluster 195