Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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)

share|improve this question
    
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. –  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. –  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
show 5 more comments

1 Answer 1

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

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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