]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
use 'ctdb tickle' instead of sendip to tickle nfs clients.
authorRonnie Sahlberg <sahlberg@ronnie>
Fri, 6 Jul 2007 01:51:34 +0000 (11:51 +1000)
committerRonnie Sahlberg <sahlberg@ronnie>
Fri, 6 Jul 2007 01:51:34 +0000 (11:51 +1000)
(This used to be ctdb commit 2204cc77ce6b1dd6bb0118f57cfa05f0c8826c3e)

ctdb/config/events.d/61.nfstickle

index ff953ea5c9818f28fea862be9819943bce543b11..240bd3f3b0c8cf2007340e6c4cc154b0f6e94a0b 100755 (executable)
@@ -34,7 +34,7 @@ case $cmd in
                        # send three, in case of lost packets
                        echo "`date` Sending NFS tickle ack for $ip to $dip:$dport"
                        for i in `seq 1 3`; do
-                               sendip -p ipv4 -p tcp -is $ip -ts 2049 -td $dport -tfa 1 $dip -tfs 0 -tw 1234 -tfp 0 -tn 0
+                               ctdb tickle $dip:$dport $ip:2049
                        done
                done
        done