IFACE handling. Assume links are always good on nstartup (they almost always
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 10 Apr 2011 19:56:14 +0000 (05:56 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Sun, 10 Apr 2011 21:39:49 +0000 (07:39 +1000)
commitc187cae2c6a4f4b6f26241ab1c8ff460a12626f7
tree275356a1dac569522aa8c8ccee7451ec470d8d02
parent811f4fa44a790f741699126a6bd88fd3dc23393a
IFACE handling. Assume links are always good on nstartup (they almost always

Simplify the handling of setting the links in the 10.interface eventscript
and remove the optimization to only call setifacelink on state change
to make the code simpler to read.

If a take ip event fails, flag the node as unhealthy.

Add a check to the interface script to check if the interface exists
or if it has been deleted.
So that we can capture and become UNHELTHY if someone deletes an interface
we are using to host public addresses.
config/events.d/10.interface
server/ctdb_takeover.c