[Pacemaker] network interface as a cluster resource (solved with patch)

Klaus Darilion klaus.mailinglists at pernau.at
Mon Mar 14 13:46:54 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).

So, active and standby always have the "floating" address assigned to
the loopback interface, and the active has the "floating" address also
assigned to the physical interface?

Yes, I use net.ipv4.ip_nonlocal_bind=1

The scenario is now clear to me.

regards
Klaus




More information about the Pacemaker mailing list