[Pacemaker] promote a ms resource to a node

Andrew Beekhof andrew at beekhof.net
Thu Sep 30 04:24:30 EDT 2010


A resource location constraint with role=Master would do it.
Not sure about the shell syntax though.

On Tue, Sep 28, 2010 at 3:51 PM, Pavlos Parissis
<pavlos.parissis at gmail.com> wrote:
> Hi,
>
> Let's say that I have manually demote a ms resource and have the following
> situation
> crm(live)resource# demote ms-drbd_01
> crm(live)resource# status
> [..snip..]
> Master/Slave Set: ms-drbd_01
>      Slaves: [ node-01 node-03 ]
>
> How can I manually promote ms-drbd_01 on node-03?
> The promote command doesn't accept node names and the move command on
> ms-drbd_01 says can't find resource.
>
> Cheers,
> Pavlos
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs:
> http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>




More information about the Pacemaker mailing list