3.7. Configuring a Failover Domain
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. 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: Section 3.7.1, "Adding a Failover Domain" Section 3.7.2, "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 cluster tab. At the detailed menu for the cluster (below the clusters menu), click Failover Domains . Clicking Failover Domains causes the display of failover domains with related services and the display of menu items for failover domains: Add a Failover Domain and Configure a Failover Domain . Click Add a Failover Domain . Clicking Add a Failover Domain causes the display of the Add a Failover Domain page. At the Add a Failover Domain page, specify a failover domain name at the Failover Domain Name 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 the Prioritized checkbox. With Prioritized checked, you can set the priority value, Priority , for each node selected as members of the failover domain. To restrict failover to members in this failover domain, click the checkbox to Restrict failover to this domain's members . With Restrict failover to this domain's members checked, services assigned to this failover domain fail over only to nodes in this failover domain. Configure members for this failover domain. Under Failover domain membership , click the Member checkbox for each node that is to be a member of the failover domain. If Prioritized is checked, set the priority in the Priority text box for each member of the failover domain. Click Submit . Clicking Submit causes a progress page to be displayed followed by the display of the Failover Domain Form page. That page displays the added resource and includes the failover domain in the cluster menu to the left under Domain . To make additional changes to the failover domain, continue modifications at the Failover Domain Form page and click Submit when you are done.