Results 1 to 6 of 6
Hi all,
I have a proxy server installed in RHEL 5.4. Now I want to create a cluster for this when one proxy server fails(due to maintenance or due to ...
- 11-04-2011 #1Just Joined!
- Join Date
- Oct 2010
- Location
- Hyderabad
- Posts
- 7
Cluster for Squid proxy server
Hi all,
I have a proxy server installed in RHEL 5.4. Now I want to create a cluster for this when one proxy server fails(due to maintenance or due to power prob), the second one should serve the user requests. I have no idea about how to create cluster in linux. I have tried searching in google also but I didnt understand anything. Hence, if anybody can help me in this, it would be great. I have been trying for this from long time, but not able to do successfully. I ll just shutdown first server, and the second one should work. Thats how I am planning to test whether cluster is working fine or not. Can anyone help me in this way please.....
- 11-05-2011 #2Just Joined!
- Join Date
- Oct 2011
- Posts
- 50
you will need to share one IP between the 2 servers and use heartbeat to monitor and switch the IP between the 2 servers when one is down
- 11-05-2011 #3Just Joined!
- Join Date
- Oct 2010
- Location
- Hyderabad
- Posts
- 7
Hi,vasile002. Thank you for sharing your reply, but can you please give me the complete step to step installation please....
- 11-05-2011 #4
Frankly, that is a bit much to ask.
You can start here:
LVS DocumentationYou must always face the curtain with a bow.
- 11-05-2011 #5
Another approach would be to deploy 2 or more squid machines with no automatic failover.
Then let the browser choose the proxy via a proxy.pac file
ProxyPACFiles.com - The Practical Proxy PAC file guide
This might not be possible in all usecases.
Also: as part of the config is now on each client machine, troubleshooting might be harder.You must always face the curtain with a bow.
- 11-09-2011 #6Just Joined!
- Join Date
- Oct 2011
- Posts
- 50
the first thing you will need is to get an IP that you can switch between the 2 servers. The servers will need to be in the same room and the ISP will need to make that change possible.
as to heartbeat, the default configs are fine and you can add only the IP switch to the haresources file
just read the official heartbeat docs


Reply With Quote