[Pacemaker] Help on defining resource-stickness

2013-03-11 Thread Paul Sun
Hi I am currently learning how to use pacemaker. I have created a three nodes configuration, and two IP resources. My target to setup the IP to follow only two nodes, and this is able to achieve by using the score in location command. My next target is to disable the failover back when node is

[Pacemaker] set the timeout

2013-03-11 Thread fatcharly
Hi, how can I adjust the timeout for the start of a mysqld or a httpd in a config. It seems to me as if this is a little to short for our systems. One of my configuration looks like this: crm(live)# configure show node $id=18c3666b-ed2f-4dac-8aa7-59ff005b18de nodename \ attributes

Re: [Pacemaker] set the timeout

2013-03-11 Thread Florian Crouzat
Le 11/03/2013 15:44, fatcha...@gmx.de a écrit : Hi, how can I adjust the timeout for the start of a mysqld or a httpd in a config. It seems to me as if this is a little to short for our systems. One of my configuration looks like this: See

Re: [Pacemaker] A couple of queries regarding the behaviour of ocf:heartbeat:ManageVE

2013-03-11 Thread Dejan Muhamedagic
Hi, On Sat, Mar 09, 2013 at 05:29:11PM +, Tim Small wrote: Hi, It looks to me like ocf:heartbeat:ManageVE might do the wrong thing in a couple of places, so I'd thought I'd check. The resource agent manages openvz containers (i.e. lightweight virtual machines AKA VEs, think

Re: [Pacemaker] A couple of queries regarding the behaviour of ocf:heartbeat:ManageVE

2013-03-11 Thread Tim Small
On 11/03/13 15:12, Dejan Muhamedagic wrote: A more flexible solution might be to make the timeout configurable, but in the absence of this, then I think upping the stop action timeout seems like the right thing to do. The value you found is just an advice to the user. You can define

Re: [Pacemaker] RHEL/CentOS 6.4: corosync - CMAN migration

2013-03-11 Thread Andrew Beekhof
On Sun, Mar 10, 2013 at 8:35 PM, Stefan Förster cite+pacema...@incertum.net wrote: Hello world, according to [1] using the pacemaker plugin with corosync is deprecated and will cease to be supported at some point in the future (on RHEL!). A small but important distinction... The plugin has

Re: [Pacemaker] Help on defining resource-stickness

2013-03-11 Thread Andrew Beekhof
On Mon, Mar 11, 2013 at 5:01 PM, Paul Sun paul@syniverse.com wrote: Hi I am currently learning how to use pacemaker. I have created a three nodes configuration, and two IP resources. My target to setup the IP to follow only two nodes, and this is able to achieve by using the score in

Re: [Pacemaker] recourse dos not start with one active node

2013-03-11 Thread Andrew Beekhof
Have a read of http://clusterlabs.org/doc/en-US/Pacemaker/1.1-crmsh/html/Clusters_from_Scratch/_perform_a_failover.html On Sun, Mar 10, 2013 at 4:15 AM, jonas m...@jansen-j.de wrote: hi, I have build a 2 node test cluster on debian 6 withe an IP recourse. If I start both nodes the IP

Re: [Pacemaker] [RFC] Automatic nodelist synchronization between corosync and pacemaker

2013-03-11 Thread Andrew Beekhof
On Thu, Mar 7, 2013 at 5:30 PM, Vladislav Bogdanov bub...@hoster-ok.com wrote: 07.03.2013 03:37, Andrew Beekhof wrote: On Thu, Mar 7, 2013 at 2:41 AM, Vladislav Bogdanov bub...@hoster-ok.com wrote: 06.03.2013 08:35, Andrew Beekhof wrote: So basically, you want to be able to add/remove nodes

[Pacemaker] [pacemaker][openais]the intention of /etc/init.d/openais stop

2013-03-11 Thread zhuyj
Hi, all I am using the linux cluster. When I run /etc/init.d/openais stop, I found that it just checks the status of corosync, if corosync exists, then it will return. Who can tell me why? openais does not make corosync exit? Thanks a lot. Zhu Yanjun

[Pacemaker] Problem on Pacemaker when a new node is joining the cluster

2013-03-11 Thread Paul Sun
Hi I have 3 nodes setup, and I have configured IP and LSB service. The LSB service is relied on IP service. Given that I have startup node1 and node2, and then node3 is started to join the cluster, it is found that the LSB service is restarted on node2, is there any reason? I observed Sending

Re: [Pacemaker] [RFC] Automatic nodelist synchronization between corosync and pacemaker

2013-03-11 Thread Vladislav Bogdanov
12.03.2013 04:44, Andrew Beekhof wrote: On Thu, Mar 7, 2013 at 5:30 PM, Vladislav Bogdanov bub...@hoster-ok.com wrote: 07.03.2013 03:37, Andrew Beekhof wrote: On Thu, Mar 7, 2013 at 2:41 AM, Vladislav Bogdanov bub...@hoster-ok.com wrote: 06.03.2013 08:35, Andrew Beekhof wrote: So