Managing Serviceguard 12th Edition, March 2006

Cluster and Package Maintenance
Managing Packages and Services
Chapter 7340
Changing Package Switching with Serviceguard Commands
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
disable its ability to start up on another node, enter the following:
# cmmodpkg -d pkg1
This does not halt the package, but it will prevent the package from
starting up elsewhere.
You can also disable package switching to particular nodes by using the
-n option of the cmmodpkg command. The following disables the ability
of pkg1 to switch 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, you
must change the AUTO_RUN flag in the package configuration file, then
re-apply the configuration. (Any change made this way will take effect
the next time the cluster is restarted.)
See the next section “Reconfiguring a Package on a Running Cluster” for
more conditions about reconfiguration.