Managing Serviceguard 11th Edition, Version A.11.16, Second Printing June 2004

Configuring Packages and Their Services
Distributing the Configuration
Chapter 6 273
Distributing the Configuration
You can use Serviceguard Manger or HP-UX commands to distribute the
binary cluster configuration file among the nodes of the cluster.
Distributing the Configuration File 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
Manger 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
Activate the cluster lock volume group so that the lock disk can be
initialized: