Re: Loss of routes to VIP

Patrick Schaaf <[email protected]>
Newsgroups gmane.linux.keepalived.devel
Message-ID <CAJ26g5RBvvJ0CAb-aFi7aBpWZaH3m-Sf0JWmqfU_jbkbmQcopQ@mail.gmail.com>
Hi Matt,

On Thu, Oct 13, 2016 at 7:52 PM, Matt Hughes <[email protected]> wrote:
>
...
> I was able to restore connectivity by rebooting keepalived forcing a new
> re-election, resulting in new GARPs being sent.  Any ideas as to why some
> nodes could see the VIP and others couldn't?

GARP is not a reliable protocol. By itself, it does not retry.

Have a look at the keepalived.conf documentation. There are several
settings which enable the master periodically re-sending the GARP
packets. For me, that solved the issue once and forever.

The settings go into each vrrp_instance section you use. I run with:

        garp_master_refresh 5
        garp_master_refresh_repeat 1

These settings send one (repeat setting) GARP every 5 (the other
setting) seconds.

best regards
  Patrick

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.