Managing HP Serviceguard for Linux, Eighth Edition, March 2008

Cluster and Package Maintenance
Managing Packages and Services
Chapter 7 261
Starting a Package that Has Dependencies
Before starting a package, it is a good idea to use the cmviewcl command
to check for package dependencies.
You cannot start a package unless all the packages that it depends on are
running. If you try, you’ll see a Serviceguard message telling you why the
operation failed, and the package will not start.
If this happens, you can repeat the run command, this time including the
package(s) this package depends on; Serviceguard will start all the
packages in the correct order.
Halting a Package
You halt a package when you want to stop the package but leave the node
running.
Halting a package has a different effect from halting the node. When you
halt the node, its packages may switch to adoptive nodes (assuming that
switching is enabled for them); when you halt the package, it is disabled
from switching to another node, and must be restarted manually on
another node or on the same node.
System multi-node packages run on all cluster nodes simultaneously;
halting these packages stops them running on all nodes. A multi-node
package can run on several nodes simultaneously; you can halt it on all
the nodes it is running on, or you can specify individual nodes.
You can use Serviceguard Manager to halt a package, or cmhaltpkg; for
example:
cmhaltpkg pkg1
This halts pkg1 and disables it from switching to another node.
Halting a Package that Has Dependencies
Before halting a package, it is a good idea to use the cmviewcl command
to check for package dependencies.
You cannot halt a package unless all the packages that depend on it are
down. If you try, you’ll see a Serviceguard message telling you why the
operation failed, and the package will remain up.