Failover to DR site with BGP

Unanswered Question
Apr 20th, 2007

I have a question about a failover scenario.

We have an MPLS WAN with BGP as the routing protocol.

There is a web server at the main site and a failover web server at the DR site.

Say the HQ site web server were to die, would this be a DNS issue or can BGP be configured to route to the new Web serve?

Would the BGP be presenting our public IP addresses and directing traffic to which one is more desired?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (2 ratings)
Loading.
Danilo Dy Fri, 04/20/2007 - 09:03

Hi,

First, both web server IP Address should be reachable thru internet BGP or no BGP (no BGP if you have static route to a single ISP). This is common nowadays.

Second, your DNS zone file TTL should not be higher than 1 hour (with high end compute nowadays this should be achievable). When the HQ site is down, change the "A" record for your web address from HQ IP Address to DR IP Address. Fro example;

from

www.example.com. IN A 192.0.34.166

to

www.example.com. IN A 192.0.35.166

If your web server have back-end application and/or database, make sure they are replicated/sync from HQ to DR site across private WAN and/or by Tape Media.

walleyewiz Fri, 04/20/2007 - 10:05

I agree completely. This is a DNS solution, not something for BGP. There are also some nice DNS solutions out there that will montior your website looking at the application and will automatically update DNS records in case of failure.

UltraDNS is one solution.

Wilson Samuel Fri, 04/20/2007 - 10:25

Hi,

We have something exactly what is being discussed over here.

The easiest way to manage this is with the help of the Content Networking, and to be very specific Content Routing. Ofcourse our organization started when I guess Cisco's CSS gear were not very popular hence thus far we have been using quite effectively on F5s.

Implementing DR using the BGP for services would not turn in to a cost effective solutions as the Peering / Routing cost would boost very high!

Regards,

Wilson Samuel

HTH

wilson_1234_2 Fri, 04/20/2007 - 12:21

According to the network team ( I have not been with this compnay very long), this is supposed to be handled by a CSS.

The CSS is supposed to redirect the traffic if the main site server is down to the dr web server.

How is this done?

acomiskey Fri, 04/20/2007 - 12:37

Here is the document for configuring GSLB with DNS on a CSS. Basically, the CSS pair becomes the authoritative dns for yourdomain.com. The A records are located on the CSS's themselves. There is an app session between the 2 CSS's in which they exchange service, keepalive information etc. If the primary service is up, via a keepalive of some sort, the CSS will resolve to that VIP (A record). If the service is down, the CSS will resolve to the backup VIP. It works really fast.

http://www.cisco.com/en/US/products/hw/contnetw/ps792/products_configuration_example09186a00801dcd75.shtml

wilson_1234_2 Fri, 04/20/2007 - 13:02

So,

There should be two of the CSS devices, one in HQ, the othere in DR site?

acomiskey Fri, 04/20/2007 - 14:35

Yes, in that scenario I believe they are sold in a pair as you need 2 for it to work.

Actions

This Discussion