Managing Serviceguard 14th Edition, June 2007

Cluster and Package Maintenance
Reconfiguring a Package
Chapter 7 379
cmmodpkg -R -s myservice pkg1
The current value of the restart counter may be seen in the output of the
cmviewcl -v command.
Allowable Package States During Reconfiguration
In many cases, you can make changes to a package’s configuration while
the package is running. The table that follows shows exceptions - cases in
which the package must not be running, or in which the results might
not be what you expect.
Parameters not listed in the table can be changed while the package is
running.
In all cases the cluster can be running, and packages other than the one
being reconfigured can be running. (And remember too that you can
make changes to package configuration files at any time; but do not
apply them (using cmapplyconf or Serviceguard Manager) to a running
package in the cases indicated by Table 7-2.)
NOTE All the nodes in the cluster must be powered up and accessible when you
make package configuration changes.
Table 7-2 Types of Changes to Packages
Change to the
Package Required Package State
Add a new
package
Other packages can be in any state.
Delete a package Package must not be running. You cannot delete a
package if another package has a dependency on
it.
Add a module
(modular
package)
Package must not be running.
Delete a module
(modular
package)
Package must not be running.