Intel_RAID_HA_Solution_RHEL_WhitePaper
Intel® RAID High Availability Solution for Red Hat* Linux Systems White Paper Installation
Revision 1.0 Intel Confidential
19
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. Circumstances
where a node repeatedly fails and is part of an ordered failover domain.
To configure a failover domain, perform the following procedure:
1. Run the following command to add a failover domain:
ccs -h host --addfailoverdomain name [restricted] [ordered]
[nofailback]
For example:
ccs -h HA02.SH --addfailoverdomain example_01 ordered
2. Add a node to a failover domain with the following command:
ccs -h host --addfailoverdomainnode failoverdomain node priority
For example:
ccs -h HA02.SH -–addfailoverdomainnode example_01 HA01.SH 1
ccs -h HA02.SH -–addfailoverdomainnode example_01 HA02.SH 2
2.9.4 Configuring Cluster Resources
Shared resources can be shared directories or properties, such as the IP address, that are tied
to the cluster. You can configure two types of resources:
Global – Resources that are available to any service in the cluster.
Service-specific – Resources that are available to only one service.
To add a global cluster resource, execute the following command:
ccs -h host --addresource resourcetype [resource options]
For example, the following command adds a global file system resource to the cluster
configuration file on HA02.SH. The name of the resource is example_fs, the file system device
is /dev/sda1 (is a potation on shared storage volume), the file system mountpoint is /HA, and the
file system type is ext3.
ccs -h HA02.SH --addresource fs name=example_fs device=/dev/sda1
mountpoint=/HA fstype=ext3
Create an IP address cluster resource:
ccs -h HA02.SH --addresource ip address=192.168.144.200
monitor_link=on sleeptime=1