From ef3b6b3723da2e430004c93a3a62c1db3dade162 Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Wed, 7 Aug 2019 11:15:36 -0400 Subject: [PATCH] Arping 3 times instead of 2 During fence 2 is not always enough for the network to recognize the change in primary coordinator. --- node-daemon/pvcd/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node-daemon/pvcd/common.py b/node-daemon/pvcd/common.py index 24120644..9e8db0c2 100644 --- a/node-daemon/pvcd/common.py +++ b/node-daemon/pvcd/common.py @@ -118,7 +118,7 @@ def createIPAddress(ipaddr, cidrnetmask, dev): ) ) run_os_command( - 'arping -A -c2 -I {} {}'.format( + 'arping -A -c3 -I {} {}'.format( dev, ipaddr ),