Richard Mixon (qwest) wrote:
John,
From what I gather, this is the purpose of the properties "local_worker"
and "local_worker_only" properties in the workers.properties file. They
are documented at the bottom of this page:
http://jakarta.apache.org/tomcat/connectors-doc/config/workers.html
Unfortunately the explanation is not clear - partially due to the
English. I say this somewhat apologetically - realizing of course that
the writers command of English if probably far, far better than my
command of their native language.
Well, It was written by the person which native language is English,
so perhaps this is the reason why it's so confusing :).
From what I do understand:
1) At the point that you decide to do maintenance on one machine, you
need to change your workers.properties and set local_worker=0 for that
particular machine.
2) Then do a "reload" on your Apache configuration.
3) JK will then stop directing new traffic to the designated machine.
4) After all sessions have expired or quiesced you can stop that Tomcat
instance and do the maintenance.
No.
This means that you will need to disable the connector (using JMX)
on Tomcat. That will cause new connections being rejected, and new
sessions will come from another node.
Use JMX console and invoke stop() method on connector.
New sessions should failover to another node.
Mladen.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]