On 07/05/2010 23:20, Smith, Mark wrote:
>> -----Original Message-----
>> From: Pid [mailto:p...@pidster.com]
>> There are a couple of linux load balancer projects that might work, if
>> you can ditch HTTPD.  E.g. www.linuxvirtualserver.org
> 
> We use LVS to balance load across our Apache layers already, so I'm quite 
> familiar with it.
> 
> It does do what I want here, except that there are several things we need 
> from Apache:  Access control, SSL termination, URL path based routing, etc.
> 
> I considered using ipvsadm on the Apache box to route traffic to TomCats, but 
> there is another EC2 specific problem:  All the routing methods LVS uses 
> don't work on EC2 because they _ONLY_ route TCP, UDP and ICMP:
> - Direct Routing messes with Ethernet headers.  Not a chance.
> - Tunneling uses IP-in-IP tunneling, which is neither TCP, UDP nor ICMP. 
> *grump*
> - NAT gets blocked by the EC2 firewalls, which makes sense.
> - I even tried setting up GRE tunnels; no love.
> 
> So, yeah.  Thought of that already too.  :-)
> 
> Anyone else have any ideas?  So far, modifying /etc/hosts looks like the best 
> solution, even though it tips my kludge-o-meter past my comfort zone.

Take a look at mod_cluster from JBoss. I haven't looked at it for a
while but when I saw it at ApacheCon EU last year it looked like it
might be what you are looking for.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to