2

We are trying to mirror a volumes over a geographical zone using DRBD (and Ubuntu 11.10). We are using elastic IP's - however there is no local interface for Elastic IP's - only an interface for a local IP. Thus, DRBD will not work as it needs an interface.

I've thought about using VIP or VPN to be able to use local IP's, but that would degrade the connection as its another layer.

Any thoughts or ideas?

          [US EAST 1]                             [US WEST 1]
[EC2-INSTANCE] -> [ELASTIC-IP] -> DRBD <- [ELASTIC-IP] <- [EC2-INSTANCE]
       *no eth interface*                     *no eth interface*

Edit: Alternative solutions (to DRBD/Clustering/Replciating) are more than welcome!

Edit 2:


Client connecting to address.com, TCP port 5001

TCP window size: 16.0 KByte (default)

[ 3] local 10.160.27.107 port 59254 connected with 107.21.118.27 port 5001 [ ID] Interval Transfer Bandwidth [ 3] 0.0-10.0 sec 44.1 MBytes 36.9 Mbits/sec

(Mbits/sec was 25 to 36)

10
  • Does the replication have to be in real time? DRBD overheads will cripple IOWait whilst replicating over the internet. Anything less than 100MBit will have a pretty terrible effect on overall performance. Also, using block replication over public IPs doesn't sound too bright, especially in a cloud environment where packet sniffing is ripe. Mar 21, 2012 at 13:17
  • 1
    So basically we'd be looking at using a VIP or VPN to encrypt the traffic and connect the two regions then? The connection between the two is likely fiber (Amazon Region to Region).
    – Kladskull
    Mar 21, 2012 at 14:10
  • Have you ran a speed test between the two sites, using iperf. I would imagine there is some QoS going on that will rate limit you down. Mar 21, 2012 at 14:15
  • Just ran iperf... Transfer: 30.2 MBytes Bandwidth: 25.2 Mbits/sec to 36.9 Mbits/sec
    – Kladskull
    Mar 21, 2012 at 16:11
  • How does DRBD need an interface? Don't you specify the IP addresses in the config file? Mar 21, 2012 at 16:33

1 Answer 1

0

The Elastic IP isnt a new interface, its a public IP that maps to an interface. So if you have an instance with one interface, and you bind an EIP to it, traffic sent to that IP will go to that interface

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .