Managing HP Serviceguard for Linux, Seventh Edition, July 2007

Building an HA Cluster Configuration
Preparing Your Systems
Chapter 5 141
file. For example, if SGCONF is /usr/local/cmcluster/conf, then the
complete pathname for file $SGCONF/cmclconfig would be
/usr/local/cmcluster/conf/cmclconfig.
Enabling Serviceguard Command Access
To allow the creation of a Serviceguard configuration, you should
complete the following steps on all cluster nodes before running any
Serviceguard commands:
1. Make sure the root user’s path includes the Serviceguard
executables. This can be done by adding the following environment
variable definition to the root user’s profile for Red Hat:
PATH=$PATH:/usr/local/cmcluster/bin
For SUSE:
PATH=$PATH:/opt/cmcluster/bin
2. Edit the /etc/man.config file to include the following line for Red
Hat:
MANPATH /usr/local/cmcluster/doc/man
For SUSE:
MANPATH /opt/cmcluster/doc/man
This will allow use of the Serviceguard man pages.
3. Enable use of Serviceguard variables.
If the Serviceguard variables are not defined on your system, then
include the file /etc/cmcluster.conf in your login profile for user
root:
. /etc/cmcluster.conf
You can confirm the access to the one of the variables as follows:
cd $SGCONF