Calgarypuck Forums - The Unofficial Calgary Flames Fan Community

Go Back   Calgarypuck Forums - The Unofficial Calgary Flames Fan Community > Main Forums > The Off Topic Forum > Tech Talk
Register Forum Rules FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 07-23-2009, 03:27 PM   #1
Madman
Franchise Player
 
Madman's Avatar
 
Join Date: Mar 2004
Exp:
Default 2 IPs 1 Cup

Actually, 2 IPs 1 domain techincally. I was going to go ask my IT department, but this is much easier and I won't get looked at funny.

I'm looking how to have one domain, but 2 separate IPs to have fault tolerance between 2 servers.

I want one server to be the primary server and where everyone is directed to first when they hit the domain name. In the event that the first IP is unreachable, then the user would be directed to the second IP.

I've read about "round robin" dns stuff, but I don't want the second server to be used unless absolutely necessary as co-location bandwidth overage charges are not something we like to pay for if we don't have to.

Is there a DNS service out there that can do something like this? How about one that is smart enough to take the primary IP offline automatically, or for a certain period of time if it isn't responding?

Any help would be appreciated.
Madman is offline   Reply With Quote
Old 07-23-2009, 03:34 PM   #2
sclitheroe
#1 Goaltender
 
Join Date: Sep 2005
Exp:
Default

You could load balance them with priorities configured, that is pretty easy to set up on Windows 2003/2008, and pretty simple on Linux too I would imagine. This isn't an ideal configuration, because if the primary server is up, but web services are down, WLBS will continue to direct traffic to it.

A purely DNS solution isn't ideal for internet facing servers, as DNS caching upstream is going to cause issues, I would think, unless you run your own DNS server and want to handle the additional traffic of constant lookups using non-cacheable entries. I'm not sure how widely supported a TTL of 0 at any rate.
__________________
-Scott

Last edited by sclitheroe; 07-23-2009 at 03:43 PM.
sclitheroe is offline   Reply With Quote
The Following User Says Thank You to sclitheroe For This Useful Post:
Old 07-23-2009, 03:38 PM   #3
Madman
Franchise Player
 
Madman's Avatar
 
Join Date: Mar 2004
Exp:
Default

The servers are at two different locations and the second server's purpose in life is to act strictly as a backup if the main server goes down for any reason - I don't want to load balance them.
Madman is offline   Reply With Quote
Old 07-23-2009, 03:47 PM   #4
Barnes
Franchise Player
 
Barnes's Avatar
 
Join Date: Aug 2005
Location: Violating Copyrights
Exp:
Default

Our IT department will look at you funny regardless.
Barnes is offline   Reply With Quote
Old 07-23-2009, 03:50 PM   #5
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

http://support.easydns.com/Failoverfaq.php

DNS changes aren't instant and aren't 100% reliable either; not everyone obeys the ttl. I've read that most providers won't even obey a ttl of less than half an hour I think, so half an hour is kind of the minimum amount of downtime you will see with this kind of solution. Plus having a low ttl means more DNS requests which means more expensive DNS.

So the question is how much downtime is acceptable?
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
The Following User Says Thank You to photon For This Useful Post:
Old 07-23-2009, 04:10 PM   #6
Madman
Franchise Player
 
Madman's Avatar
 
Join Date: Mar 2004
Exp:
Default

Thanks all, except you Barnes.

Good info to work with.
Madman is offline   Reply With Quote
Old 07-23-2009, 05:08 PM   #7
photon
The new goggles also do nothing.
 
photon's Avatar
 
Join Date: Oct 2001
Location: Calgary
Exp:
Default

There are other options available if you need much higher uptime. I think there are services that put a proxy load balancer in front of the sites, so the IP doesn't change, but the load balancer will use one or the other depending on what's required (i.e. don't use it to balance, just to do failover).
__________________
Uncertainty is an uncomfortable position.
But certainty is an absurd one.
photon is offline   Reply With Quote
Old 07-23-2009, 11:14 PM   #8
Bibtin Tex
Powerplay Quarterback
 
Bibtin Tex's Avatar
 
Join Date: Oct 2008
Location: hammer of justice crushes you
Exp:
Default

Thread title is misleading
Bibtin Tex is offline   Reply With Quote
The Following User Says Thank You to Bibtin Tex For This Useful Post:
Old 07-24-2009, 08:18 AM   #9
Phaneuf3
First Line Centre
 
Join Date: Oct 2005
Exp:
Default

Quote:
Originally Posted by photon View Post
There are other options available if you need much higher uptime. I think there are services that put a proxy load balancer in front of the sites, so the IP doesn't change, but the load balancer will use one or the other depending on what's required (i.e. don't use it to balance, just to do failover).
This is the first thing I thought of when I opened the thread.
Phaneuf3 is offline   Reply With Quote
Reply


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 On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 01:25 PM.

Calgary Flames
2024-25




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright Calgarypuck 2021 | See Our Privacy Policy