04.11.2010 13:36, Pavlos Parissis wrote:
...
>>> why do you want that?
>>
>> Customer request. Definitely NOT my idea.
>>
> 
> something like this could be useful
>  location master-location ms-drbd_02 rule $id="master-rule"
> $role="Master" -1000: #uname eq node-02

-1000 is too weak

s/-1000/-inf/
this will prevent resource from running on node-02

or

s/-1000/inf/
will prevent resource from running on any node except node-02

_______________________________________________
Pacemaker mailing list: Pacemaker@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

Reply via email to