Thanks for the information on this and on the migration-threshold. :) > -----Original Message----- > From: Andrew Beekhof [mailto:and...@beekhof.net] > Sent: Thursday, December 17, 2009 2:06 AM > To: pacemaker@oss.clusterlabs.org > Subject: Re: [Pacemaker] crm_master syntax > > On Wed, Dec 16, 2009 at 10:43 PM, Frank DiMeo > <frank.di...@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:and...@beekhof.net] > >> Sent: Wednesday, December 16, 2009 4:11 PM > >> To: pacemaker@oss.clusterlabs.org > >> Subject: Re: [Pacemaker] crm_master syntax > >> > >> On Wed, Dec 16, 2009 at 8:52 PM, Frank DiMeo > >> <frank.di...@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@oss.clusterlabs.org > >> > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > >> > > >> > >> _______________________________________________ > >> Pacemaker mailing list > >> Pacemaker@oss.clusterlabs.org > >> http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > > > _______________________________________________ > > Pacemaker mailing list > > Pacemaker@oss.clusterlabs.org > > http://oss.clusterlabs.org/mailman/listinfo/pacemaker > > > > _______________________________________________ > Pacemaker mailing list > Pacemaker@oss.clusterlabs.org > http://oss.clusterlabs.org/mailman/listinfo/pacemaker
_______________________________________________ Pacemaker mailing list Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker