#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2012
    Location
    London
    Posts
    16
    Rep Power
    0

    Disaster recovery networking solution


    Do any network specialists here have a tip on Disaster recovery networking solution?

    Which is the best way of having a server in one data centre sharing the same IP with a server in a secondary data centre. If the primary datacentre or server fails the secondary one will take over

    Thanks!

    Steve
  2. #2
  3. No Profile Picture
    Lost in code
    Devshed Supreme Being (6500+ posts)

    Join Date
    Dec 2004
    Posts
    8,317
    Rep Power
    7170
    I could be wrong here, but I'm pretty sure you cannot share an IP address between two data centers. The point of an IP address is to route requests to a specific physical location.

    The point of a host name is to route a request to a specific logical location. If you needed to do failover from one datacenter to another you would update your DNS records to point at the IP addresses from the secondary data center rather than the first.

    Failing over across datacenters isn't necessarily going to be seamless, which is why they generally have things like backup generators that can run for days or weeks. For seamless failover you need the two servers in the same datacenter; then you can do this at the routing or load balancing level.
    PHP FAQ

    Originally Posted by Spad
    Ah USB, the only rectangular connector where you have to make 3 attempts before you get it the right way around
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2012
    Location
    London
    Posts
    16
    Rep Power
    0
    I heard you can use a BGP router.

    Comments on this post

    • AdamPI disagrees : No, that is not the right solution; see my answer below.
  6. #4
  7. Automagically Delicious
    Devshed Regular (2000 - 2499 posts)

    Join Date
    May 2004
    Location
    127.0.0.2 - I live next door.
    Posts
    2,200
    Rep Power
    2737
    The best way is to have a physical Load balancer. What this does is creates a "Virtual IP Address" that's shared for a pool of servers. So let's say the VIP is 192.168.1.5 but the "Real IP"s are 192.168.100.5, 192.168.100.6. You set your DNS entries up for the 192.168.1.5 and the traffic flows to the LB and it then distributes the load based on rules you've defined. E.g. round-robin, last-used, etc.

    I forget what the setting is, but there's a registry entry for Windows servers that allows for non-strict naming. Basically there's an issue where if you point to server.test.com and the LB sends you to server01.test.com; the actual "server01" won't recognize the other name even though the connection's come in correctly. Easy fix though and we do it here all the time.
    Adam TT

IMN logo majestic logo threadwatch logo seochat tools logo