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

Cluster and Package Maintenance
Managing Packages and Services
Chapter 7298
Using Serviceguard Commands to Start a Package
Use the cmrunpkg command to run the package on a particular node,
then use the cmmodpkg command to enable switching for the package.
Example:
# cmrunpkg -n ftsys9 pkg1
# cmmodpkg -e pkg1
This starts up the package on ftsys9, then enables package switching.
This sequence is necessary when a package has previously been halted
on some node, since halting the package disables switching.
Halting a Package
You halt a Serviceguard package when you wish to bring the package out
of use but wish the node to continue in operation. You can halt a package
using Serviceguard Manager or on the Serviceguard command line.
Halting a package has a different effect than 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.
Using Serviceguard Manager to Halt a Package
Select the package you wish to halt, and right-click to display the action
list. Select “Halt package <pkgname>.” The package must be running.
The progress window shows messages as the action takes place. This will
include a message for halting the package.
Using Serviceguard Commands to Halt a Package
Use the cmhaltpkg command to halt a package, as follows:
# cmhaltpkg pkg1
This halts pkg1 and disables it from switching to another node.
Moving a Package
You can use Serviceguard Manager or Serviceguard commands to move a
package from one node to another.