Managing HP Serviceguard for Linux, Sixth Edition, August 2006

Cluster and Package Maintenance
Managing Packages and Services
Chapter 7 253
Moving a Package
You can use Serviceguard Manager or HP Serviceguard commands to
move a package from one node to another.
Using Serviceguard Manager to Move a Package
Select the icon of the package you wish to halt, and right-click to display
the action list. Select “Move package to node.The package must be
running.
You will see a list of possible destinations. Click on the node where you
want the package to run.
The progress window shows messages as the action takes place. This will
include a message for halting the package and another for starting it on
the destination node.
Using HP Serviceguard Commands to Move a Running Package
Before you move the package, halt it on its original node using the
cmhaltpkg command. This action not only halts the package, but also
disables switching the package back to the node on which it halts.
After you have moved the package you must restart it and enable
switching. You can do this by issuing the cmrunpkg command followed by
cmmodpkg -e
package_name
. cmmodpkg can be used with the -n option
to enable a package to run on a node if the package has been disabled
from running on that node due to some sort of error. If no node is
specified, the node the command is run on is the implied node.
Example:
# cmhaltpkg pkg1
# cmrunpkg -n ftsys10 pkg1
# cmmodpkg -e pkg1