Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Thu May 15, 2014 12:11 am 
Offline
Newbie

Joined: Tue May 13, 2014 1:15 pm
Posts: 3
I'm interested in setting up a geo-redundant cluster using linode. I want to hedge against an entire datacenter going down. I'm sure some of you have done this already. Since the Node Balancer only works within a single datacenter, what 3rd Party Load Balancing services would you recommend that are compatible with Linode?


Top
   
PostPosted: Thu May 15, 2014 3:18 pm 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
We are looking to accomplish something similar for two of our clients. I think I'm going to use a small VPS in "location 3" to check the status of the server in "location 1" every minute and use the Linode API to change the DNS of the domains to "location 2" if the location 1 server isn't available.


Top
   
PostPosted: Thu May 15, 2014 4:14 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
Just to note, DNS failover isn't that reliable, you have to hope that whatever DNS resolver the client is using respects TTLs (ISPs often ignore them) and some browsers don't always obey TTLS (firefox for example requires a restart).

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Thu May 15, 2014 4:29 pm 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
obs,
Luckily for me both clients are rather small and I can dictate software & configurations. AFA DNS failover, I'm going to have to test what works best. I'm hoping that if I use Linode's DNS servers that I can use the API to change IP's and that I can have very low TTLs.


Top
   
PostPosted: Thu May 15, 2014 4:45 pm 
Offline
Newbie

Joined: Tue May 13, 2014 1:15 pm
Posts: 3
I did find that Rackspace load balancers support any IP address. Wondering if anyone else has other suggestions.


Top
   
PostPosted: Thu May 15, 2014 5:20 pm 
Offline
Senior Member

Joined: Sun Mar 07, 2010 7:47 pm
Posts: 1970
Website: http://www.rwky.net
Location: Earth
MSJ if you use Linode's nameservers be aware that they only update every quarter hour so if the api call hits at 00:01 you'll have to wait 14 minutes for it to take effect regardless of the TTL.

ballagas, I maybe wrong but I believe that rackspace's load balancers don't fail across DCs so you'd still have a single point of failure in that the loadbalancer is in one DC.

To achieve a decent cross-dc failover system you need to be able to redirect your IPs to different servers, services like cloudflare and incapsula can do this but I find their stability (or lack of) isn't worth it. It has been several months since I last tested them so YMMV.

_________________
Paid support
How to ask for help
1. Give details of your problem
2. Post any errors
3. Post relevant logs.
4. Don't hide details i.e. your domain, it just makes things harder
5. Be polite or you'll be eaten by a grue


Top
   
PostPosted: Thu May 15, 2014 5:48 pm 
Offline
Senior Member

Joined: Mon Jan 02, 2012 12:45 pm
Posts: 365
obs, thanks for the tip. A 14:59 possibility is not what I'm looking for.

I'll have to look into redirecting manually (perhaps using a subdomain?), or some other method for making this type of magic happen without updating the DNS. I'll have to figure out a way to do it without a big performance hit.


Top
   
PostPosted: Thu May 15, 2014 6:12 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
From the DNS front, I've had good luck with DNSMadeEasy in the past, and the price is comparatively trivial. I'd take a look at their stuff for DNS failover before rolling my own. (There are numerous other providers of this service, they're just the ones I've used.)

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


Top
   
PostPosted: Thu May 15, 2014 6:15 pm 
Offline
Newbie

Joined: Tue May 13, 2014 1:15 pm
Posts: 3
Does anyone have experience with CDNs for fail-over load balancing, something like Fastly (https://www.fastly.com/) or Cedexis (http://www.cedexis.com/)


Top
   
PostPosted: Mon May 26, 2014 1:49 pm 
Offline
Senior Member

Joined: Sat Jun 12, 2010 4:53 pm
Posts: 77
It would have to be a DNS solution - one that will allow a healthcheck on a target and the ability to then automatically switch DNS to a healthy target.

Amazon has this in their Route53 DNS.


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


Who is online

Users browsing this forum: No registered users and 7 guests


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