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 _______________________________________________ Pacemaker mailing list: [email protected] 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
