[Pacemaker] crm_master syntax

Andrew Beekhof andrew at beekhof.net
Wed Dec 16 16:11:27 EST 2009


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
>




More information about the Pacemaker mailing list