we need an additional gratuitous arp before the NFS tickles
authorAndrew Tridgell <tridge@samba.org>
Fri, 1 Aug 2008 04:23:15 +0000 (14:23 +1000)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 4 Aug 2008 04:55:44 +0000 (14:55 +1000)
config/events.d/61.nfstickle

index 53355951f542a3c77464ec7d5aba8a4c5a82c99a..5fa62065bd4d42da0233359731f209f687f23240 100755 (executable)
@@ -26,6 +26,9 @@ case $cmd in
        iface=$1
        ip=$2
        shopt -s nullglob
+       # first send a grat arp, to ensure the client knows the updated
+       # mac address for this IP
+       ctdb gratiousarp $ip $iface
        # send tickle acks for all the connections the old server had
        for f in $NFS_TICKLE_SHARED_DIRECTORY/*/$ip; do
                cat $f | while read dest; do