Managing Serviceguard 12th Edition, March 2006
Configuring Packages and Their Services
Distributing the Configuration
Chapter 6 305
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 distributation.
Distributing the Configuration And Control Script
with Serviceguard Manager
When you have finished creating a package in Serviceguard Manager,
click the Apply button. The binary configuration file will be created and
automatically distributed to the cluster nodes. The control script will
also be distributed. If you chose the Guided Method, Serviceguard
Manager will create the control script will be created; if you edit the
control script yourself, it will take your last saved version.
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