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:34 +0000 (07:39 +1000)
commitf7da9eaa3916c47d5313c81c268b5438786aa394
treedc523315914ecdb0347cfe03250260d87018b0a3
parent92da906d41086abd1d159769728bae4624c65a34
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