[Pacemaker] network interface as a cluster resource (solved with patch)
klaus.mailinglists at pernau.at
Mon Mar 14 05:27:04 EDT 2011
Am 12.03.2011 10:36, schrieb Pavel Levshin:
> 10.03.2011 21:25, 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
Ok, but what is a valid use case for having an IP address configured on
multiple interfaces? Especially on lo?
> Resource Agent is supposed to start a service, it should not break
> things around here. If the service is already started, you don't need to
> stop and start it again in RA.
So, instead of deleting before adding, it should check if the IP is
already configured and skip the "add" part. Got it.
More information about the Pacemaker