Managing Serviceguard 13th Edition, February 2007

Cluster and Package Maintenance
Reconfiguring a Package
Chapter 7334
# 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.
Reconfiguring a Package on a Halted Cluster
You can also make permanent changes in package configuration while
the cluster is not running. Use the same steps as in “Reconfiguring a
Package on a Running Cluster” on page 333.
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 in the chapter “Configuring
Packages and Their Services” on page 257. If you are using the
Serviceguard command line, however, do not specify the cluster ASCII
file when verifying and distributing the configuration with HP-UX
commands. For example, to use Serviceguard commands to verify the
configuration of newly created pkg1 on a running cluster:
# cmcheckconf -P /etc/cmcluster/pkg1/pkg1conf.ascii
Use a command such as the following to distribute the new package
configuration to all nodes in the cluster:
# cmapplyconf -P /etc/cmcluster/pkg1/pkg1conf.ascii
Remember to copy the control script to the /etc/cmcluster/pkg1
directory on all nodes that can run the package.
To create the CFS disk group or mount point multi-node packages on
systems that support CFS, see “Creating the Disk Group Cluster
Packages” on page 235 and “Create a Filesystem and Mount Point
Package” on page 236.