[Pacemaker] crm_master syntax
Frank DiMeo
Frank.DiMeo at bigbandnet.com
Thu Dec 17 15:19:42 UTC 2009
Thanks for the information on this and on the migration-threshold. :)
> -----Original Message-----
> From: Andrew Beekhof [mailto:andrew at beekhof.net]
> Sent: Thursday, December 17, 2009 2:06 AM
> To: pacemaker at oss.clusterlabs.org
> Subject: Re: [Pacemaker] crm_master syntax
>
> On Wed, Dec 16, 2009 at 10:43 PM, Frank DiMeo
> <Frank.DiMeo at bigbandnet.com> wrote:
> > 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?
>
> Use a regular rsc_location (for the master/slave resource) and add
> role=Master like it says in the docs.
>
> http://www.clusterlabs.org/doc/en-
> US/Pacemaker/1.0/html/Pacemaker_Explained/ch10s03s03s06.html
>
> >
> > 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
> >
> > _______________________________________________
> > 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