Cluster resources will automatically fail over to another node in the cluster in the event of a software or hardware failure. If you have more than two nodes in your cluster, the node a particular resource fails over to is chosen by the Heartbeat software. If you want to choose which node a resource will fail over to, you must configure a location constraint for that resource.
Start the HA Management Client and log in to the cluster as described in Section 4.1, “Graphical HA Management Client”.
Select the desired resource or group, select +, or click the button.
Choose as the resource item type, then click .
Specify the of the resource constraint. The resource name for the resource you selected should already be displayed in the field.
Click to add the constraint. The score will
automatically be set to 0 by default to avoid unwanted
effects caused by an incomplete rule.
Score indicates the value you are assigning to this resource constraint. Constraints with higher scores are applied before those with lower scores. By creating additional location constraints with different scores for a given resource, you can specify an order for the nodes that a resource will fail over to.
If you need to modify the score, select the added constraint in the left pane of the main window and enter a new value in the section in the right pane.
On the left side of the page, select the resource constraint you just created and click .
Select as the , as the , and the server name of the failover node as the .
Click then click to save your changes.
Conditional: If you want to specify additional failover nodes for a resource, create additional location constraints by performing Step 1 through Step 9 for each constraint.