hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Web Hosting : Routing & mirroring
Reply

Web Hosting Discussions on all aspects of web hosting including past experiences (both negative and positive), choosing a host, questions and answers, and other related subjects. If your service is unavailable, please click here.
Forum Jump

Routing & mirroring

Reply Post New Thread In Web Hosting Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 08-21-2001, 10:13 PM
Cyberpunk Cyberpunk is offline
Web Hosting Evangelist
 
Join Date: Feb 2001
Location: UK
Posts: 458

Routing & mirroring


Heres what I am thinking.

In as seamless and search engine friendly way I want to set up some domain names to point to site on host A but if host A goes down or is unreachable I want visitors to go to site on Host B instead. Host A mirrors to host B in the event of this happening.

Ideally this should occur when a visitor hits the domain name and without them having to go through a splash/door or click on anything.

How could this be done? Be as verbose as you think you need to be please.

Thanks.

Reply With Quote


Sponsored Links
  #2  
Old 08-21-2001, 11:34 PM
Gunzour Gunzour is offline
Junior Guru Wannabe
 
Join Date: Aug 2001
Location: Maryland
Posts: 35
If host A and B are on the same physical network, set up host B to regularly monitor host A by pinging it. If host A goes down, have host B bring up a virtual interface with host A's IP address and start serving mirrored content.

If they are not on the same physical network, having host B claim A's IP address will do no good because it will be on the wrong network (i.e. no routing in place). The only way I could think of in this situation would be to use some sort of dynamic DNS setup where the DNS server detects that host A is down and changes the DNS to point to host B.

If you have money to spend, there are plenty of vendors that offer solutions to this problem. Cisco's Local Director (for servers on the same network) or Distributed Director (for servers on geographically separate networks) can do this, as can many other pieces of hardware. The more robust a solution you need, the more money you will need to spend.

Doug

Reply With Quote
  #3  
Old 08-21-2001, 11:52 PM
Cyberpunk Cyberpunk is offline
Web Hosting Evangelist
 
Join Date: Feb 2001
Location: UK
Posts: 458
Thanks

Host A and Host B would be on different networks to maximise chances of second site being up if first fails. I have no physical access to the networks. I am looking at starting a hosting company and I want to make sure there is a backup site if the server goes down for any reason.

Would any of the domain name registrars offer this facilty? I've never seen it mentioned. Are there any companies offer this intermediary service?

Money might not be a problem, depends how much

edit > just came across zoneedit , this is something like what I had in mind. Anyone got experience of this service or pointers to other sites offering similar?


Last edited by Cyberpunk; 08-22-2001 at 12:26 AM.
Reply With Quote
Sponsored Links
  #4  
Old 08-22-2001, 12:29 AM
Tobarja Tobarja is offline
Aspiring Evangelist
 
Join Date: Jun 2001
Location: North Carolina, USA
Posts: 363
Hmm... is this even any better?

So now, we're relying on a third point of failure that has the capability of totally removing access to both servers!

Is this devil's advocate? I seem to be doing this alot recently...

__________________
I am now Tobarja.

Reply With Quote
  #5  
Old 08-22-2001, 12:46 AM
Cyberpunk Cyberpunk is offline
Web Hosting Evangelist
 
Join Date: Feb 2001
Location: UK
Posts: 458
Agreed

I dont like the thought of that either. Thats why I'd prefer to find a registrar that does this, that way its an extension of a normal existing set up. Emailed the questions to a couple of registrars, waiting for replies.

Reply With Quote
  #6  
Old 08-22-2001, 01:25 AM
ReliableServers ReliableServers is offline
Web Hosting Master
 
Join Date: Apr 2001
Posts: 1,041
how does the zoneedit one work? Does it just ping the ips in the list for the domain(server A and B) and if a ping doesnt get thru it pulls the ip A/B from the dns record? Im sure you could set up a script on your dns servers to do that for you yourself.

__________________
Colocation | Cloud Servers | Dedicated Servers | CDN
1000 Gbps Network | NJ DataCenters
848-480-1000 | 866-224-6672

Reply With Quote
  #7  
Old 08-22-2001, 01:57 AM
cperciva cperciva is offline
Retired Moderator
 
Join Date: Jan 2001
Posts: 2,603
The solution is to muck about with DNS. Set your domain's nameservers to Host A and Host B. Use small DNS TTL values (eg 60 seconds) to ensure that incorrect data isn't kept cached for very long.

If you want requests to be split between the two hosts, with all the requests going to a single host if the other is non-responsive, then have each host claim ownership of the site -- ie, have each host give its own IP address (and only that address) in response to queries: Since DNS requests will normally be equally split across the two hosts, HTTP requests will be split, but if one host goes down it will not respond to DNS queries, causing all the requests to go to the second host (after a short delay while the first DNS request times out).

If you want all HTTP requests to go to the first host unless that host is down, have the second host monitor the status of the first; if the first fails to respond, the second host should start to publish its own address in response to DNS queries (but otherwise publish only the first address).

Basically the point is that DNS automatically "routes around failure" by asking different name servers if the first fails to respond; since not responding to HTTP queries is practically equivalent to not responding to DNS queries you can use this feature to route HTTP requests to the correct host.

Of course, notwithstanding all preceeding, this likely isn't a good idea unless you are only going to be serving static content; any sort of dynamic content is likely to get very icky when distributed over a WAN.

__________________
Dr. Colin Percival, FreeBSD Security Officer
Online backups for the truly paranoid: http://www.tarsnap.com/

Reply With Quote
  #8  
Old 08-22-2001, 12:06 PM
Cyberpunk Cyberpunk is offline
Web Hosting Evangelist
 
Join Date: Feb 2001
Location: UK
Posts: 458
Thanks

There will be some dynamic content in the form of ssi.

Unfortunately I will not have direct access to the dns servers either.

I have never seen anything to do with ttl values etc on domain registrars options for dns for a domain name, how would this be accomplished?. I would definately need all requests to go to host A unless it is down, then go to host B. I am looking at mirroring host A to host B about 1 - 4 times a day, this should be enough.

If I were to set host A's nameservers first and then host B's nameservers second on the domain name would it automatically try the first one and then resolve to the second one? Would the naming convention of the nameservers have any effect, ie - ns1 & 2, ns 3 & 4, etc.

Reply With Quote
  #9  
Old 08-22-2001, 01:56 PM
Eat Crow Eat Crow is offline
Junior Guru Wannabe
 
Join Date: May 2001
Posts: 40
You would need access to the dns record for the domain name in order to change the ttl values... or you would need someone that has access to take care of this... It is not a domain registration issue, but rather a host/dns issue.

__________________
-+-+-+-+-+-+-+-+
Crow

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
Heroku Describes Ruby on Rails Application Performance Issues Web Hosting News 2013-02-20 13:00:51
Go Daddy Identifies Causes of September 10 DNS Failure in Detailed Postmortem Post Web Hosting News 2012-11-12 13:49:14
Yottaa Receives Patent for Web Performance Optimization, Traffic Processing Web Hosting News 2012-02-28 16:01:13
Former Juniper Networks Execs Join Cisco Service Provider Sales Team Web Hosting News 2011-08-05 20:47:59
Web Host Intermedia Launches “Virtual Receptionist” Service Web Hosting News 2011-06-13 15:40:10


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?