I sent a mail with a similar content to the list and discussed it on the dev 
list. The solution is to divide routing from load balancing. The following 
functionality would be easy:

 > a) sends requests with a session cookie for an inactive worker to that
 > worker
but
b) sends requests with no session cookie to a local worker

But for this you need an apache with tomcat on any node and a loadbalancer which 
knows what nodes are active. We do this with a simple protocol between 
loadbalancer and node. The 'local' worker is connected to tomcat on the same node.

Is this a possible solution for you? I'm on the way to set up a test cluster and 
than I will try to patch the lb-worker of mod_jk and send this to tomcat-dev. 
May be it is valuable for others.

Bernd

Matthew Tepel wrote:
> We are working on transitioning from Jserv to Tomcat 4.0 (believe it or
> not), and there is one problem I haven't found the answer to in the
> documentation.
> 
> We use apache with a pool of remote java servers.  There is a tool (and
> web interface) that allows us to tell mod_jserv not to send new requests
> to particular java servers.  We use this so that we can "drain" particular
> java servers and release new code on them in a way that affects only a
> small number of users.
> 
> I have not discovered a tool or web interface that would allow marking
> particular workers as "inactive" so that the load balancer:
> a) sends requests with a session cookie for an inactive worker to that
> worker
> b) sends requests no with session cookie to only active workers
> 
> I have done some web searches and seen discussions about patches relating
> to such a feature, but I haven't found documentation about whether this is
> included in Tomcat 4.0 and how to use it.
> 
> I would greatly appreciate your help in this.
> 
> -MT
> 
> 
> --
> To unsubscribe:   <mailto:[EMAIL PROTECTED]>
> For additional commands: <mailto:[EMAIL PROTECTED]>
> Troubles with the list: <mailto:[EMAIL PROTECTED]>
> 



-- 
Dipl.-Inform. Bernd Koecke
UNIX-Entwicklung
Schlund+Partner AG
Fon: +49-721-91374-0
E-Mail: [EMAIL PROTECTED]


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to