httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From enabors <enab...@saa.com>
Subject Re: [users@httpd] Load Balancing, no fail over when backend server is down?
Date Fri, 20 Apr 2012 16:23:25 GMT
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-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message