load balance a simple cluster of tomcat6 instances using apache2 mod_jk
Hi Good Fellas,
Since you end up on this page, it means you might be facing some issues setting up an apache2 in front of tomcat using the infamous mod_jk. Yes there are times when as a programmer or a up coming system administrator (both my case) you are asked to setup a load balancer.
On the internet, one must admit that there are various ways to achieve this and after a couple of reading on different technics one becomes very confused. At the time of writing this blog, I haven’t found any concrete and complete tutorial on how to achieve it using ubuntu’s way of organizing files.
In this first post i will focus on how to install multiple instances of tomcat running concurrently each without conflict. we will be using
- openjdk-7
- tomcat6
- apache2
This post is split into 3 parts
- part 1 : Seting up multiples instance of Tomcat
- part 2 : Load Balance the instances with apache2 mod_jk
- part 3 : Preparing Servers for clustering