stale arp after master/master ?
Jan-Frode Myklebust <[email protected]>
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <20140312104932.GA9856@mushkin> |
We're using keepalived to manage failover IP-addresses, and have
recently had a few situations where where the failover address has
stopped working for the clients wanting to access it. I believe this has
been caused by split brain situations where the failover address has
been active on both the primary and the standby node at the same time,
and that maybe no gratious ARP is being sent from the primary, when the
secondary goes back to standby.
Is there a way to tell keepalived to send out gratious ARPs regularly,
or from the master when another slave is going to standby?
Our config typically looks like:
------------------------------------------------------------------
global_defs {
notification_email {
[email protected]
}
notification_email_from [email protected]
smtp_server smtp.example.net
smtp_connect_timeout 30
}
vrrp_instance MAIL_LBL_VIP1 {
state BACKUP
interface eth0
virtual_router_id 198
priority 100
advert_int 1
smtp_alert
authentication {
auth_type PASS
auth_pass Nfdh33h3h3
}
virtual_ipaddress {
x.y.z.198
x:y:z::198/64
}
}
------------------------------------------------------------------
-jf
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech