Re: [Pacemaker] CentOS 6.4 and CFS.

2013-11-15 Thread Rob Thomas
> Line 363 of /usr/lib/python2.6/site-packages/pcs/cluster.py has this: > > nodes = utils.getNodesFromCorosyncConf() Ahha. Look what I just spotted. https://github.com/feist/pcs/commit/8b888080c37ddea88b92dfd95aadd78b9db68b55 --Rob ___ Pacemaker m

Re: [Pacemaker] CentOS 6.4 and CFS.

2013-11-15 Thread Rob Thomas
> > https://access.redhat.com/site/documentation/en-US/Red_Hat_Enterprise_Linux/6-Beta/html/Configuring_the_Red_Hat_High_Availability_Add-On_with_Pacemaker/ch-clusteradmin-HAAR.html Also, there's a pile of things in there that don't work ... but, I'm hesitant to spam this mailing list with pro

Re: [Pacemaker] CentOS 6.4 and CFS.

2013-11-15 Thread Rob Thomas
Well. This is interesting. >> Looking through the pcs code, it's now checking that the node exists >> in /etc/corosync/corosync.conf > > N. Not on RHEL-6 anyway. Line 363 of /usr/lib/python2.6/site-packages/pcs/cluster.py has this: nodes = utils.getNodesFromCorosyncConf() getNodesFromC

Re: [Pacemaker] The larger cluster is tested.

2013-11-15 Thread yusuke iida
Hi, Andrew Thanks for the suggestion variety. I fixed and tested the value of batch-limit by 1, 2, 3, and 4 from the beginning, in order to confirm what batch-limit is suitable. It was something like the following in my environment. Timeout did not occur batch-limit=1 and 2. batch-limit = 3 was

[Pacemaker] pgsql stays in Disconnect after online node

2013-11-15 Thread Schaefer, Diane E
We are working with the pgsql RA and pacemaker 1.1.9. We are having trouble understanding why our slave resource doesn't come out of DISCONNECT after we online the node. We did the following: 1) Put node running the Master (usrv-tsegp8) in Standby. The old slave became the master and th

Re: [Pacemaker] running scripts in a resource

2013-11-15 Thread Florian Crouzat
Le 15/11/2013 13:32, Dvorak Andreas a écrit : Dear all, I would like to create a resource that sets up routes an a node. I'm quite sure there are dedicated resources to manage routes *but* if you want to script stuff yourself, then create a lsb resource (eg: lsb:my_routes) which adds routes

[Pacemaker] running scripts in a resource

2013-11-15 Thread Dvorak Andreas
Dear all, I would like to create a resource that sets up routes an a node. I have got three scripts check_routes.sh delete_routes.sh setup_routes.sh but unfortunately I do not find documentation how to do that. Can somebody please help me? I have already an IP resource set up like this. pcs res

Re: [Pacemaker] CentOS 6.4 and CFS.

2013-11-15 Thread Rob Thomas
On 15/11/2013 9:01 PM, "Andrew Beekhof" wrote: > N. Not on RHEL-6 anyway. > Before I address the rest of your email, you need to be using pacemaker with cman (cluster.conf) as described at: > Yep, I'm pretty sure I followed that. However, it's also possible that I missed something, so I'll

Re: [Pacemaker] CentOS 6.4 and CFS.

2013-11-15 Thread Andrew Beekhof
On 15 Nov 2013, at 5:56 pm, Rob Thomas wrote: > So I'm a long time corosync fan, and I've recently come back into the > fold to change everything I've previously written to pcs, because > that's the new cool thing. > > Sadly, things seem to be a bit broken. > > Here's how things have gone toda