CARP demotion counter

Julien Cigar jcigar at ulb.ac.be
Thu Dec 10 20:39:12 UTC 2015


On Thu, Dec 10, 2015 at 08:27:56PM +0100, Terje Elde wrote:
> 
> > On 10 Dec 2015, at 20:00, Emmanuel Vadot <manu at bidouilliste.com> wrote:
> > 
> > You need net.inet.carp.preempt=1 for MASTER returning to MASTER after a BACKUP state.
> 
> If all things are otherwise equal, I've come to favor having redundant equipment not be designated master/slave, but rather "router 1" and "router 2" etc, where possible. 
> 
> It reduced "oh, the other is just backup"-impulses, promotes caring equally for either box, and reduces the idea of failover and fallback being separate things. 
> 
> Also removes "we need to fail back to the master" as a thing to do after a failover, while the equality makes it easier to do changes as a matter of routine. 

You're right, fundamentally I don't have any problem which box is the
MASTER or the BACKUP as long as the CARP failover is done properly
(which is the case). 

It's just that I would like to understand why the demotion counter is 
greater than 0 at boot and why the MASTER doesn't return when the cable
is re-plugged (which is the expected behavior I think) :)

> 
> Terje
> 
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"

-- 
Julien Cigar
Belgian Biodiversity Platform (http://www.biodiversity.be)
PGP fingerprint: EEF9 F697 4B68 D275 7B11  6A25 B2BB 3710 A204 23C0
No trees were killed in the creation of this message.
However, many electrons were terribly inconvenienced.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20151210/31693ebf/attachment.sig>


More information about the freebsd-questions mailing list