Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Aug 2006 15:26:59 +0200
From:      Phil Regnauld <regnauld@catpipe.net>
To:        Baldur Gislason <baldur@foo.is>
Cc:        freebsd-net@freebsd.org
Subject:   Re: Load balancing for web servers
Message-ID:  <20060830132659.GF30474@catpipe.net>
In-Reply-To: <20060830131929.GD804@gremlin.foo.is>
References:  <20060830131929.GD804@gremlin.foo.is>

next in thread | previous in thread | raw e-mail | index | archive | help
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.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060830132659.GF30474>