Backend servers sending 503 status in the worker's header can be used in the
balancer to mark it as Err.

The config is like this w/ failonstatus=503


Header add Set-Cookie "BALANCEID=backend.%{BALANCER_WORKER_ROUTE}e; path=/;"
env=BALANCER_ROUTE_CHANGED


ProxyRequests Off
ProxyPreserveHost On
<Proxy balancer://mycluser/>
BalancerMember http://venus.saa.com/ route=venus
BalancerMember http://saturn.saa.com/ route=saturn
</Proxy>
ProxyPass /balancer-manager !

ProxyPass /  balancer://mycluser/  stickysession=BALANCEID nofailover=Off 
failonstatus=503


ProxyPassReverse /  balancer://mycluser/


--
View this message in context: 
http://apache-http-server.18135.n6.nabble.com/users-httpd-Load-Balancing-no-fail-over-when-backend-server-is-down-tp4741407p4902482.html
Sent from the Apache HTTP Server - Users mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to