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 _______________________________________________ Pacemaker mailing list: Pacemaker@oss.clusterlabs.org http://oss.clusterlabs.org/mailman/listinfo/pacemaker Project Home: http://www.clusterlabs.org Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker