1

We recently had our datacenter's power go. We are protected by an SLA and use DNS to redirect users when a failure is detected. DNS isn't designed to do this by design. Is this the most practical way for dealing with failing over between datacenter's? The datacenter's in question are located in different countries. UK and US.

Anyone have any advice to give on this particular scenario?

EDIT: Cost effective as possible without BGP or other complex systems that require adding dedicated hardware.

Thanks

2
  • What services are hosted on A and B ? Are they the same services with some kind of load balancing? Can users connect to A and B and obtain the same informations ? Sep 12, 2010 at 16:28
  • 1
    The question can't be answered in its current form. OP doesn't mention which services need failover. There is no one-size-fits-all global failover solution. Please add more information -- services, is data replication part of the question, active-active (load sharing) DCs or active-passive failover... Hope this helps. :-)
    – user2874
    Sep 12, 2010 at 16:52

4 Answers 4

2

"Cost effective as possible without BGP or other complex systems" means exactly what you have now: DNS Failover (with a really low TTL on the records). -- Ghetto, Cheap and Reasonably Effective.

Absent additional information I would say BGP (possibly coupled with anycast) is probably the "best" solution, but this will require configuration and maintenance at both datacenters.

0
1

BGP. Basically, you use the BGP protocol to announce a route for your IP network. Normal route goes to datacenter A. If datacenter A fails, BGP announces a new route that leads to datacenter B.

Since this is real time routing information, it's almost transparent, Unlike DNS that requires records propagation, TTL expirations and so on...

It does, however, requires that you manage your pool of IP addresses using your own BGP routers. You need to discuss that with your ISP.

0

Depending on how important uptime is to you, and how much money you can lose per second of downtime, you may be able to invest into an Anycast deployment. If it's not extremely important, using DNS will be fine.

Assuming you're sending both IPs with an A request, the clients should request the second IP sent if the first one fails, it will just add a bit more time to a request.

0

A very good low-cost solution is using Zoneedit: It detects server when the main server is down and switches the DNS to a backup server.

You must log in to answer this question.