[Pacemaker] network interface as a cluster resource (solved with patch)
Klaus Darilion
klaus.mailinglists at pernau.at
Mon Mar 14 14:00:23 UTC 2011
Am 14.03.2011 12:49, schrieb Pavel Levshin:
> 14.03.2011 12:27, Klaus Darilion пишет:
>>>> 2. before adding the IP address, it will delete the IP address if the
>>>> address is already configured (on any interface, with any netmask).
>>>> Thus
>>>> the "add" will always work.
>>> This particular part is not good. The same address could be configured
>>> on other interface, notably loopback. It should not be dropped in this
>>> case.
>> Ok, but what is a valid use case for having an IP address configured on
>> multiple interfaces? Especially on lo?
>
> For us, it is a way to bind a daemon to a floating address. Our daemons
> need to run permanently, and active one is selected by simply assigning
> floating address to the network interface (with arp_ignore/arp_announce
> sysctls set properly).
>
> Something alike may be achieved by setting ip_nonlocal_bind, but our way
> is more strict.
I wonder how IPaddr2's find_interface() behaves if the IP address is
configured on multiple interfaces. Which netmask do you configure on the
loopback interface, /24 or the same as on the physical interface?
regards
klaus
More information about the Pacemaker
mailing list