Re: [Pacemaker] resource agent starting out-of-order

2011-03-13 Thread Pavel Levshin
Hi. You have hit this: Mar 3 16:49:16 breadnut2 VirtualDomain[20709]: INFO: Virtual domain vg.test1 currently has no state, retrying. Mar 3 16:49:16 breadnut2 lrmd: [20694]: WARN: p-vd_vg.test1:monitor process (PID 20709) timed out (try 1). Killing with signal SIGTERM (15). Mar 3 16:49:16

[Pacemaker] Creating a resource from a script

2011-03-13 Thread tariq fillah
Hello the list, I want to execute some actions when the master node changes. So, I would like to know how we can tell pacemaker to add the execution of a script as a resource that is started in the master node and stoped in the slave one. Thanks in advance. ___

Re: [Pacemaker] [Cluster-devel] [PATCH] Fix pacemaker's wrong quorum view in a CMAN+pacemaker cluster

2011-03-13 Thread Fabio M. Di NItto
On 03/13/2011 02:17 PM, Simone Gotti wrote: > > The fix I tried used CMAN_DISPATCH_ALL instead of CMAN_DISPATCH_ONE and > looks like its working. In most of our cluster daemons, we use DISPATCH_ONE in a proper loop to be repeated till there are no more events in the queue. I don't recall exactly

[Pacemaker] [PATCH] Fix pacemaker's wrong quorum view in a CMAN+pacemaker cluster

2011-03-13 Thread Simone Gotti
Hi all, Testing a cman+pacemaker cluster on rhel6 I noticed a very nasty behavior when some nodes were leaving and rejoining the cluster. When a nodes starts leaving and rejoining the cluster the quorum view of pacemaker starts becoming sometimes different from the quorum view of cman. The one not