Load balancing for web servers

Max Laier max at love2party.net
Wed Aug 30 14:23:19 UTC 2006


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 
idea.  All requirements (carp, pf and pfsync) are available in FreeBSD as 
well.

-- 
/"\  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-net/attachments/20060830/cdeb1eac/attachment.pgp


More information about the freebsd-net mailing list