git.samba.org
/
rusty
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b73834
)
make sure to also check that interfaces used for NATGW are ok
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Wed, 9 Dec 2009 00:13:29 +0000
(11:13 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Wed, 9 Dec 2009 00:13:29 +0000
(11:13 +1100)
and have a link.
if not the node should become unhealthy
config/events.d/10.interface
patch
|
blob
|
history
diff --git
a/config/events.d/10.interface
b/config/events.d/10.interface
index e24cc36a164151ed9bd9e3c1f8afde8fffb3ed09..cf109f3ef8af5beca3be096e57c6fb959c0d845b 100755
(executable)
--- a/
config/events.d/10.interface
+++ b/
config/events.d/10.interface
@@
-137,6
+137,7
@@
case "$1" in
sed -e "s/^[^\t ]*[\t ]*//" -e "s/[\t ]*$//"`
[ "$CTDB_PUBLIC_INTERFACE" ] && INTERFACES="$CTDB_PUBLIC_INTERFACE $INTERFACES"
+ [ "$CTDB_NATGW_PUBLIC_IFACE" ] && INTERFACES="$CTDB_NATGW_PUBLIC_IFACE $INTERFACES"
INTERFACES=`for IFACE in $INTERFACES ; do echo $IFACE ; done | sort | uniq`