You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Romain Bourgue <ro...@gmail.com> on 2006/08/30 15:35:56 UTC

Sticky session with multiple load balancer ?

Hi,
I have a cluster of Tomcat servers. The load balancing is made by a single
apache mod_proxy_ajp server.
I'd like to know if it's possible to have this :

----------   ----------
|  LB 1  |   |  LB 2  |
----------   ----------

__________  __________  __________
| Tomcat1 | | Tomcat2 | | Tomcat3 |
----------  ----------  ----------

...2 load balancers (load balanced by DNS round robin by ex.) and still
having a working sticky session load balancing to the tomcat cluster.

In fact, this could be possible if the mod_proxy_ajp could share the same
'sticky session' table.

Do you know if it's already/technically/theoretically possible ?

Re: Sticky session with multiple load balancer ?

Posted by Mladen Turk <ml...@jboss.com>.
Romain Bourgue wrote:
> 
> Do you know if it's already/technically/theoretically possible ?
>

Yes. It should work out of the box if you keep
your worker names the same on both LBs.

Regards,
Mladen.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org