1 of 1 people found this helpful
great question. The answer is "mod_jk domains". The domain is the concept that will allow loadbalancer to indentify which nodes to failover on to. So in your case 1->2, 2->1, 3->4 or 4->3. You will have to configure property
worker.node1.domain=group1 for your workers.
Check out this document to see how to configure https://community.jboss.org/wiki/LoadBalancingWithModjkDomainDirective
Thanks Radoslav for your answer , I however did figure out a parallel way of acheving the same thing. Here are my config files :