[Pacemaker] Known problem with IPaddr(2)

Markus M. adrock0905 at alice.de
Mon Apr 12 15:26:19 UTC 2010


Markus M. wrote:
> is there a known problem with IPaddr(2) when defining many (in my case: 
> 11) ip resources which are started/stopped concurrently?

Well... some further investigation revealed that it seems to be a 
problem with the way how the ip addresses are assigned.

When looking at the output of "ip addr", the first ip address added to 
the interface gets the scope "global", all further aliases gets the 
scope "global secondary".

If afterwards the first ip address is removed before the secondaries 
(due to concurrently run of the scripts), ALL secondaries are removed at 
the same time by the "ip" command, leading to an error for all 
subsequent trials to remove the other ip addresses because they are 
already gone.

I am not sure how "ip" decides for the "secondary" scope, maybe beacuse 
the other ip addresses are in the same subnet as the first one.

Regards
Markus




More information about the Pacemaker mailing list