Managing HP Serviceguard for Linux, Tenth Edition, September 2012

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 179)
Managing the Running Cluster (page 194)
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
156 Building an HA Cluster Configuration