Tomcat 7 Load Balancing

我是研究僧i 提交于 2019-12-08 08:57:07

问题


Looking to implement Load balancing for two Tomcat 7 instances each on a different machine & two other Tomcat 7 instances on a different machine serving two different purpose.

On Machine 1, will have two Tomcat instances TomA.1 & TomB.1 running on different ports On Machine2, will have two Tomcat instances TomA.2 & TomB.2 running on different ports

Now TomA.1 & TomA.2 needs to be run in LoadBalanced fashion & similarily TomB.1 & TomB.2 needs to be run in LoadBalanced fashion.

Would highly appreciate if anyone can point to the best practices & which Apache module to use as a load balancer.


回答1:


Mod_JK is what you're looking for: http://tomcat.apache.org/connectors-doc/

Howto doc: http://tomcat.apache.org/connectors-doc/webserver_howto/apache.html



来源:https://stackoverflow.com/questions/20062742/tomcat-7-load-balancing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!