Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

What would be http/ftp proxy failover solutions using open source tools?

I have one squid proxy server on virtual Linux server and need to make a failover server on another one. Proxy must be configurable by end users by manually entering DNS name and port.


locked by HopelessN00b Dec 5 '14 at 9:40

This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. This question and its answers are frozen and cannot be changed. More info: help center.

Do you need automatic failover, or are you simply looking for a way to replicate your existing configuration? 'Proxy must be configurable by end users' seems to imply that you only need manual failover? – Murali Suriar May 15 '09 at 13:20
I need automatic failover. 'Proxy must be configurable by end users' means, that I can not use autodetection of proxy server. – Kazimieras Aliulis May 15 '09 at 17:33
up vote 3 down vote accepted

It sounds like you need Linux-HA.

Project Goal

Provide a high availability (clustering) solution for Linux which promotes reliability, availability, and serviceability (RAS) through a community development effort.


Here I run 2 squid, linked through heartbeat : if one fail, the other takes hand. Easy to maintain.


proxy.pac? A user can configure it, and if you serve it right, you can use it for fail-over.

This solution does not fulfill requirement: "Proxy must be configurable by end users by manually entering DNS name and port." – Kazimieras Aliulis Jun 1 '09 at 9:05
Sorry - presumed your users would be able to enter the proxy.pac line instead (this is generally in the same place as they would enter a DNS name and port). If this is a step too far, you may be looking at the route of using VRRP or similar to provide HA capability. – Tom Newton Jun 1 '09 at 12:45

Not the answer you're looking for? Browse other questions tagged or ask your own question.