Home > OS >  Tomcat how to implement double machine under win2008R2 hot standby
Tomcat how to implement double machine under win2008R2 hot standby

Time:10-07

Under the first circumstance:

Server model: DELL R720
System: win2008 R2

Desired requirements: suppose you have 2 servers, respectively. A, B, the IP address of 192.168.1.31 respectively; 192.168.1.32, I will set up A server is given priority to, usually access WEB are this server's IP address is input, when A tomcat server hang up, I hope I can continue to use A server IP address to access the WEB, what method can be implemented?

Questions on baidu knows, before someone answer is as follows: apache2.2 for load balancing. Two tomcat is started at the same time, using a web application. And sharing session.
Request distribution to do with apache, so even if hang a tomcat, apache will request to another tomcat, and the session is not lost.

But if do so, the apache becomes a single point,

Hope that we support a move to help!

CodePudding user response:

The building Lord solved the
  • Related