Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Setup proxy that points to two different servers

Posted on 2011-09-07
5
Medium Priority
?
383 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This program is used to assist in finding and resolving common problems with wireless connections.
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

704 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