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
On 16 Oct 2014, at 3:31 pm, 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.. No, its going to native corosync (which is quite different to running against a custom plugin loaded into openais).

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
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 From: Sihan Goi [mailto:gois...@gmail.com] Sent: Thursday, 16 October 2014 3:15 PM To: The Pacemaker cluster resource

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] Pacemaker Corosync Issue

2014-10-15 Thread Andrew Beekhof
You don't think that might be a little short? Any failure that happened more than 10s is going to be ignored, leading to the pengine message you saw. On 16 Oct 2014, at 12:21 am, Sahil Aggarwal wrote: > failure timeout for resource is 10s. > > On Wed, Oct 15, 2014 at 2:51 AM, Andrew Beekhof

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