Managing Serviceguard 12th Edition, March 2006

Building an HA Cluster Configuration
Preparing Your Systems
Chapter 5 189
Preparing Your Systems
Before configuring your cluster, ensure that all cluster nodes possess the
appropriate security files, kernel configuration, and NTP (network time
protocol) configuration.
Understanding Where Files Are Located
Serviceguard uses a special file, /etc/cmcluster.conf, to define the
locations for configuration and log files within the HP-UX filesystem.
The following locations are defined in the file:
###################### cmcluster.conf########################
#
# Highly Available Cluster file locations
#
# This file must not be edited
#############################################################
SGCONF=/etc/cmcluster
SGSBIN=/usr/sbin
SGLBIN=/usr/lbin
SGLIB=/usr/lib
SGCMOM=/opt/cmom
SGRUN=/var/adm/cmcluster
SGAUTOSTART=/etc/rc.config.d/cmcluster
SGCMOMLOG=/var/adm/syslog/cmom
NOTE If these variables are not defined on your system, then source the file
/etc/cmcluster.conf in your login profile for user root. For example,
you can add this line to root's .profile file:
. /etc/cmcluster.conf
Throughout this book, system filenames are usually given with one of
these location prefixes. Thus, references to $SGCONF/<FileName> can be
resolved by supplying the definition of the prefix that is found in this file.
For example, if SGCONF is defined as /etc/cmcluster/conf, then the
complete pathname for file $SGCONF/cmclconfig would be
/etc/cmcluster/conf/cmclconfig.