VRRP owner routers - is priority asserted to max value?

barak adam <[email protected]> Thu, 16 Feb 2017 09:26:25 +0200
Newsgroups gmane.linux.keepalived.devel
Message-ID <CAAme7o=Lp4kXyEvrYT0t-km4H1fyA70md_tzta0mdZ41AZ1G7w@mail.gmail.com>
 Hi,

I've got 2 questions about VRRP routers *ownership *handling in Keepalived:

According to the VRRP RFCs, an owner router must assert its priority to 255
in order to preemt and become the Master as soon as it is up.
RFC 5798, section 5.2.4: "The priority value for the VRRP router that owns
the IPvX address associated with the virtual router MUST be 255 (decimal)."

1) Keepalived - it was possible for me to configure an owner VRRP router
and assign it a value less then 255.
When the router was up, a priority value of 255 was not asserted
automatically and it was not elected as a MASTER (of course preemption was
enabled).

Is it OK to successfully load a configuration in which a VRRP owner router
has a priority less then 255? Is it OK that priority value of 255 is not
asserted on run-time for VRRP owners?

2) Should Keepalived update VRRP routers ownership automatically?

For example:

2.1) IP addition:
Assuming a non-owner VRRP router is configured on a link.
A new real IP is added on the link and this IP equals one of the
VIPs assigned to the VRRP router on that link.
Would that router will be updated automatically with a priority value of
255?

2.2) IP deletion:
Assuming an owner VRRP router is configured on a link.
A real IP which is the last one owned by a VRRP router is removed on a link
and makes the router a NON owner router.
Would a priority value of 255 be released, in case it was previously
asserted to 255 for ownership?

Alexandre,
I do keep in mind your clear statement that "this mailing list is not a
ticketing tracking system". There are still some things we find important
to ask, we will be very thankful to have answers and to contribute if
possible.

Thanks,
Barak

regs,

------------------------------------------------------------------------------
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