[TriLUG] Building a load balanced web cluster
ken.mink at porivo.com
Tue Sep 18 12:56:23 EDT 2001
Great timing. I've been beating my head against the wall all morning working
with LVS. I have 2 servers with apache and tomcat and I'm trying to LVS them.
It is working fine, with persistence(tomcat's session cookies). However, now
I'm trying to set up iptables on the director. The packets are getting eaten
somewhere. Do you know who gets the packets first, LVS or iptables? I've
configured iptables as though it was getting the packets first. Any ideas?
Jon Carnes wrote:
> I just finished building my second load balanced web-cluster using the LVS
> project. This stuff works great and is extremely impressive!
> For the price of a decent machine, anyone can now have built-in redundancy
> and load-balancing for any of their common services: web, mail, ftp, etc...
<big snip of a very helpful LVS config>
> or remove machines from the cluster:
> ipvsadm -d -t 184.108.40.206:80 -r 10.1.71.14 -m
> If I use this in conjunction with Netsaint, I can automagically remove a
> failing machine from my cluster, and send out an alarm. Later, I can add it
> right back in.
> HtH - Jon
> TriLUG mailing list
Ken Mink | Sr Software Engineer
Porivo Technologies, Inc.
919.806.0566 | ken.mink at porivo.com
Measuring end-to-end Web performance.
More information about the TriLUG