[Pacemaker] Colocation of multistate resource and group

Dejan Muhamedagic dejanmm at fastmail.fm
Tue Jan 18 10:37:40 EST 2011


Hi,

On Tue, Jan 18, 2011 at 02:52:07PM +0300, Evgeniy Ivanov wrote:
> Hello,
> 
> I have a group Gr and multistate resource MasterRsc. I need MasterRsc
> to be master on the node where Gr works.
> In MasterRsc::start() I use crm_master to set higher value if Gr works
> on this node and it works fine.
> But I have a problem with failovers and colocation:
> 
> <rsc_colocation id="master_dummy-with-loggroup" rsc="MasterRsc"
> rsc-role="Master" with-rsc="Gr" score="INFINITY"/>

Add: with-rsc-role="Started"

> I did failover of Gr and then added this colocation. What happened is
> that Gr started failover to the node with MasterRsc:master, but not
> MasterRsc:master to another group.

You lost me here.

> Is it expected (PM 1.0.3)? What's correct way to achieve this?

Consider upgrading.

Thanks,

Dejan


> 
> 
> -- 
> Evgeniy Ivanov
> 
> _______________________________________________
> 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://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker




More information about the Pacemaker mailing list