Use better forceful arping command

Send ARP responses with the source IP in it to force update even if the
old primary did not cleanly terminate (during fencing for instance).
This commit is contained in:
Joshua Boniface 2019-08-07 11:29:38 -04:00
parent ef3b6b3723
commit e92a57606d
1 changed files with 3 additions and 3 deletions

View File

@ -118,9 +118,9 @@ def createIPAddress(ipaddr, cidrnetmask, dev):
)
)
run_os_command(
'arping -A -c3 -I {} {}'.format(
dev,
ipaddr
'arping -A -c3 -I {dev} -P -U -S {ip} {ip}'.format(
dev=dev,
ip=ipaddr
),
background=True
)