Deploy multiple sets of Tomcat load balancers (or clusters) on the same computer

Source: Internet
Author: User

This may be a rare requirement, but if the server is not available on hand. You might consider doing this first.

Specific Tomcat how to build a cluster, it is not here to elaborate. Write only the same computer to deploy multiple sets of clusters need to be modified and noted.

First, Apache

First Apache, the same computer installed more than one Apache need to copy the original copies.

Modify conf/httpd.conf

1. There will be some Apache paths in the file that need to be replaced with a new location

2. The port number needs to be changed

Then add Service: admin right open cmd switch to new Apache directory under execution:httpd-k install-n apache2.2_2

Second, Tomcat

Next is Tomcat, in addition to the normal cluster needs to change the port, but also need to change a place.

Note: The port number needs to be consistent here in the same group of machines. Otherwise, Tomcat cannot be associated with each other.

At this point, you can deploy two sets of load balancing (clusters) on the same computer.

Deploy multiple sets of Tomcat load balancers (or clusters) on the same computer

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.