Re: [Pacemaker] Linux HA setup for CentOS 6.5

2014-10-23 Thread Andrew Beekhof
> On 16 Oct 2014, at 8:32 pm, Sihan Goi wrote: > > Thanks! > > OK, so I've followed the DRBD steps in the guide all the way till "cib commit > fs" in Section 7.4, right before "Testing Migration". However, when I do a > crm_mon, I get the following "failed actions". > > Last updated: Thu Oct

Re: [Pacemaker] Linux HA setup for CentOS 6.5

2014-10-16 Thread Sihan Goi
Thanks! OK, so I've followed the DRBD steps in the guide all the way till "cib commit fs" in Section 7.4, right before "Testing Migration". However, when I do a crm_mon, I get the following "failed actions". Last updated: Thu Oct 16 17:28:34 2014 Last change: Thu Oct 16 17:26:04 2014 via crm_shad

Re: [Pacemaker] Linux HA setup for CentOS 6.5

2014-10-15 Thread Digimer
On 16/10/14 12:31 AM, Alex Samad - Yieldbroker wrote: I believe there was a change 6.4 -> 6.5 that moved from openais to cman… I believe in rhel7 it is going back.. I ran into this problem when I upgraded my centos 6.2 -> 6.5.. A To elaborate a little on Andrew's post; The cman package used

Re: [Pacemaker] Linux HA setup for CentOS 6.5

2014-10-15 Thread Andrew Beekhof
gt; To: The Pacemaker cluster resource manager > Subject: Re: [Pacemaker] Linux HA setup for CentOS 6.5 > > After following the guide, I've successfully managed to get Apache server up > and running in the cluster as an active/passive setup, but with some > differences. My clu

Re: [Pacemaker] Linux HA setup for CentOS 6.5

2014-10-15 Thread Digimer
On 16/10/14 12:14 AM, Sihan Goi wrote: After following the guide, I've successfully managed to get Apache server up and running in the cluster as an active/passive setup, but with some differences. My cluster stack is stated as being cman while the guide's is openais. Not sure if that's a problem

Re: [Pacemaker] Linux HA setup for CentOS 6.5

2014-10-15 Thread Alex Samad - Yieldbroker
source manager Subject: Re: [Pacemaker] Linux HA setup for CentOS 6.5 After following the guide, I've successfully managed to get Apache server up and running in the cluster as an active/passive setup, but with some differences. My cluster stack is stated as being cman while the guide&#x

Re: [Pacemaker] Linux HA setup for CentOS 6.5

2014-10-15 Thread Sihan Goi
After following the guide, I've successfully managed to get Apache server up and running in the cluster as an active/passive setup, but with some differences. My cluster stack is stated as being cman while the guide's is openais. Not sure if that's a problem. Also, some commands in the guide don't

Re: [Pacemaker] Linux HA setup for CentOS 6.5

2014-10-15 Thread Sihan Goi
Hi, Thanks for the guide! I thought I had the same exact version...mine is also named "Pacemaker 1.1 Clusters from Scratch Creating Active/Passive and Active/Active Clusters on Fedora Edition 5", but my version of the document is meant for Fedora 17, and uses pcs and systemctl calls which don't ex

Re: [Pacemaker] Linux HA setup for CentOS 6.5

2014-10-15 Thread Andrew Beekhof
On 15 Oct 2014, at 7:27 pm, Sihan Goi wrote: > Hi, > > So I've decided to make things simpler and go with a wired network instead of > wireless. I connected both boxes to a router, manually edited the ifcfg-eth0 > files to set static IP addresses for both boxes (not before downloading and >

Re: [Pacemaker] Linux HA setup for CentOS 6.5

2014-10-15 Thread Digimer
Let pacemaker start cman/corosync on EL6. This is the guide that covers it, written by Pacemaker's author: http://clusterlabs.org/doc/en-US/Pacemaker/1.1-plugin/html-single/Clusters_from_Scratch/index.html It notes that it's based on Fedora 13, but that maps to EL6 almost perfectly. A very s

Re: [Pacemaker] Linux HA setup for CentOS 6.5

2014-10-15 Thread Sihan Goi
Hi, So I've decided to make things simpler and go with a wired network instead of wireless. I connected both boxes to a router, manually edited the ifcfg-eth0 files to set static IP addresses for both boxes (not before downloading and building a driver for the nic of 1 of the boxes), did a "chkcon

Re: [Pacemaker] Linux HA setup for CentOS 6.5

2014-10-14 Thread Sihan Goi
No typo. [root@node02 network-scripts]# ls -lah /etc/sysconfig/network-scripts/ifcfg-* -rw-r--r--. 1 root root 254 Oct 10 2013 /etc/sysconfig/network-scripts/ifcfg-lo I installed CentOS 6.5 with the LiveDVD. I found it weird as well that these files were missing. On Wed, Oct 15, 2014 at 11:54 A

Re: [Pacemaker] Linux HA setup for CentOS 6.5

2014-10-14 Thread Digimer
Sure there isn't a typo there? an-c05n01:~# ls -lah /etc/sysconfig/network-scripts/ifcfg-* -rw-r--r--. 1 root root 225 Jan 16 2013 /etc/sysconfig/network-scripts/ifcfg-bond0 -rw-r--r--. 1 root root 220 Jan 16 2013 /etc/sysconfig/network-scripts/ifcfg-bond1 -rw-r--r--. 1 root root 198 Jan 16

Re: [Pacemaker] Linux HA setup for CentOS 6.5

2014-10-14 Thread Sihan Goi
There aren't any config files in /etc/sysconfig/network-scripts. When I was using CentOS 7, the config files were there (ifcfg-something) but in this CentOS 6.5 installation, they are missing. If is possible to not use cman, and just use corosync and pacemaker? If so, how? On Wed, Oct 15, 2014 at

Re: [Pacemaker] Linux HA setup for CentOS 6.5

2014-10-14 Thread Digimer
You can manually configure the wireless LAN without NetworkManager. If you take a look, there should be existing config files in /etc/sysconfig/network-scripts/ for the wireless connection. I've not done it myself since many Fedora's ago, but I believe you can change NMCONTROLLER="no" and then

[Pacemaker] Linux HA setup for CentOS 6.5

2014-10-14 Thread Sihan Goi
Hi, Is there a tutorial showing how to get a basic Linux HA setup with replicated storage (via DRBD) working on CentOS 6.5? I want to have mySQL as the HA resource with the database replicated across the nodes. I've scoured the web for one but it seems that I get stuck in each one somewhere. To e