From owner-freebsd-net@FreeBSD.ORG Wed Aug 30 14:23:19 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4927F16A4DA for ; Wed, 30 Aug 2006 14:23:19 +0000 (UTC) (envelope-from max@love2party.net) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id 46DD243D6E for ; Wed, 30 Aug 2006 14:23:04 +0000 (GMT) (envelope-from max@love2party.net) Received: from [88.64.189.160] (helo=amd64.laiers.local) by mrelayeu.kundenserver.de (node=mrelayeu3) with ESMTP (Nemesis), id 0MKxQS-1GIQy61043-0005he; Wed, 30 Aug 2006 16:23:02 +0200 From: Max Laier Organization: FreeBSD To: freebsd-net@freebsd.org Date: Wed, 30 Aug 2006 16:22:54 +0200 User-Agent: KMail/1.9.3 References: <20060830131929.GD804@gremlin.foo.is> <20060830132659.GF30474@catpipe.net> In-Reply-To: <20060830132659.GF30474@catpipe.net> X-Face: ,,8R(x[kmU]tKN@>gtH1yQE4aslGdu+2]; R]*pL,U>^H?)gW@49@wdJ`H<=?utf-8?q?=25=7D*=5FBD=0A=09U=5For=3D=5CmOZf764=26nYj=3DJYbR1PW0ud?=>|!~,,CPC.1-D$FG@0h3#'5"k{V]a~.<=?utf-8?q?mZ=7D44=23Se=7Em=0A=09Fe=7E=5C=5DX5B=5D=5Fxj?=(ykz9QKMw_l0C2AQ]}Ym8)fU MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart8900495.temdgs2z6C"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200608301623.01478.max@love2party.net> X-Provags-ID: kundenserver.de abuse@kundenserver.de login:61c499deaeeba3ba5be80f48ecc83056 Cc: Baldur Gislason Subject: Re: Load balancing for web servers X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Aug 2006 14:23:19 -0000 --nextPart8900495.temdgs2z6C Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Wednesday 30 August 2006 15:26, Phil Regnauld wrote: > Baldur Gislason (baldur) writes: > > I'd like to set up a load balancing and resiliance system to > > load balance between a bunch of web servers running Apache tomcat > > (slow java stuff). Ideally I'd like each client IP to get mapped to a > > certain server and keep that mapping throughout the entire session. > > I'd also like to have some means of detecting a server that goes down > > and yank it from the load balancing pool. I do understand I may have > > to write some code on that side. > > pf and sticky rdr. > > Use a shell script that pings the hosts on the backend, to > insert/remove them from a persistent table. Have a look at: http://www.countersiege.com/doc/pfsync-carp/#big for one=20 idea. All requirements (carp, pf and pfsync) are available in FreeBSD as=20 well. =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 --nextPart8900495.temdgs2z6C Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQBE9Z9FXyyEoT62BG0RAm/8AJ9JGPZjFlDCL94g6Bk9Rb+PxhIneQCfc67M YxupOoBLb7cb/t1MVNjOGi8= =Y4Ax -----END PGP SIGNATURE----- --nextPart8900495.temdgs2z6C--