tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From nlif <naam...@plimus.com>
Subject Re: Transfer all HttpSessions from one cluster node to another
Date Wed, 28 Jan 2009 08:40:54 GMT

Filip,

Thanks. If you could elaborate some more, then maybe I can go ahead and
implement this, and I'd be happy to send you the result, so you can use it
and save yourself some of the work.

Naaman



Filip Hanik - Dev Lists wrote:
> 
> nlif wrote:
>> Hi all,
>>
>> 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. This is different from the default behavior of
>> session-replication, in that it only happens when we trigger it (e.g. via
>> JMX), and with us specifying the source node and destination node.
>>
>> Is this supported?
>> Has anyone done such a thing?
>>   
> hi Naaman, while this feature is not currently in place, it's something 
> that has been brewing in the back of my head for a long time.
> It is an extremely useful feature, and its just a matter of time for me 
> to get it implemented.
> 
> The simplest way would be to start with the BackupManager, but simple 
> remove the "nr of backup nodes" and therefore not replicate.
> And then simply implement a "move sessions" during a graceful shutdown.
> 
> Filip
>> I would appreciate any tips.
>>
>> Thanks,
>> Naaman
>>   
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 
> 
> 

-- 
View this message in context: http://www.nabble.com/Transfer-all-HttpSessions-from-one-cluster-node-to-another-tp21649886p21701505.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


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


Mime
View raw message