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: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