RHCS Stable 3 Tutorial - Multinode VM Cluster
AN!Wiki :: How To :: RHCS Stable 3 Tutorial - Multinode VM Cluster |
Warning: This document is very much a work in progress. And and all data here could be wrong, inaccurate and missing important bits of information. In fact, it's little more than a dumping grounds for my notes. You really don't want to take anything below seriously until this warning has been removed. |
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! | Enterprise Support: Alteeve Support |
Community Support | |
© Alteeve's Niche! Inc. 1997-2024 | Anvil! "Intelligent Availability®" Platform | ||
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. |