
Resource Collocation
Collocational constraints that tell the cluster which resources may or may not run
together on a node.
Resource Order
Ordering constraints to define the sequence of actions.
When defining constraints, you also need to deal with scores. Scores of all kinds are
integral to how the cluster works. Practically everything from migrating a resource to
deciding which resource to stop in a degraded cluster is achieved by manipulating scores
in some way. Scores are calculated on a per-resource basis and any node with a negative
score for a resource cannot run that resource. After calculating the scores for a resource,
the cluster then chooses the node with the highest score.
INFINITY
is currently defined
as
1,000,000
. Additions or subtractions with it follows the following 3 basic rules:
• Any value + INFINITY = INFINITY
• Any value - INFINITY = -INFINITY
• INFINITY - INFINITY = -INFINITY
When defining resource constraints, you also specify a score for each constraint. The
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.
Procedure 4.4
Adding or Modifying Locational Constraints
1
Start the Linux HA Management Client and log in to the cluster as described
in Section 4.1, “Linux HA Management Client” (page 32).
2
In the Linux HA Management Client main window, click Constraints in the
left pane to see the constraints already configured for the cluster.
3
In the left pane, select Constraints and click Add.
4
Select Resource Location and click OK.
5
Enter a unique ID for the constraint. When modifying existing constraints,
the ID is already defined and is displayed in the configuration dialog.
Configuring Cluster Resources with the GUI
39
Содержание LINUX ENTERPRISE 11 - HIGH AVAILABILITY
Страница 10: ......
Страница 11: ...Part I Installation and Setup...
Страница 12: ......
Страница 28: ......
Страница 38: ......
Страница 39: ...Part II Configuration and Administration...
Страница 40: ......
Страница 68: ......
Страница 108: ......
Страница 114: ......
Страница 115: ...Part III Storage and Data Replication...
Страница 116: ......
Страница 126: ......
Страница 140: ......
Страница 141: ...Part IV Troubleshooting and Reference...
Страница 142: ......
Страница 148: ......
Страница 166: ...See Also cibadmin 8 page 142 156 High Availability Guide...
Страница 202: ......
Страница 210: ......
Страница 231: ...OCF_RESKEY_arp_mac ARP MAC MAC address to send the ARP packets to For advanced users only HA OCF Agents 221...
Страница 246: ...OCF_RESKEY_nfs_ip IP address The floating IP address used to access the the nfs service 236 High Availability Guide...
Страница 285: ...Part V Appendix...
Страница 286: ......