3.7. Configuring a Failover Domain
A failover domain is a named subset of cluster nodes that are eligible to run a cluster service in the event of a node failure. A failover domain can have the following characteristics:
- Unrestricted — Allows you to specify that a subset of members are preferred, but that a cluster service assigned to this domain can run on any available member.
- Restricted — Allows you to restrict the members that can run a particular cluster service. If none of the members in a restricted failover domain are available, the cluster service cannot be started (either manually or by the cluster software).
- Unordered — When a cluster service is assigned to an unordered failover domain, the member on which the cluster service runs is chosen from the available failover domain members with no priority ordering.
- Ordered — Allows you to specify a preference order among the members of a failover domain. The member at the top of the list is the most preferred, followed by the second member in the list, and so on.
- Failback — Allows you to specify whether a service in the failover domain should fail back to the node that it was originally running on before that node failed. Configuring this characteristic is useful in circumstances where a node repeatedly fails and is part of an ordered failover domain. In that circumstance, if a node is the preferred node in a failover domain, it is possible for a service to fail over and fail back repeatedly between the preferred node and another node, causing severe impact on performance.
Note
The failback characteristic is applicable only if ordered failover is configured.
Note
Changing a failover domain configuration has no effect on currently running services.
Note
Failover domains are not required for operation.
By default, failover domains are unrestricted and unordered.
In a cluster with several members, using a restricted failover domain can minimize the work to set up the cluster to run a cluster service (such as
httpd
), which requires you to set up the configuration identically on all members that run the cluster service). Instead of setting up the entire cluster to run the cluster service, you must set up only the members in the restricted failover domain that you associate with the cluster service.
Note
To configure a preferred member, you can create an unrestricted failover domain comprising only one cluster member. Doing that causes a cluster service to run on that cluster member primarily (the preferred member), but allows the cluster service to fail over to any of the other members.
The following sections describe adding a failover domain and modifying a failover domain:
3.7.1. Adding a Failover Domain
To add a failover domain, follow the steps in this section. The starting point of the procedure is at the cluster-specific page that you navigate to from Choose a cluster to administer displayed on the tab.
- At the detailed menu for the cluster (below themenu), click . Clicking causes the display of failover domains with related services and the display of menu items for failover domains: and .
- Click Add a Failover Domain page.. Clicking causes the display of the
- At the Add a Failover Domain page, specify a failover domain name at the text box.
Note
The name should be descriptive enough to distinguish its purpose relative to other names used in your cluster. - To enable setting failover priority of the members in the failover domain, click thecheckbox. With checked, you can set the priority value, , for each node selected as members of the failover domain.
- To restrict failover to members in this failover domain, click the checkbox next to. With checked, services assigned to this failover domain fail over only to nodes in this failover domain.
- To specify that a node does not fail back in this failover domain, click the checkbox next to. With checked, if a service fails over from a preferred node, the service does not fail back to the original node once it has recovered.
- Configure members for this failover domain. Under, click the checkbox for each node that is to be a member of the failover domain. If is checked, set the priority in the text box for each member of the failover domain.
- Click Failover Domain Form page. That page displays the added resource and includes the failover domain in the cluster menu to the left under .. Clicking causes a progress page to be displayed followed by the display of the
- To make additional changes to the failover domain, continue modifications at the Failover Domain Form page and click when you are done.
3.7.2. Modifying a Failover Domain
To modify a failover domain, follow the steps in this section. The starting point of the procedure is at the cluster-specific page that you navigate to from Choose a cluster to administer displayed on the tab.
- At the detailed menu for the cluster (below themenu), click . Clicking causes the display of failover domains with related services and the display of menu items for failover domains: and .
- Click. Clicking causes the display of failover domains under at the detailed menu for the cluster (below the menu).
- At the detailed menu for the cluster (below the Failover Domain Form page. At the Failover Domain Form page, you can modify the failover domain name, prioritize failover, restrict failover to this domain, and modify failover domain membership.menu), click the failover domain to modify. Clicking the failover domain causes the display of the
- Modifying failover name — To change the failover domain name, modify the text at thetext box.
Note
The name should be descriptive enough to distinguish its purpose relative to other names used in your cluster. - Failover priority — To enable or disable prioritized failover in this failover domain, click the not checked, setting priority levels is disabled for this failover domain.checkbox. With checked, you can set the priority value, , for each node selected as members of the failover domain. With
- Restricted failover — To enable or disable restricted failover for members in this failover domain, click the checkbox next to not checked, services assigned to this failover domain can fail over to nodes outside this failover domain.. With checked, services assigned to this failover domain fail over only to nodes in this failover domain. With
- Failback — To enable or disable failback in a failover domain, click the checkbox next to. With checked, if a service fails over from a preferred node, the service does not fail back to the original node once it has recovered.
- Modifying failover domain membership — Under, click the checkbox for each node that is to be a member of the failover domain. A checked box for a node means that the node is a member of the failover domain. If is checked, you can adjust the priority in the text box for each member of the failover domain.
- Click Failover Domain Form page. That page displays the added resource and includes the failover domain in the cluster menu to the left under .. Clicking causes a progress page to be displayed followed by the display of the
- To make additional changes to the failover domain, continue modifications at the Failover Domain Form page and click when you are done.