Hi Everyone,

I'm sure this problem is shared by many projects that need to regularly shut down their tomcat servers for patches. What is the best way to do this with minimum impact for web users?

Going into more detail, let me dust off my ASCII skills. I have 2 x apache servers that talk to 2 x Tomcat servers like below:

+--+ +--+
|A1| |A2|
+--+ +--+
| \ / |
| X |
| / \ |
+--+ +--+
|T1| |T2|
+--+ +--+

Throughout a user's session, they get bound to either the tomcat1 or the tomcat2 server for the length of their session. A1 can direct request to T1 or T2.

Our project is about to go through a maintenance phase and I need to patch the tomcat servers once a week which will require shutting down each server in turn. I've got a couple of questions about this:

1. With the above infrastructure, is there a way to shutdown the tomcat1 server and have all the users' session transferred to tomcat2 while the patch is being applied and tested?

2. If the answer to 1 is no, or it's very difficult, is there a way to 'flick a switch' on one of the tomcat servers to redirect all requests to an apology page?

Thanks a million.

Brent.


_________________________________________________________________
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to