[Pacemaker] Location issue

Dominik Klein dk at in-telegence.net
Wed Jun 8 04:46:47 EDT 2011


On 06/08/2011 10:39 AM, ruslan usifov wrote:
> Hello
> 
> I have follow constraint:
> 
> location ms_drbd_web-U_slave_on_drbd3 ms_drbd_web-U \
>         rule role="slave" inf: #uname eq drbd3
> 
> 
> Which as i think it prevents slave role from launch on all hosts except
> drbd3,

nope
it says "put the slave on drbd3", but all other nodes are still allowed
to run the resource if - for whatever reason - it cannot run on drbd3.

> 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

Regards
Dominik




More information about the Pacemaker mailing list