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

Klaus Darilion klaus.mailinglists at pernau.at
Mon Mar 14 09:27:04 UTC 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
> case.

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.

regards
Klaus




More information about the Pacemaker mailing list