Managing Serviceguard Eighteenth Edition, September 2010
Appendix D (page 447) provides instructions for upgrading Serviceguard without
halting the cluster. Make sure you read the entire Appendix, and the corresponding
section in the Release Notes, before you begin.
Where Serviceguard Files Are Kept
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
SGRUN=/var/adm/cmcluster
SGAUTOSTART=/etc/rc.config.d/cmcluster
SGFFLOC=/opt/cmcluster/cmff
CMSNMPD_LOG_FILE=/var/adm/SGsnmpsuba.log
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/, then the complete pathname for file $SGCONF/cmclconfig is
/etc/cmcluster/cmclconfig.
NOTE: Do not edit the /etc/cmcluster.conf configuration file.
Creating Cluster-wide Device Special Files (cDSFs)
Cluster-wide device special files (cDSFs) are persistent device special files applied
across a set of nodes. That is, they ensure that the same piece of storage has the same
devicefile name on all of the nodes that share it; no matter how many paths there are
to the device, the same cluster DSF is used to address it. If the device is moved, the
same cDSF still addresses it.
For an overview, see “About Cluster-wide Device Special Files (cDSFs)” (page 135). For
more information about persistent device special files, see “About Device File Names
(Device Special Files)” (page 106).
206 Building an HA Cluster Configuration