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]
       *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 port 59254 connected with 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)

  • 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. – Ben Lessani - Sonassi Mar 21 '12 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). – Mike Curry Mar 21 '12 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. – Ben Lessani - Sonassi Mar 21 '12 at 14:15
  • Just ran iperf... Transfer: 30.2 MBytes Bandwidth: 25.2 Mbits/sec to 36.9 Mbits/sec – Mike Curry Mar 21 '12 at 16:11
  • How does DRBD need an interface? Don't you specify the IP addresses in the config file? – Mark Wagner Mar 21 '12 at 16:33

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.