Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Feb 2013 15:24:37 -0800
From:      =?iso-8859-1?Q?Ask_Bj=F8rn_Hansen?= <ask@develooper.com>
To:        Anton Yuzhaninov <citrin@citrin.ru>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Carp configuration errors
Message-ID:  <4946BA07-B722-42C7-B5B0-505167541EBA@develooper.com>
In-Reply-To: <kdtlrd$m4e$1@ger.gmane.org>
References:  <0154442B-C0E9-4731-A85E-1A44F3ED1F47@develooper.com> <kdtlrd$m4e$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help


On Jan 25, 2013, at 2:13, Anton Yuzhaninov <citrin@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


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4946BA07-B722-42C7-B5B0-505167541EBA>