Make NoIPFailback a node local setting. Nodes that have NoIPFailback set to !0 can...
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 21 Mar 2012 22:05:49 +0000 (09:05 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Wed, 21 Mar 2012 22:09:57 +0000 (09:09 +1100)
commit668f3e88a9e5f598706952b7140547640c85a5ed
tree2293506d42bcaa183a24ce575609e48e3491abcd
parent0ae2a46e37df8d84ce0c76b7a5d32d6e93af709b
Make NoIPFailback a node local setting. Nodes that have NoIPFailback set to !0 can not takeover new ip addresses during failover.

Remove the old global setting for this unused tunable and add it as a new node flag. This node flag is only valid/defined within the takeover subsystem in the recovery daemon. Add async functions to collec the NoIPFailback settings for each node.

This will later e used to disqualify certain nodes from being takeover targets when we perform reallocation.
include/ctdb_protocol.h
server/ctdb_takeover.c