Managing Systems and Workgroups: A Guide for HP-UX System Administrators
Configuring a System
Using Distributed Systems Administration Utilities
Chapter 3 173
• Configure and start cfservd
1. Configure the cfservd daemon to start at system startup. Edit
/etc/rc.config.d/cfservd and change the line
CSYNC_CONFIGURED=0 to CSYNC_CONFIGURED=1.
2. Propagate this change cluster-wide:
# ccp /etc/rc.config.d/cfservd /etc/rc.config.d/cfservd
3. On the master server, start cfservd:
# /sbin/init.d/cfservd start
4. Repeat for the remaining cluster members. If you have
configured for cluster for use with the DSAU command fanout
tools, use the following command to start the daemons
cluster-wide:
# cexec /sbin/init.d/cfservd start
• Create the csync Package
To create the configuration synchronization package, modify the
default package template files as appropriate for your Serviceguard
environment. Note that it is required that the package be called
csync. Failure to do so will cause the Serviceguard automated
operations to fail. For more information, refer to the section
“Serviceguard Automation Features” on page 160 .
Start by making the changes described below.
1. Create the package directory cluster-wide:
# cexec mkdir /etc/cmcluster/csync
2. Copy the template package ASCII file and package control script
to the /etc/cmcluster/cysnc directory on the current member:
# cd /etc/cmcluster/csync
# cp /opt/dsau/share/serviceguard/templates/csync.conf.template csync.conf
# cp /dsau/share/serviceguard/templates/csync.script.template csync
# chmod +x csync
3. Edit the csync.conf package ASCII configuration file to replace
the placeholder tokens with the appropriate values. The tokens
are in the form
<%token name%>
. Find the line “SUBNET
<%SG_PKG_SUBNET%>” and replace the token with the subnet for
the csync package. Use netstat -i to help identify the subnet.