[Pacemaker] HELP! HELP! HELP!

Andrew Beekhof andrew at beekhof.net
Fri May 27 06:50:32 EDT 2011


2011/5/27 项磊 <l.darkfire at hotmail.com>:
> Hi, friends, I have a problem with Pacemaker 1.1.5.
>
> When I configure a master resource as usual, and set target-role=“Master”,
> but all instances are in slave state, no instance is promoted to master
> state.
>
> Who can tell me how to promote a instance to master?

have your RA call crm_master with a promotion preference or create a
location constraint for the master role.

>
> I guess it is a change in version 1.1.5, because I found “+ High: PE: Bug
> lf#2554 - target-role alone is not sufficient to promote resources” in
> ChangeLog.

yes

>
>
>
> Thank you !!!!!!!
>
> _______________________________________________
> 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