Managing HP Serviceguard for Linux, Sixth Edition, August 2006

Building an HA Cluster Configuration
Managing the Running Cluster
Chapter 5 175
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.
To enable automatic cluster start, set the flag AUTOSTART_CMCLD to 1 in
the $SGAUTOSTART file ($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
# 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. If set to 1, the node will
# attempt to join/form its CM cluster automatically as described
# above. If set to 0, the node will not attempt to join its CM
# cluster.
AUTOSTART_CMCLD=1