tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rainer Jung <rainer.j...@kippdata.de>
Subject Re: Session replication without Apache
Date Mon, 06 Jul 2009 19:32:16 GMT
On 06.07.2009 20:33, Manu_SF wrote:
> Hi,
> 
> I have a working "prototype" tomcat cluster with 2 worker nodes connected to
> Apache webserver as the Loadbalancer with mod_jk connectors. The session
> replication works like a charm with these 2 nodes.
> 
> However, my ultimate goal is to deploy it over a system that does NOT have
> Apache (Instead has a Big-ip hardware loadbalancer).
> 
> My question is - Is there a way to implement session replication on tomcat
> nodes without Apache?

Tomcat cluster isn't aware in any way what kind of infrastructure is in
front of Tomcat. So it doesn't know about your Apache/mod_jk and would
replicate just the same when the requests come in via an http connector,
distributed by a Big IP.

But: Your load balancer should do correct stickyness. The usual basic
client IP stickyness is not good. The load balancer could use e.g. its
own cookie to track stickyness, or use the JSESSIONID cookie of Tomcat.

See also: http://markmail.org/message/6ftyqbzmiulsve23

Regards,

Rainer

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


Mime
View raw message