Managing HP Serviceguard A.12.00.00 for Linux, June 2014
Figure 28 Failover of a Package
Node 1
pkg3 (wt=10) fails over
to Node 3
pkg2 (wt=9)
Used Cap=9
Node 2
pkg1 (wt=7)
Used Cap=17
Node 3
pkg4 (wt=4)
pkg5 (wt=4)
Used Cap=8
Node 4
When the capacity and weights are configured in a cluster, the package fails over to the node
that has the least used capacity. Since the Node 3 has the least used capacity of 7, the pkg3
with weight of 10 fails over to Node 3.
7. Now, forcefully halt Node 3 using cmhaltnode –f command to test failover of pkg1 and
pkg3, which is currently running on Node 3. Figure 29 (page 129) shows the failover of pkg3
on Node 4 and pkg1 on Node 2.
Figure 29 Failover of Two Packages
Node 1
pkg 1 (wt=7)
fails over to Node 2
pkg 3 (wt=10)
fails over to Node 4
pkg2 (wt=9)
Used Cap=16
Node 2
Node 3
pkg4 (wt=4)
pkg5 (wt=4)
Used Cap=18
Node 4
When the capacity and weights are configured in a cluster, the package fails over to the node
that has the least used capacity. Since the Node 4 has the least used capacity of 8, the pkg3
with weight of 10 fails over to Node 4 and the pkg1 with weight of 7 fails over to Node 2.
4.9 Package Configuration Planning 129