[Pacemaker] crm_master syntax

Frank DiMeo Frank.DiMeo at bigbandnet.com
Wed Dec 16 16:43:18 EST 2009


I don't know how to set the target-role for a multistate resource instance running on a particular node.  Would you mind giving me an example?

Thanks,
Frank

> -----Original Message-----
> From: Andrew Beekhof [mailto:andrew at beekhof.net]
> Sent: Wednesday, December 16, 2009 4:11 PM
> To: pacemaker at oss.clusterlabs.org
> Subject: Re: [Pacemaker] crm_master syntax
> 
> On Wed, Dec 16, 2009 at 8:52 PM, Frank DiMeo
> <Frank.DiMeo at bigbandnet.com> wrote:
> > Hi All,
> >
> > Does anyone know the correct syntax for the crm_master command when
> used from a shell?
> 
> You're not supposed to.
> It looks for things like the resource id in a properly constructed OCF
> environment.
> 
> If you really must, set target-role.
> 
> > I want to promote (and at some point demote) one of my multistate
> resources running on one of my nodes, but haven't found the correct
> syntax for this command yet.
> >
> > I've tried (among other permutations):
> >
> > crm_master -r ms-world1 -U ubuntu_1 -v on
> >
> > where ms-world1 is the id of one of my multistate resources, and
> ubuntu_1 is one of my nodes.  This didn't work, and I can't find any
> other permutation that does.
> >
> > Thanks in advance,
> >
> > -Frank
> >
> > _______________________________________________
> > Pacemaker mailing list
> > Pacemaker at oss.clusterlabs.org
> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
> >
> 
> _______________________________________________
> Pacemaker mailing list
> Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker




More information about the Pacemaker mailing list