change the signature to ctdb_sys_have_ip() to also return:
authorRonnie Sahlberg <sahlberg@ronnie>
Sun, 9 Sep 2007 21:20:44 +0000 (07:20 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Sun, 9 Sep 2007 21:20:44 +0000 (07:20 +1000)
commit4ac749bfa48d691f88b1f4db24a00bc079a02034
treec1c55d25df692a9a40c7c280f66483537d1b06ab
parent0ebd7beb4bcae324acf8e733500a983d22b47e9b
change the signature to ctdb_sys_have_ip() to also return:
 a bool that specifies whether the ip was held by a loopback adaptor or
not
 the name of the interface where the ip was held

when we release an ip address from an interface, move the ip address
over to the loopback interface

when we release an ip address  after we have move it onto loopback,
use 60.nfs to kill off the server side (the local part) of the tcp
connection   so that the tcp connections dont survive a
failover/failback

61.nfstickle,   since we kill hte tcp connections when we release an ip
address   we no longer need to restart the nfs service in 61.nfstickle

update ctdb_takeover to use the new signature for ctdb_sys_have_ip

when we add a tcp connection to kill in ctdb_killtcp_add_connection()
check if either the srouce or destination address match a known public
address

(This used to be ctdb commit f9fd2a4719c50f6b8e01d0a1b3a74b76b52ecaf3)
ctdb/common/system_aix.c
ctdb/common/system_linux.c
ctdb/config/events.d/10.interface
ctdb/config/events.d/60.nfs
ctdb/config/events.d/61.nfstickle
ctdb/config/statd-callout
ctdb/include/ctdb_private.h
ctdb/server/ctdb_takeover.c