Managing HP Serviceguard A.12.00.00 for Linux, June 2014

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 164)
Managing the Running Cluster (page 175)
Configuring packages is described in the next chapter.
Use the Serviceguard manpages for each command to obtain full information about syntax and
usage.
5.1 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.
5.1.1 Installing and Updating Serviceguard
For information about installing and updating Serviceguard, see the following Release Notes at
http://www.hp.com/go/linux-serviceguard-docs:
HP Serviceguard for Linux Base 12.00.00 Release Notes
HP Serviceguard for Linux Advanced 12.00.00 Release Notes
HP Serviceguard for Linux Enterprise 12.00.00 Release Notes
5.1.2 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
The following are example locations for a SUSE distribution:
############################## cmcluster.conf ###########################
#
# Highly Available Cluster file locations
#
# This file must not be edited
5.1 Preparing Your Systems 143