For maximum availability or optimum performance, some combinations of services require a specific distribution of online resource groups among cluster nodes. Distributing online resource groups involves creating affinities between resource groups for the following purposes:
Enforcing the required distribution when the resource groups are first brought online
Preserving the required distribution after an attempt to fail over or switch over a resource group
This section provides the following examples of how to use resource group affinities to distribute online resource groups among cluster nodes:
Enforcing colocation of a resource group with another resource group
Specifying a preferred colocation of a resource group with another resource group
Balancing the load of a set of resource groups
Specifying that a critical service has precedence
Delegating the failover or switchover of a resource group
Combining affinities between resource groups to specify more complex behavior