Managing HP Serviceguard for Linux, Eighth Edition, March 2008

Cluster and Package Maintenance
Managing Packages and Services
Chapter 7 263
You can use Serviceguard Manager to change package switching
behavior, or Serviceguard commands as shown below.
You can change package switching behavior either temporarily or
permanently using Serviceguard commands.
To temporarily disable switching to other nodes for a running package,
use the cmmodpkg command. For example, if pkg1 is currently running,
and you want to prevent it from starting up on another node, enter the
following:
cmmodpkg -d pkg1
This does not halt the package, but will prevent it from starting up
elsewhere.
You can disable package switching to particular nodes by using the -n
option of the cmmodpkg command. The following prevents pkg1 from
switching to node lptest3:
cmmodpkg -d -n lptest3 pkg1
To permanently disable switching so that the next time the cluster
restarts, the change you made in package switching is still in effect,
change the auto_run flag in the package configuration file, then re-apply
the configuration. (See “Reconfiguring a Package on a Running Cluster”
on page 290.)