Managing Serviceguard Sixteenth Edition, March 2009

Appendix D (page 407) 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.
Learning 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.conf.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 roots .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.
Configuring Root-Level Access
The subsections that follow explain how to set up HP-UX root access between the nodes
in the prospective cluster. (When you proceed to configuring the cluster, you will define
various levels of non-root access as well; see “Controlling Access to the Cluster
(page 224).)
194 Building an HA Cluster Configuration