Re: Load Balancing, no fail over when backend server is down?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux