Managing HP Serviceguard A.12.00.00 for Linux, June 2014
4.9.10.8.1 Load Balancing
When capacity and weights are configured in a cluster, the packages can either start or failover
in one of the following ways:
• To the node that has the least used capacity, if the node capacity is INFINITE.
• To the node that has the highest capacity remaining, if the node capacity is finite.
4.9.10.8.2 Parameters
LOAD_BALANCING
You can set the LOAD_BALANCING parameter ON or OFF in the cluster configuration file. If you
enable LOAD_BALANCING parameter, load sensitive fail over takes place. By default, the
LOAD_BALANCING parameter is set to OFF.
4.9.10.8.3 Keyword
You can specify the following keyword for CAPACITY_VALUE in the cluster configuration file:
INFINITE
Sets the CAPACITY_VALUE to INFINITE for a node. This means that the node is eligible to run a
package with respect to weight constrains.
NOTE: This value helps you ensure a configuration, that is, when some nodes fail, all the
workloads are balanced and placed on the remaining nodes without bringing any of the nodes
down.
4.9.10.8.4 Limitations
• Capacity must be set to either INFINTE or a finite value for all the nodes in the cluster.
NOTE: When the LOAD_BALANCING parameter is set to ON in the cluster:
◦ You can define only ONE capacity per node.
◦ You cannot have a combination of finite and INFINITE values.
• All nodes in the cluster must be configured with only one capacity, and packages can be
configured with the corresponding weight when the LOAD_BALANCING parameter is set to
ON.
• The failover policy for a package must always be CONFIGURED_NODE. Other failover policies
are not allowed when the LOAD_BALANCING parameter is set to ON.
• This feature is enabled only when all the nodes in the cluster have the same patch installed
or higher versions. The patch id is PHSS_43620.
• When the LOAD_BALANCING parameter is set to ON, it does not support the reserved
CAPACITY_NAME package_limit.
4.9.10.8.5 Recommendation
• If the LOAD_BALANCING parameter is ON, HP recommends that packages must set their
weight_value other than the default value of zero.
4.9.10.8.6 Using Load Sensitive Package Placement
Cluster configuration file
In the cluster configuration file:
126 Planning and Documenting an HA Cluster