RHCS Stable 3 Tutorial - Multinode VM Cluster
| 
 Alteeve Wiki :: How To :: RHCS Stable 3 Tutorial - Multinode VM Cluster  | 
Overview
This tutorial will walk you through building two distinct clusters:
- . A 2-Node cluster using DRBD for real-time replicated storage backing an iSCSI SAN using Pacemaker for high availability.
 - . A 5-Node cluster hosting KVM virtual servers, each VM hosted on a dedicated LUN from the SAN cluster, using Pacemaker for high availability.
 
Pacemaker
notes:
- Create a multicast calculator.
 - ais_addr is set in beekhof's scriptlet to use the last interface on the system. Manually choose the BCN interface IP.
 - Check the ais_* values with `env | grep ais_`.
 - Does pacemaker 1.1 in EL6 support a second ring?
 
yum install pacemaker
cp /etc/corosync/corosync.conf.example /etc/corosync/corosync.conf
vim /etc/corosync/corosync.conf
Add/edit the following three lines to the 'interface { }' section:
        interface {
                ringnumber: 0
                # Interface to use for cluster comms (BCN).
                bindnetaddr: 192.168.3.0
                # Multicast IP used for CPG. Must be unique per cluster.
                mcastaddr: 226.94.1.1
                # Multicast TCP port. Must be unique per ring.
                mcastport: 4000
                ttl: 1
        }
Create the pacemaker service file.
vim /etc/corosync/service.d/pcmk
service {
        # Load the Pacemaker Cluster Resource Manager
        name: pacemaker
        ver:  1
}
Copy the two files to the other node.
rsync -av /etc/corosync/service.d/pcmk root@an-node02:/etc/corosync/service.d/
sending incremental file list
pcmk
sent 178 bytes  received 31 bytes  59.71 bytes/sec
total size is 106  speedup is 0.51
rsync -av /etc/corosync/corosync.conf root@an-node02:/etc/corosync/
sending incremental file list
corosync.conf
sent 526 bytes  received 31 bytes  1114.00 bytes/sec
total size is 445  speedup is 0.80
cmirror
cmirror - DOC-55285 - Jonathan Brassow - visegrips - #lvm
| Any questions, feedback, advice, complaints or meanderings are welcome. | |||
| Alteeve's Niche! | Alteeve Enterprise Support | Community Support | |
| © 2025 Alteeve. Intelligent Availability® is a registered trademark of Alteeve's Niche! Inc. 1997-2025 | |||
| legal stuff: All info is provided "As-Is". Do not use anything here unless you are willing and able to take responsibility for your own actions. | |||
