Hi,

 this is more of a principal question. We operate the following
HA/Failover Setup:

Frontend: Apache 2.2.21 + mod_jk 1.2.32
Backend: 6 x Tomcat 7.0.32

We have two types of clients. First there are interactive clients that
connect via a browser. Second we have batch clients that are run via a
queuing system (SGE) on a cluster of Linux servers. Those batch jobs
do the "dirty work" like transferring mass data and other long running
stuff that we do not want to run on the backends themselves.

Now sometimes the clients get into trouble and we need to find out
what is going on. First step is to look into the tomcat log files. For
that of course we need to know which of the instances is serving the
client (we do session persistence, so the clients stay on their
servers unless there is a failover). For the interactive clients this
is usually easy. We can have the users look at the jvmroute part of
the session cookie.

The problem arises on the batch clients. How to ask them? :-) So, the
question is whether there is a way of finding out from the outside
which tomcat a client-session is talking to? The connections are of
course all through the Apache frontend, which does not make it easier.

Any insight (or pointer to the right manual) would be highly appreciated.

Ah yes, modifying the application to just log the cookie is of course
possible, but for reasons, not to be discussable here, political
difficult.

Thanks in advance
Martin

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

Reply via email to