CARP not balancing automatically

Max Laier max at love2party.net
Tue Oct 24 05:39:54 UTC 2006


On Monday 23 October 2006 22:38, Vivek Khera wrote:
> On Oct 23, 2006, at 4:21 PM, Vivek Khera wrote:
> >> Sounds like you forgot the net.inet.carp.preempt sysctl.  See the
> >> begining
> >> of the EXAMPLES section of carp(4).
> >
> > But I don't have multiple interfaces that all need to go up/down
> > together.  I need one carp interface to be master and one backup on
> > box A, and the opposite master/backup on box B.  Or am I totally
> > misunderstanding with the preemtp sysctl is for?
>
> Forgot to mention that setting preempt sysctl does instantly make the
> carp load balanced interfaces work as expected: balancing the load by
> offering one master on each server.
>
> So I'll say that the example needs to be made more clear that preempt
> needs to be on.

Make a suggestion on how it should be worded and submit as a doc PR.

>                  It seems to me that preempt off is a mostly useless 
> configuraiton for load balance, but probably not for just simple
> failover.

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061024/b3349696/attachment.pgp


More information about the freebsd-stable mailing list