ctdb-daemon: Skip "IP on interface" checks if DisableIPFailover is set
commit694482fb3f6c356c5a75b74eda1189b9b8225c84
authorMartin Schwenke <martin@meltin.net>
Thu, 7 May 2015 10:41:55 +0000 (7 20:41 +1000)
committerAmitay Isaacs <amitay@samba.org>
Wed, 13 May 2015 04:42:13 +0000 (13 06:42 +0200)
tree8e6bc92768641c1c148bd36213be71f17898eacd
parent3e6660c46f5b65e11ba8e6e009c3ae2df263013e
ctdb-daemon: Skip "IP on interface" checks if DisableIPFailover is set

To support external failover of IP addresses if DisableIPFailover is
set.  CTDB's idea of IP address assignment can be manipulated using
"ctdb moveip".  Checking if the IP address is already held breaks
this in several places.

Pair-programmed-with: Amitay Isaacs <amitay@gmail.com>
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/server/ctdb_takeover.c