Being new to Tomcat infrastructure, I am wondering what an advisable setup would be to have two physical machines each running a tomcat instance to be load-balanced and capable of failover to each other? I have seen lots of posts, but to me it is still not clear what the best implementation would be.
Do I need an Apache webserver to achieve this? Or is it better to use a hardware load-balancer? etc.. How do I get the two tomcat servers to form some kind of failover? any remarks would be highly appreciated.
Best Answer
http://tomcat.apache.org/tomcat-6.0-doc/balancer-howto.html
http://tomcat.apache.org/tomcat-6.0-doc/cluster-howto.html