Managing HP Serviceguard A.11.20.20 for Linux, May 2013

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 153)
Managing the Running Cluster (page 164)
Rebuilding the Deadman Driver (page 167)
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 Release Notes for your version
at http://www.hp.com/go/linux-serviceguard-docs.
Alternatively, you can use cmeasyinstall script for installing and updating Serviceguard. For
more information, see HP Serviceguard for Linux Version A.11.20 Deployment Guide at http://
www.hp.com/go/linux-serviceguard-docs.
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 135