Hi Team,
We are currently using below configuring we are using in our web servers ( 2 servers) for the LB and to maintain stikysession. As per this configurations, the requests are always reaching to sandeep1 server and on failure of this node, the request is reaching to sandeep2. Failover is happening but not the actual LB. To achieve the LB, we did the same configuration in our other web server by reversing the BalancerMember.
ProxyPass /sandeep balancer://mycluster/
Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED
<Proxy balancer://mycluster>
BalancerMember route=1
BalancerMember route=2
ProxySet stickysession=ROUTEID
</Proxy>
ProxyPassReverse /sandeep balancer://sandeep
Now, we have a requirement to add a third server to this LB and need your help in the configurations. Adding 'BalancerMember route=3' is going to handle the requests only up on above two servers failure.
Please suggest me on the configurations for the actual LB between three tomcat servers.
Thanks,
Sandeep Kumar S
We are currently using below configuring we are using in our web servers ( 2 servers) for the LB and to maintain stikysession. As per this configurations, the requests are always reaching to sandeep1 server and on failure of this node, the request is reaching to sandeep2. Failover is happening but not the actual LB. To achieve the LB, we did the same configuration in our other web server by reversing the BalancerMember.
ProxyPass /sandeep balancer://mycluster/
Header add Set-Cookie "ROUTEID=.%{BALANCER_WORKER_ROUTE}e; path=/" env=BALANCER_ROUTE_CHANGED
<Proxy balancer://mycluster>
BalancerMember route=1
BalancerMember route=2
ProxySet stickysession=ROUTEID
</Proxy>
ProxyPassReverse /sandeep balancer://sandeep
Now, we have a requirement to add a third server to this LB and need your help in the configurations. Adding 'BalancerMember route=3' is going to handle the requests only up on above two servers failure.
Please suggest me on the configurations for the actual LB between three tomcat servers.
Thanks,
Sandeep Kumar S