Hi,
I got this working very simply. Thanks for the assist.
I used 'cman', which includes corosync. And I added pacemaker also.
I only added the two nodes into the /etc/cluster.conf file:
<clusternode name="rhel6-01.business.com" nodeid="1">
and
<clusternode name="rhel6-02.business.com" nodeid="2">
I ran these, where the ip on line one is the shared ip between the two nodes:
Code:
pcs resource create livefrontendIP0 ocf:heartbeat:IPaddr2 ip=192.168.0.70 cidr_netmask=32 op monitor interval=30s
pcs constraint location livefronendIP0 prefers rhel6-01.business.com=INFINITY
pcs constraint location livefrontendIP0 prefers rhel6-02.business.com=INFINITY
pcs property set no-quorum-policy=ignore
pcs property set stonith-enabled=false
And I changed /etc/corosync/corosync.conf slightly, as in, I added the bindnetaddr: to the network I was on... So, if you're doing this, and you have an ip of 192.168.0.55/24 You would change your bindnetaddr to 192.168.0.0 on both machines.
I also hashed out the "mcastport" and placed a new line "broadcast: yes". I'm not sure that's required, I saw it in the man page.
Once everything was configured, I ran "ccs_config_validate" and all the settings were 'okay'.
I replicated the config to the secondary node, then started cman and pacemaker.
Code:
service cman start
service pacemaker start
Then, ensure they started at logon, 'chkconfig <bothservices> on'.
Once everything's running, you can check it all out using.
or
I hope that helps anyone in the future. And if I've missed anything, feel free to add it in anyone!
Xen.