From owner-freebsd-stable@FreeBSD.ORG Tue Oct 24 05:39:54 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C6D8A16A407 for ; Tue, 24 Oct 2006 05:39:54 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.188]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB27B43D46 for ; Tue, 24 Oct 2006 05:39:53 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.176.204] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu2) with ESMTP (Nemesis), id 0MKwtQ-1GcF0u2iGg-0007Tw; Tue, 24 Oct 2006 07:39:52 +0200 From: Max Laier Organization: FreeBSD To: freebsd-stable@freebsd.org Date: Tue, 24 Oct 2006 07:39:31 +0200 User-Agent: KMail/1.9.4 References: <8F9483A9-D387-443E-A325-356958211153@khera.org> <05BE5E0E-0A4A-4946-8650-3608EBAF540E@khera.org> <5F2498BF-8821-40C0-B815-2C7E552056AC@khera.org> In-Reply-To: <5F2498BF-8821-40C0-B815-2C7E552056AC@khera.org> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<%}*_BD U_or=\mOZf764&nYj=JYbR1PW0ud>|!~, , CPC.1-D$FG@0h3#'5"k{V]a~. Content-Type: multipart/signed; boundary="nextPart2515378.9YrjiKaIuv"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: Vivek Khera Subject: Re: CARP not balancing automatically X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Oct 2006 05:39:54 -0000 --nextPart2515378.9YrjiKaIuv Content-Type: text/plain; charset="iso-8859-6" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=20 > configuraiton for load balance, but probably not for just simple > failover. =2D-=20 /"\ Best regards, | mlaier@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mlaier@EFnet / \ ASCII Ribbon Campaign | Against HTML Mail and News --nextPart2515378.9YrjiKaIuv Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBFPacbXyyEoT62BG0RAnYHAKCAwe3kzA1t4gjyFr1EJpTpXED0SACfaq4Y IPisN3nkg+Ee12T9LYSdRGQ= =3OLZ -----END PGP SIGNATURE----- --nextPart2515378.9YrjiKaIuv--