Managing HP Serviceguard for Linux Ninth Edition, April 2009

5 Building an HA Cluster Configuration
This chapter and the next take you through the configuration tasks required to set up
a Serviceguard cluster. You carry out these procedures on one node, called the
configuration node, and Serviceguard distributes the resulting binary file to all the
nodes in the cluster. In the examples in this chapter, the configuration node is named
ftsys9, and the sample target node is called ftsys10.
This chapter covers the following major topics:
Preparing Your Systems
Configuring the Cluster (page 171)
Managing the Running Cluster (page 184)
Configuring packages is described in the next chapter.
Use the Serviceguard manpages for each command to obtain full information about
syntax and usage.
Preparing Your Systems
Before configuring your cluster, ensure that Serviceguard is installed on all cluster
nodes, and that all nodes have the appropriate security files, kernel configuration and
NTP (network time protocol) configuration.
Installing and Updating Serviceguard
For information about installing and updating Serviceguard, see the Release Notes for
your version athttp://docs.hp.com -> High Availability ->
Serviceguard for Linux -> Release Notes.
Understanding the Location of Serviceguard Files
Serviceguard uses a special file, /etc/cmcluster.conf, to define the locations for
configuration and log files within the Linux file system. The different distributions
may use different locations. The following are example locations for a Red Hat
distribution:
############################## cmcluster.conf ###########################
#
# Highly Available Cluster file locations
#
# This file must not be edited
#########################################################################
SGROOT=/usr/local/cmcluster # SG root directory
SGCONF=/usr/local/cmcluster/conf # configuration files
SGSBIN=/usr/local/cmcluster/bin # binaries
SGLBIN=/usr/local/cmcluster/bin # binaries
SGLIB=/usr/local/cmcluster/lib # libraries
SGRUN=/usr/local/cmcluster/run # location of core dumps from daemons
SGAUTOSTART=/usr/local/cmcluster/conf/cmcluster.rc # SG Autostart file
Preparing Your Systems 147