[Gllug] load balancing ip's
will
will at hellacool.co.uk
Tue Nov 4 22:47:10 UTC 2003
Murray wrote:
> I have a static ip, port 80 and I want to load balance the traffic across
> multiple hosts. Ordinarily, something like round-robin dns would be
> perfect, but in this case dns isn't an option.
>
> For reasons beyond my control, the domain must resolve to exactly 1 ip
> address. Not fussed about complex load balancing tricks, just want an easy
> way to split the load across multiple servers.
>
> Can it be done with iptables? I know you can use that to NAT 1 ip -> 1 ip,
> but can you do 1 ip -> many ip?
>
> What's the best/easiest solution?
There is a section on load balancing in the apache docs:
http://httpd.apache.org/docs/misc/rewriteguide.html
including how to acheive what I think you are after with mod_rewrite.
Haven't used any of these techniques though :-)
Will.
--
Gllug mailing list - Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug
More information about the GLLUG
mailing list