On Fri, Oct 30, 2009 at 2:40 PM, Dominik Klein <d...@in-telegence.net> wrote:
>> Maybe set a cluster-wide attribute, which, when set, does not allow res2
>> to run. Ie rule with score -infinity.
>>
>> res1 could remove this attribute while starting and set this attribute
>> when stopping.
>
> This does not make any sense. Sorry, let me try again.
>
> res1 start = set attribute
> res1 stop = delete attribute
>
> rule for res2 with -inf score if attribute is set.

better, just give all your nodes an attribute with the same value and
use a colocation constraint with a score-attribute (IIRC)

_______________________________________________
Pacemaker mailing list
Pacemaker@oss.clusterlabs.org
http://oss.clusterlabs.org/mailman/listinfo/pacemaker

Reply via email to