Solved

Setup proxy that points to two different servers

Posted on 2011-09-07
5
363 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
ADCs have gained traction within the last decade, largely due to increased demand for legacy load balancing appliances to handle more advanced application delivery requirements and improve application performance.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
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…

856 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