Managing Serviceguard Eighteenth Edition, September 2010

Automatic Rotating Standby
Using the min_package_node failover policy, it is possible to configure a cluster that
lets you use one node as an automatic rotating standby node for the cluster. Consider
the following package configuration for a four node cluster. Note that all packages can
run on all nodes and have the same node_name lists. Although the example shows
the node names in a different order for each package, this is not required.
Table 3-1 Package Configuration Data
FAILOVER_POLICYNODE_NAME ListPackage Name
MIN_PACKAGE_NODE
node1, node2, node3,
node4
pkgA
MIN_PACKAGE_NODE
node2, node3, node4,
node1
pkgB
MIN_PACKAGE_NODE
node3, node4, node1,
node2
pkgC
When the cluster starts, each package starts as shown in Figure 3-7.
Figure 3-7 Rotating Standby Configuration before Failover
If a failure occurs, any package would fail over to the node containing fewest running
packages, as in Figure 3-8, which shows a failure on node 2:
How the Package Manager Works 73