[Pacemaker] Location issue

ruslan usifov ruslan.usifov at gmail.com
Thu Jun 16 19:31:01 EDT 2011


Andrew does any chance to fix this behaivour??? Now this constraint doesn't
work:

location ms_drbd_web_slave_on_backup0 ms_drbd_web-U \
        rule $id="ms_drbd_web_slave_on_backup0-rule" $role="Slave" -inf:
#uname ne backup0


2011/6/8 ruslan usifov <ruslan.usifov at gmail.com>

> I want exactly slave role will be launch only drbd3 (stacked drbd
> resource). So disable launch resource on drbd3 at all not good solution for
> me
>
>
> 2011/6/8 Dominik Klein <dk at in-telegence.net>
>
>> Try without role. If the resource must not run on the node at all, then
>> the role does not matter. Maybe there's a bug with role="slave"?
>>
>> On 06/08/2011 10:56 AM, ruslan usifov wrote:
>> > i try follow:
>> >
>> > location ms_drbd_web-U_slave_on_drbd3 ms_drbd_web-U \
>> >         rule role="slave" -inf: #uname ne drbd3
>> >
>> > result is identical, pacemaker try launch slave role on other nodes:-(((
>> >
>> >
>> > 2011/6/8 Dominik Klein <dk at in-telegence.net <mailto:dk at in-telegence.net
>> >>
>> >
>> >     >> but when i shutdown drbd3 host Pacemaker try start slave role on
>> >     >> other host. How can i prevent this behavior?
>> >     >
>> >     > try
>> >     > s/inf/-inf
>> >     > s/eq/neq
>> >
>> >     "ne" actually, sorry
>>
>> _______________________________________________
>> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20110617/895b12a2/attachment-0003.html>


More information about the Pacemaker mailing list