[TriLUG] Building a load balanced web cluster
Tue, 18 Sep 2001 12:56:23 -0400
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 18.104.22.168: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 | firstname.lastname@example.org
Measuring end-to-end Web performance.