Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: simple failover setup?
PostPosted: Tue Nov 23, 2010 2:37 pm 
Offline
Senior Member

Joined: Sat Oct 23, 2010 12:56 pm
Posts: 73
Website: http://www.ingber.com
Location: Oregon
I have looked into some vendors that handle round-robin and failover services, and I see some problems with their setups and/or pricing models. Would the following be a sound method:

I have a Linode VPS and a VPSone (micro-)VPS, both under Ubuntu 10.10, with Webmin control panels, and with the www pages all rsync'd.

Currently, Network Solutions is the registrar of my domain, and is the place where I manage my DNS Records. I use Google Apps for my MX and SRV Records. I have NetSol Nameservers in use. I have my A records pointed to my Linode VPS. If Linode looks like it will be down for more than half a day I could manually point my A records to VPSone.

Can I simply do the following:

I would use Webmin on both VPSs to set up my DNS records. (I have not done this previously.) The MX and SRV records would be the same, but the A records would be different, A records on Linode pointed to my Linode VPS, and A records on VPSone pointed to my VPSone VPS.

On NetSol I would list say 4 Nameservers, 2 for Linode and 2 for VPSone. I would have the Linode Nameservers first, which I assume would mean that most of the time most queries would go to Linode, my primary VPS.

Any feedback would be appreciated.

Thanks.

_________________
http://www.ingber.com


Top
   
 Post subject:
PostPosted: Tue Nov 23, 2010 10:27 pm 
Offline
Junior Member

Joined: Sun Apr 17, 2005 4:19 pm
Posts: 41
I'm not an expert on DNS, but I'm pretty certain that just because you list your linode name servers first that doesn't mean that they will get the majority of the traffic. And what if the webserver on Linode dies? How does the system know to switch over to the VPSone server?


Last edited by Brian Puccio on Wed Nov 24, 2010 9:55 am, edited 1 time in total.

Top
   
 Post subject:
PostPosted: Wed Nov 24, 2010 9:09 am 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
Except where otherwise specified (e.g. with weights on MX and SRV records), DNS records are unordered. So, the traffic would be evenly split between the two.

Your best bet would be to use a third-party DNS provider, then adjust the A record when required. Some (such as dnsmadeeasy.com) also offer a monitoring service that will change the record for you.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group