Solved

Setup proxy that points to two different servers

Posted on 2011-09-07
5
353 Views
Last Modified: 2012-05-12
Using a proxy service that requires to install the squid client side proxy on site. Client side Proxy is installed on two servers and clients are pointing to one of them through group policy. I am able to only point to one at time. Would like to point to one and failover to the other if the first one is down,or have load balanced.  Which is the best way to accomplish this.
0
Comment
Question by:jheg
  • 3
  • 2
5 Comments
 
LVL 13

Expert Comment

by:khairil
ID: 36498489
Hi,

You can do this by using network load balancer, which is expensive OR by using DNS round robin.

We are using round robin for our external DNS, but you can do this on local DNS to.

I not sure what DNS server you are using:
1. If linux, then hopefully this will help, http://www.cyberciti.biz/faq/how-do-i-setup-round-robin-dns/
2. If windows, then try this, http://technet.microsoft.com/en-us/library/cc787484(WS.10).aspx
0
 

Author Comment

by:jheg
ID: 36499095
Thanks for the quick response, this would provide a load balancing capacity, but think I would be better off with more of fail over. Requests go to same server until down then try another.

If that is not possible, what happens if one of the servers in the round robin go down? Do all requests automatically go the other server?
0
 
LVL 13

Expert Comment

by:khairil
ID: 36499193
Yup the the problem with DNS round robin.

Windows do have some sort of clustering and monitoring server to handle this kind of problem, but personally I never experience it as we are moving toward hardware LB. Hope this info can help you, http://technet.microsoft.com/en-us/library/cc770558.aspx on network LB.
0
 

Author Comment

by:jheg
ID: 36499240
I was hoping for someting that does not bind two servers. I have different applications on each server, they only share the sqid proxy client.

Basically I just want a solution to point each client's proxy to an address and that address goes to one proxy server and if goes down to another. If not automaticall then something we can do manually that wont take a long time to propagate to all clients, so they will internet access as soon as possible.
0
 
LVL 13

Accepted Solution

by:
khairil earned 500 total points
ID: 36500269
Emm.. correct me if I wrong... you want something to change the proxy server setting of the client browser when something goes wrong? Is it?

If it is then try implement Web Proxy Auto Discovery, http://en.wikipedia.org/wiki/Web_Proxy_Autodiscovery_Protocol, you need to do some configuration. Microsoft and Squid have support on implementing WPAD. Here is how to do on linux box with squid, http://malforge.com/node/10

You can edit and change the file manually when one of the proxies down, changes will be acknowledge by user browser without their concern. You must set the broswer to do automatic discovery in order to use this method.
0

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Let’s list some of the technologies that enable smooth teleworking. 
Join Greg Farro and Ethan Banks from Packet Pushers (http://packetpushers.net/podcast/podcasts/pq-show-93-smart-network-monitoring-paessler-sponsored/) and Greg Ross from Paessler (https://www.paessler.com/prtg) for a discussion about smart network …
Viewers will learn how to connect to a wireless network using the network security key. They will also learn how to access the IP address and DNS server for connections that must be done manually. After setting up a router, find the network security…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now