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

Cluster and Package Maintenance
Reconfiguring a Package
Chapter 7312
distributing the configuration with HP-UX commands. For example, to
use HP-UX commands to verify the configuration of newly created pkg1
on a running cluster:
# cmcheckconf -P /etc/cmcluster/pkg1/pkg1conf.ascii
Use an HP-UX command like 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.
Deleting a Package from a Running Cluster
In Serviceguard Manager, first halt the package. Then, select the cluster.
From the Actions menu, choose Configuring Serviceguard -> Delete
Package.
On the Serviceguard command line, you can delete a package from all
cluster nodes by using the cmdeleteconf command. The command can
only be executed when the package is not running; the cluster may be up.
The command removes the package information from the binary
configuration file on all the nodes in the cluster.
The following example halts package mypkg and removes the package
configuration from the cluster:
# cmhaltpkg mypkg
# cmdeleteconf -p mypkg
The command prompts for a verification before deleting the files unless
you use the -f option. The directory /etc/cmcluster/mypkg is not
deleted by this command.
Resetting the Service Restart Counter
The service restart counter is the number of times a package service has
been automatically restarted. This value is used to determine when the
package service has exceeded its maximum number of allowable
automatic restarts.