- 1、本文档共16页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
在win32下apache与tomcat做负载均衡(Under Win32, Apache and Tomcat do load balancing)
在win32下apache与tomcat做负载均衡(Under Win32, Apache and Tomcat do load balancing)
2009-11-13
Do Apache and Tomcat under Win32 load balancing: Internet blog classification
TomcatApache configuration management CSSXML./**
*
Author: Wild * four abin
* time: 2008-12-31
* /
First, install Apache
1, Download APACHE
2, the installation of APACHE, can be installed by default!
3, run APACHE!
Two, the installation of two Tomcat
1, Download apache-tomcat-5.5.25.zip decompression can
2, named the two Tomcat tomcat1, tomcat2
3, modify the Tomcat configuration file server.xml:
Let two Tomcat shutdown port, AJP port and Connector port start, Engine jvmRoute are not the same, and put the following code in server.xml:
Txt code
1. modify reference:
Two
3.tomcat1 server.xml need to be amended:
Four
5.Server port= 8005 shutdown= SHUTDOWN instead
Six
7.Server port= 8015 shutdown= SHUTDOWN
Eight
9.Connector port= 8009 protocol= AJP/1.3 redirectPort= 8443 / to
Ten
11.Connector port= 8019 protocol= AJP/1.3 redirectPort= 8443 /
Twelve
13.Engine name= Catalina defaultHost= localhost instead
Fourteen
15.Engine name= Standalone defaultHost= localhost jvmRoute= Worker1
Sixteen
17.tomcat2 server.xml modification:
Eighteen
19.Server port= 8005 shutdown= SHUTDOWN instead
Twenty
21.Server port= 8025 shutdown= SHUTDOWN
Twenty-two
23.Connector port= 8009 protocol= AJP/1.3 redirectPort= 8443 / to
Twenty-four
25.Connector port= 8029 protocol= AJP/1.3 redirectPort= 8443 /
Twenty-six
27.Engine name= Catalina defaultHost= localhost instead
Twenty-eight
29.Engine name= Standalone defaultHost= localhost jvmRoute= worker2
Thirty
Do these 31. modified two Tomcat can also start. The red part is used for the Tomcat cluster!
Modify the reference:
Tomcat1 server.xml need to be amended:
Server port= 8005 shutdown= SHUTDOWN instead
Server port= 8015 shutdown= SHUTDOWN
Connector port= 8009 protocol= AJP/1.3 redirectPort= 8443 / to
Connector port= 8019 protocol= AJP/1.3 redirectPort= 8443 /
Engine name= Cat
您可能关注的文档
- 王安康论治肝硬化腹水经验(Wang Ankang's treatment of ascites due to cirrhosis).doc
- 生活之道(Way of life).doc
- 珍珠粉的全部用法(The full usage of pearl powder).doc
- 生活妙招(Life coup).doc
- 生活急救常识(Life emergency tips).doc
- 生物地理总复习(Biogeography review).doc
- 生物基本知识大全(Basic knowledge of Biology).doc
- 生物期末试题(Biology final examination).doc
- 生物论文(Biological papers).doc
- 生理习题名词解释(Explanation of physiological exercises nouns).doc
文档评论(0)