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

Cluster and Package Maintenance
Reconfiguring a Package
Chapter 7 311
Reconfiguring a Package on a Running Cluster
You can reconfigure a package while the cluster is running, and in some
cases you can reconfigure the package while the package itself is
running. Only certain changes may be made while the package is
running.
To modify the package in Serviceguard Manager, select it and then
choose Configuring Serviceguard from the Actions menu. When the
configuration window opens, choose options as described in Chapter 6.
Alternatively, with HP-UX commands, use the following procedure (pkg1
is used as an example):
1. Halt the package if necessary:
# cmhaltpkg pkg1
See Table 7-2 to determine whether this step is needed.
2. If it is not already available, you can obtain a copy of the package's
ASCII configuration file by using the cmgetconf command,
specifying the package name.
# cmgetconf -p pkg1 pkg1.ascii
3. Edit the ASCII package configuration file.
4. Verify your changes as follows:
# cmcheckconf -v -P pkg1.ascii
5. Distribute your changes to all nodes:
# cmapplyconf -v -P pkg1.ascii
6. Copy the package control script to all nodes that can run the
package.
Adding a Package to a Running Cluster
You can create a new package and add it to the cluster configuration
while the cluster is up and while other packages are running. The
number of packages you can add is subject to the value of Maximum
Configured Packages in the cluster configuration file.
To create the package, follow the steps given in the chapter “Configuring
Packages and Services.” If you are using the Serviceguard command line,
however, do not specify the cluster ASCII file when verifying and