Vertical clustering in Apache Tomcat 7
In the previous topics, we have discussed the different types of cluster architecture, supported by Apache Tomcat 7. It's time to take a real-time challenge to implement clustering. Let's start with vertical clustering.
For vertical clustering, we have to configure at least two instances of Apache Tomcat and the complete process consists of three stages. Let's discuss and implement the steps for vertical cluster in Tomcat 7:
1. Installation of the Tomcat instance.
2. Configuration of the cluster.
3. Apache HTTP web server configuration for the vertical cluster.
Installation of the Tomcat instance
The installation of Apache Tomcat 7 can be done in three easy steps:
1. Download and unzip the software in the required directory.
2. Install the JDK and set the
JAVA_HOME
.3. Copy the Apache Tomcat source code in two different directories, for example,
/opt/tomcatX
(whereX=
instance number) and verify that the files are properly copied on both instances, using...