[Pacemaker] cloned resources

Alex Samad - Yieldbroker Alex.Samad at yieldbroker.com
Tue Jul 22 03:47:35 CEST 2014


I can do this

pcs resource meta  proxyybip-clone clone-node-max=1

wait
pcs resource meta  proxyybip-clone clone-node-max=2

that seems to distribute the resources again.

A


> -----Original Message-----
> From: Alex Samad - Yieldbroker [mailto:Alex.Samad at yieldbroker.com]
> Sent: Tuesday, 22 July 2014 11:30 AM
> To: The Pacemaker cluster resource manager
> Subject: Re: [Pacemaker] cloned resources
> 
> But I do want it to go over when there is an issue and to come back when
> that issue is fixed .
> 
> I tried a move, but it doesn't work on individual items of a cloned resource :(
> 
> A
> 
> > -----Original Message-----
> > From: Andrew Beekhof [mailto:andrew at beekhof.net]
> > Sent: Tuesday, 22 July 2014 11:17 AM
> > To: The Pacemaker cluster resource manager
> > Subject: Re: [Pacemaker] cloned resources
> >
> >
> > On 22 Jul 2014, at 11:08 am, Alex Samad - Yieldbroker
> > <Alex.Samad at yieldbroker.com> wrote:
> >
> > > Hi
> > >
> > > Online: [ alcdmz1 gsdmz1 ]
> > >
> > > Full list of resources:
> > >
> > > Clone Set: proxyybip-clone [proxyybip] (unique)
> > >     proxyybip:0        (ocf::heartbeat:IPaddr2):       Started alcdmz1
> > >     proxyybip:1        (ocf::heartbeat:IPaddr2):       Started gsdmz1
> > >
> > >
> > > how can I turn off proxyybip:0 or how do I move it to the other node ?
> >
> > Look for something like:
> >
> >   pcs resource ban proxyybip-clone alcdmz1
> >
> > or
> >
> >   crm_resource -r proxyybip-clone --host alcdmz1 --ban
> >
> > Might not be available in your version though
> >
> > >
> > > Alex
> > >
> > > _______________________________________________
> > > 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
> 
> 
> _______________________________________________
> 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