Thank you for support, we have fixed our issues. 
Ha. 
----- Original Message -----

From: "Brendan Kearney" <[email protected]> 
To: [email protected] 
Sent: Friday, March 20, 2015 8:29:07 PM 
Subject: HAProxy and site failover 

hi, first time / long time... 

i am wondering if the ability exists in HAProxy to reply to a HTTP proxy 
request with a reset (RST) if no backend server is available. 

the scenario goes as such: 
i have a proxy pac file that assigns multiple proxies to all clients, 
and through the logic tree in the pac file, the proxies are assigned in 
a specific order. i have multiple sites with load balanced proxies, and 
the intention is to provide site failover, should a larger event occur 
like ISP issues that breaks internet access. with the pac file 
assigning all proxy VIPs to the client, should the default VIP not have 
an available backend server to fulfill the request, i would want to 
configure HAProxy to send a reset to the client, indicating that the 
next assigned proxy should be used. 

with site failover happening transparently, a user who would normally 
browse through the proxy/proxies at site1 would be automatically failed 
over and browse through the proxy/proxies at site2. if no servers were 
available in site2, then the next assigned proxy would be used and 
failures with RST replies would result in failovers until all assigned 
proxies are exhausted. 

the intention is not to provide / assign hundreds of proxies in the pac 
file, but to provide resiliency with a couple of sites serving as 
backups to each other, should an event warrant it. 

thank you, 

brendan kearney 



Reply via email to