Quantcast
Channel: HAProxy community - Latest topics
Viewing all articles
Browse latest Browse all 4729

Reserve backend server

$
0
0

@neok wrote:

I have this configuration that balances three squid proxies:
backend squid_pool
balance source
mode tcp
server px1 x.x.x.1:3128 check port 8181 send-proxy inter 2000 rise 2 fall 3
server px2 x.x.x.2:3128 check port 8181 send-proxy inter 2000 rise 2 fall 3
server px3 x.x.x.3:3128 check port 8181 send-proxy inter 2000 rise 2 fall 3

Now I want to change it so that the px3 server remains as reserve in case of failure of px1 or px2 and then, when the fallen server becomes available again (px1 or px2), that the connections return to the server that was back online and that the reserve server returns to be as reserve.
How should I achieve this configuration?
Thank you very much for your help.

Gabriel

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4729

Trending Articles