Carp configuration errors
Ask Bjørn Hansen
ask at develooper.com
Fri Feb 1 23:49:22 UTC 2013
On Jan 25, 2013, at 2:13, Anton Yuzhaninov <citrin at citrin.ru> wrote:
> ABrH> After upgrading to 9.1 it seems like carp doesn't pay attention to advskew anymore. I have two boxes each setup with carp0 and carp1; the intention is that in regular operation proxy1 is master for carp0 and proxy2 for carp1. However, whichever box comes up second is BACKUP for both.
>
> 1. Do your have sysctl net.inet.carp.preempt=1 ? With preempt=0 box
> comes up second should be in backup state.
Indeed, that fixed it! And thank you for the hint about net.inet.carp.log.
Thank you again.
Ask
More information about the freebsd-net
mailing list