[Pacemaker] Pacemaker restart bringing up resource in start mode even other node is running the resource

Andrew Beekhof andrew at beekhof.net
Tue Oct 28 20:36:17 EDT 2014


> On 29 Oct 2014, at 9:30 am, Lax <lkota at cisco.com> wrote:
> 
> Andrew Beekhof <andrew at ...> writes:
>>> Thanks for your help as always Andrew. Is there any sample that you can
>>> point me to how to configure it for the resource.  
>> 
>> I mean something like:
>> 
>>    chkconfig {LSB-name} off
>> 
> I tried setting it this way and still resource gets started on both the
> nodes on pacemaker start. Here is the sequence I followed
> 
> 1. Stop pacemaker service on both the peers Node1 and Node2
> 2. Issue 'chkconfig my-LSB-name off' on Node1 and Node2
> 3. Start pacemaker service first on Node1, wait till it fully comes up
>    - say 'crm_mon -1' to ensure Node1 is online and Node2 is Offline
> 4. Now Start pacemaker service on Node2
>   - while it is happening I run 'crm_mon' on Node1 to see the resource
> state transition. Here I still see my-lsb-resource being started on Node1
> and Node2  -> Stopped -> started back on Node1

crm_report please?

> 
> Thanks
> Lax
> 
> 
> 
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://bugs.clusterlabs.org





More information about the Pacemaker mailing list