
For more information on configuring constraints and detailed background information
about the basic concepts of ordering and collocation, refer to the following documents
available at
http://clusterlabs.org/wiki/Documentation
:
• Configuration 1.0 Explained , chapter Resource Constraints
• Collocation Explained
• Ordering Explained
4.5 Specifying Resource Failover
Nodes
A resource will be automatically restarted if it fails. If that cannot be achieved on the
current node, or it fails N times on the current node, it will try to fail over to another
node. You can define a number of failures for resources (a
migration-threshold
),
after which they will migrate to a new node. If you have more than two nodes in your
cluster, the node a particular resource fails over to is chosen by the High Availability
software.
If you want to choose which node a resource will fail over to, you must do the following:
1
Configure a location constraint for that resource as described in Procedure 4.4,
“Adding or Modifying Locational Constraints” (page 39).
2
Add the
migration-threshold
meta attribute to that resource as described
in Procedure 4.2, “Adding or Modifying Meta and Instance Attributes” (page 36)
and enter a Value for the migration-threshold. The value should be positive and
less that INFINITY.
3
If you want to automatically expire the failcount for a resource, add the
failure-timeout
meta attribute to that resource as described in Proce-
dure 4.2, “Adding or Modifying Meta and Instance Attributes” (page 36) and
enter a Value for the failure-timeout.
4
If you want to specify additional failover nodes with preferences for a resource,
create additional location constraints.
Configuring Cluster Resources with the GUI
43
Содержание 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: ......