Horizontal clustering in Apache Tomcat 7
For horizontal clustering, we have to configure at least two instances of Apache Tomcat on two different physical or virtual systems. These physical machines can be on the same physical network. It also helps in providing a high-speed bandwidth to the system.
Tip
If you want to configure clustering on different networks, then you have to open the firewall between the two networks for the AJP port and the clustering port.
There are prerequisites for configuring horizontal clustering. The following are the details:
- Time sync between the two servers
- Proper network connectivity between the two servers
- Firewall ports between the two servers (if you are connecting from a different network)
In order to configure horizontal ...
Get Apache Tomcat 7 Essentials now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.