Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 388
  • Last Modified:

Setup proxy that points to two different servers

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
jheg
Asked:
jheg
  • 3
  • 2
1 Solution
 
khairilCommented:
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
 
jhegAuthor Commented:
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
 
khairilCommented:
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
 
jhegAuthor Commented:
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
 
khairilCommented:
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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now