tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <>
Subject Re: Transfer all HttpSessions from one cluster node to another
Date Wed, 28 Jan 2009 02:54:59 GMT
Hash: SHA1


nlif wrote:
> We intend to run in a cluster, with stickiness enabled, and without
> replication. This of course does not give us failover capabilities, in case
> of a server crash, but it is sufficient for our needs. 
> However, we would like to be able to transfer all sessions currently on one
> node, to another node, when we are about to shutdown a server for
> maintenance.

Would it be acceptable to slowly siphon-off all traffic to the server
you are taking out of service? If so, you can instruct mod_jk to take
the to-be-removed server out of the pool for new visitors, and simply
wait for the existing users to eventually die off. Then you can take
that server out of service and re-join it to the cluster, later.

The advantage of this technique is that it is available /right now/
without any further infrastructure. The disadvantage, of course, is that
you can't really do it on-demand: you have to wait for users to die off
before you can take the server out of service (unless you just kill the
last few stragglers).

- -chris

Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla -


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message