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, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News
pgph1eVv1HMTc.pgp
Description: PGP signature