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

Cluster and Package Maintenance
Managing Packages and Services
Chapter 7 299
Using Serviceguard Manager to Move a Package
The package must be running to start the operation. You can select the
package on the map or tree and drag it with your mouse to another
cluster node.
Or, select the icon of the package you wish to halt, and right-click to
display the action list. Select “Move package to node.” Or, select the
package and go to the toolbar menu and choose Actions ->
Administering.
The Operation Log 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.
After moving, you may want to change the switching flags. You can do
this from the Actions menu, or the right-click popup menu.
Using 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. 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
Changing Package Switching Behavior
There are two types of switching flags that apply to packages:
package switching, or the ability to move from one node to another
node switching, or the ability to move to a specific node
The initial setting for package switching is determined by the AUTO_RUN
parameter, which is set in the package ASCII configuration file. If
AUTO_RUN is set to YES, then Package Switching is enabled initially when