Managing Serviceguard 13th Edition, February 2007

Configuring Packages and Their Services
Distributing the Configuration
Chapter 6 293
Distributing the Configuration
You can use Serviceguard Manager or HP-UX commands to distribute
the binary cluster configuration file among the nodes of the cluster.
DSAU (Distributed Systems Administration Utilities) can help you
streamline your distribution, as explained under “What are the
Distributed Systems Administration Utilities?” on page 32. For more
information on DSAU, see the Distributed Systems Administration
Utilities User’s Guide posted at http://docs.hp.com.
Distributing the Configuration And Control Script
with Serviceguard Manager
When you have finished creating a package in Serviceguard Manager,
click Apply Configuration. If the package control script has no errors,
it is converted to a binary file and distributed to the cluster nodes.
Copying Package Control Scripts with HP-UX
commands
Use HP-UX commands to copy package control scripts from the
configuration node to the same pathname on all nodes which can possibly
run the package. Use your favorite method of file transfer (e. g., rcp or
ftp). For example, from ftsys9, you can issue the rcp command to copy
the package control script to ftsys10:
# rcp /etc/cmcluster/pkg1/control.sh
ftsys10:/etc/cmcluster/pkg1/control.sh
Distributing the Binary Cluster Configuration File
with HP-UX Commands
Use the following steps from the node on which the ASCII cluster and
package configuration files exist:
Verify that the configuration file is correct. Use the following
command:
# cmcheckconf -C /etc/cmcluster/cmcl.config -P \
/etc/cmcluster/pkg1/pkg1.config