Managing Serviceguard 12th Edition, March 2006
Cluster and Package Maintenance
Managing Packages and Services
Chapter 7 339
Changing the Switching Behavior of Failover
Packages
There are two types of switching flags:
• package switching is enabled (YES) or disabled (NO) for the package.
• node switching is enabled (YES) or disabled (NO) on individual
nodes.
For failover packages, if package switching is NO the package cannot
move to any other node. If node switching is NO, the package cannot
move to that particular node.
For multi-node packages, if package switching is NO, the package cannot
start on a new node joining the cluster. If node switching is NO, the
package cannot start on that node.
Both node switching and package switching can be changed dynamically
while the cluster is running.
The initial setting for package switching is determined by the AUTO_RUN
parameter, which is set in the package configuration file. If AUTO_RUN is
set to YES, then package switching is enabled initially when the package
first starts in the cluster.
The initial setting for node switching is to allow switching to all nodes
that are configured to run the package.
Changing Package Switching with Serviceguard Manager
To change package switching or node switching in Serviceguard
Manager, select the package on the tree or map. Either right-click it or
go to the toolbar Actions menu. Click on the radio button to change
between enabled or disabled. You can set node switching node by node
Note that if the package is currently running on a node, and you disable
switching of the package to that node, the package continues running,
but it will not be able to switch back to the node at a later time.
To change the AUTO-RUN parameter, you need to reconfigure the
package. This is only available for Serviceguard A.11.16 or later. Select
the package, then choose Configuring from the Actions menu (on toolbar
or right-click menu). As on the command line, you need root permission
on the cluster to create or modify configuration.