[acassen/keepalived] 72fd27: Add higher_prio_send_advert vrrp config option
pqarmitage <[email protected]> Sat, 18 Mar 2017 05:40:34 -0700
| Newsgroups | gmane.linux.keepalived.devel |
|---|---|
| Message-ID | <58cd2ac23399e_73883fe4cdab7c406233e@hookshot-fe1-cp1-prd.iad.github.net.mail> |
Branch: refs/heads/master
Home: https://github.com/acassen/keepalived
Commit: 72fd27063db9f966b98e68b9cd959cf319f07994
https://github.com/acassen/keepalived/commit/72fd27063db9f966b98e68b9cd959cf319f07994
Author: Quentin Armitage <[email protected]>
Date: 2017-03-18 (Sat, 18 Mar 2017)
Changed paths:
M doc/keepalived.conf.SYNOPSIS
M doc/man/man5/keepalived.conf.5
M keepalived/core/global_data.c
M keepalived/core/global_parser.c
M keepalived/include/global_data.h
M keepalived/include/vrrp.h
M keepalived/vrrp/vrrp.c
M keepalived/vrrp/vrrp_data.c
M keepalived/vrrp/vrrp_parser.c
M keepalived/vrrp/vrrp_print.c
Log Message:
-----------
Add higher_prio_send_advert vrrp config option
There is a problem if two vrrp instances, due to becoming isolated,
both become master, since they will both have sent GARP messages.
Setting higher_prio_send_advert and garp_lower_priority_repeat means
that if a master receives a higher priority advert, it will send its
own lower priority advert before it transitions to backup. The higher
priority master, on receiving a lower priority advert, will then send
GARP messages, and so the ARP caches will then be correctly updated.
Using the higher_prio_send_advert option may be considered not to
conform to the VRRP protocol (725) to (765) in state description of
RFC5798, however, since which of the two masters advertises first
after they can both see each other again is random, there is a 50%
chance that the lower priority instance will send an advert before the
higher priority instance, so to all external observers it will appear
that this is the case, or at least that the adverts overlapped.
Signed-off-by: Quentin Armitage <[email protected]>
Commit: 5595e5e8af1e5b48f25802add6d315aaa4f4be14
https://github.com/acassen/keepalived/commit/5595e5e8af1e5b48f25802add6d315aaa4f4be14
Author: Quentin Armitage <[email protected]>
Date: 2017-03-18 (Sat, 18 Mar 2017)
Changed paths:
M keepalived/vrrp/vrrp.c
Log Message:
-----------
Fix higher_prio_send_advert in lower priority master
Signed-off-by: Quentin Armitage <[email protected]>
Commit: 21ecc97b12189daf4c3b90f283838a375a5a25af
https://github.com/acassen/keepalived/commit/21ecc97b12189daf4c3b90f283838a375a5a25af
Author: pqarmitage <[email protected]>
Date: 2017-03-18 (Sat, 18 Mar 2017)
Changed paths:
M doc/keepalived.conf.SYNOPSIS
M doc/man/man5/keepalived.conf.5
M keepalived/core/global_data.c
M keepalived/core/global_parser.c
M keepalived/include/global_data.h
M keepalived/include/vrrp.h
M keepalived/vrrp/vrrp.c
M keepalived/vrrp/vrrp_data.c
M keepalived/vrrp/vrrp_parser.c
M keepalived/vrrp/vrrp_print.c
Log Message:
-----------
Merge pull request #551 from pqarmitage/fixes
Add option to ensure GARPs are resent after recovering from 2 masters
Compare: https://github.com/acassen/keepalived/compare/b5a7e2b91bbb...21ecc97b1218
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Keepalived-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/keepalived-devel