diff options
author | Martin Schwenke <martin@meltin.net> | 2013-02-21 14:17:09 +1100 |
---|---|---|
committer | Amitay Isaacs <amitay@gmail.com> | 2013-05-06 13:38:21 +1000 |
commit | fb028a208c57e52d031942c82ea4495c292656ea (patch) | |
tree | a5ebf97607a9e7c380c5da716a15384ee900f629 /ctdb/config/events.d/91.lvs | |
parent | 745c6bc363e9c9952385b260c8807e00a0bc08b8 (diff) | |
download | samba-fb028a208c57e52d031942c82ea4495c292656ea.tar.gz |
eventscripts: Remove use of "stopped" event
Use "ipreallocated" instead. The "stopped" event pre-dates the
"ipreallocated" event. The only way of stopping a node is via the
ctdb tool, which explicitly causes a takeover run to occur after the
node is stopped. The takeover run will generate an "ipreallocated"
event.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit 978d4a0d6d8c9877b23f72e3a7b78c1245d16908)
Diffstat (limited to 'ctdb/config/events.d/91.lvs')
-rwxr-xr-x | ctdb/config/events.d/91.lvs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/config/events.d/91.lvs b/ctdb/config/events.d/91.lvs index c1e6d156046..bdbcfa3db38 100755 --- a/ctdb/config/events.d/91.lvs +++ b/ctdb/config/events.d/91.lvs @@ -40,7 +40,7 @@ case "$1" in echo 1 > /proc/sys/net/ipv4/route/flush ;; - recovered|stopped|ipreallocated) + recovered|ipreallocated) # kill off any tcp connections ipvsadm -D -t $CTDB_LVS_PUBLIC_IP:0 ipvsadm -D -u $CTDB_LVS_PUBLIC_IP:0 |