Intel_RAID_HA_Solution_RHEL_WhitePaper
Installation Intel® RAID High Availability Solution for Red Hat* Linux Systems White Paper
Intel Confidential Revision 1.0
20
2.9.5 Add a Cluster Service and Assign a Resource to the Service
Add a service to the cluster with the following command:
ccs -h HA02.SH --addservice web-service domain=example_01 name=web-
service recovery=relocate
Here web-service is service name, and example_01 is cluster failover domain name.
Assign resources to the service with command –-addsubservice, for example:
ccs -h HA02.SH --addsubservice web-service ip ref=192.168.144.200
ccs -h HA02.SH --addsubservice web-service clusterfs ref=example_fs
2.9.6 Create a Disk Quorum
The disk quorum allows the cluster manager to determine which nodes in the cluster are
dominant using a shared storage disk (block device) as the medium. A shared virtual drive of at
least 10MB will need to be configured for the disk quorum device.
Perform the following steps to make a disk quorum (qdisk):
1. Create or choose a small capacity Shared VD for the disk quorum (the example
assumes a RAID 0 VD with mounting at /dev/sdb with mr_qdisk as the quorum disk
name) by running the following command:
mkqdisk -c /dev/sdb -l mr_qdisk
Figure 13. Create a Disk Quorum
2. Check whether qdisk was created on both nodes by running the following command:
mkqdisk -L
3. Use the following command to configure your system for using a quorum disk:
ccs -h host --setquorumd [quorum d options]
Refer to the cluster schema at /usr/share/cluster/cluster.rng for a complete
list of quorum disk parameters.
For example:
ccs -h HA02.SH --setquorumd label=”mr_qdisk”