Date: Wed, 30 Aug 2006 16:22:54 +0200 From: Max Laier <max@love2party.net> To: freebsd-net@freebsd.org Cc: Baldur Gislason <baldur@foo.is> Subject: Re: Load balancing for web servers Message-ID: <200608301623.01478.max@love2party.net> In-Reply-To: <20060830132659.GF30474@catpipe.net> References: <20060830131929.GD804@gremlin.foo.is> <20060830132659.GF30474@catpipe.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608301623.01478.max>