[Pacemaker] Location issue

Andrew Beekhof andrew at beekhof.net
Tue Jun 21 02:18:38 UTC 2011


On Fri, Jun 17, 2011 at 9:31 AM, ruslan usifov <ruslan.usifov at gmail.com> wrote:
> Andrew does any chance to fix this behaivour??? Now this constraint doesn't
> work:

Define "doesn't work"?
Not accepted by the shell?  Allow's it to be started elsewhere?
In the later case, please include a crm_report covering the time when
ms_drbd_web-U was promoted in the incorrect location

>
> 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
>>
>
>
> _______________________________________________
> 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