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

Andrew Beekhof andrew at beekhof.net
Fri Oct 24 05:10:31 UTC 2014


> On 18 Oct 2014, at 7:52 am, Lax <lkota at cisco.com> wrote:
> 
> Hi,
> 
> I have 2 node setup with 2 resources with one resource being OCF and one is
> an LSB resource.
> 
> Every time I restart pacemaker on my standby(peer) server, my LSB resource
> default comes up in START mode though the resource is already running in
> master(other) server.
> 
> Sequence it is happening is
> 
> Peer server starts pacemaker
> Pacemaker directly brings up my LSB resource Start mode
> Then it sees my master is already running it
> Stops the resource on both master & peer servers
> Goes back to starting the resource on original master server
> 
> 
> So on pacemaker restart, is there any way I can stop my LSB resource coming
> up in START mode when such resource is already running on a master?

Tell init/systemd not to start it when the node boots ;-)

> 
> 
> 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