1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

dont use a too big persistence timeout value

(This used to be ctdb commit 82628e32c431d66b806399ffb9657c3a031f6428)
This commit is contained in:
Ronnie Sahlberg 2011-08-17 09:59:42 +10:00
parent 81292ac0e6
commit ce4555b7a6

View File

@ -59,8 +59,8 @@ case "$1" in
ip addr del $CTDB_LVS_PUBLIC_IP/32 dev lo >/dev/null 2>/dev/null
ip addr add $CTDB_LVS_PUBLIC_IP/32 dev lo >/dev/null 2>/dev/null
ipvsadm -A -t $CTDB_LVS_PUBLIC_IP:0 -p 999999999 -s lc
ipvsadm -A -u $CTDB_LVS_PUBLIC_IP:0 -p 999999999 -s lc
ipvsadm -A -t $CTDB_LVS_PUBLIC_IP:0 -p 1999999 -s lc
ipvsadm -A -u $CTDB_LVS_PUBLIC_IP:0 -p 1999999 -s lc
# add all nodes (except ourselves) to the lvs config
ctdb lvs | egrep -v "^$PNN:" | sed -e "s/.*://" | while read IP; do