My OTV Take


After my recent DFW VMUG presentation where I spoke on the topic, a friend emailed me and asked what I thought about OTV.

“You mentioned that you were against OTV. Curious on your take on this, as we are using it across two datacenters using N7K, UCS, NetApp and VMware.”

I’d like to share my response to him here.

Please don’t get me wrong.  If one is forced to implement a Layer 2 Data Center Interconnect (DCI), OTV is probably the best solution.  Sometimes, L2 connectivity between data centers is a functional requirement – perhaps even a constraint.  In these cases, one should look at the benefits and risks of implementing an L2 DCI and then make an informed decision on whether they should continue with such a deployment.  Should they choose to deploy OTV, someone needs to accept the risks associated with OTV in its current implementation.

For instance, one problem that still exists with OTV in its current form is a traffic trombone should a VM move from one DC to the other, say from Data Center A to Data Center B.  OTV solves only half the traffic trombone problem through the use of FHRP Isolation.  Basically, only outbound traffic is path optimized. This is to say that the VM will see its default gateway exist in Data Center B and *not* Data Center A after the vMotion.  External clients with active connections to the VM as it is vMotioned (which is the whole point of a live migration – to keep active connections) from Data Center A to Data Center B  will still send traffic to Data Center A.  This causes external client traffic to traverse the WAN in order to reach the VM in Data Center B.

The other problem with OTV that if there is a broadcast storm in one data center, say, Data Center A, it can spill over into Data Center B provided that the VLAN in which the broadcast storm occurs is stretched across the WAN using the overlay.  Don’t mistake this for the STP Isolation that OTV offers.  STP Isolation says that STP BPDUs will not traverse the overlay.  When an STP BPDU reaches the OTV interface, it will be blocked from traversing the overlay.  STP Isolation does *not* block these broadcasts.  One must implement storm control or similar technologies to protect against these broadcast storms.

Some easy solutions to the traffic trombone problem would be to cold migrate the VM, reboot it once it’s in the far DC, or somehow kill all the current external connections once the VM is in the far DC.  That way, new connections will enter Data Center B in the first place, assuming your load balancers/DNS servers are aware of the move.  This problem can be solved somewhat easily without much downtime at the expense of losing active connections during the move from DC A to DC B.

The one big argument that has existed for decades and will likely continue is the fact that Layer 2 switching does not scale well.  And when you force one layer 2 domain (read VLAN) to exist in two data centers at the same time, you’ve now created a single fault domain out of which there used to be two.  Now, many folks will tell you that they’ve been using OTV for over a year and half with no problems.  Those same people will say that they’ve turned off Spanning Tree in their LAN because they’ve been burned by it in the past and they haven’t had any problems so far.  These are accidents waiting to happen.  Someone always plugs a cable into the wrong port, fat-fingers something at the CLI, a NIC starts flapping, or one could just wait for the next new software bug, but these problems always happen.  When they do, they’ll not only take out a VLAN in Data Center A, but they’ll also take out that same VLAN  in Data Center B.

Now, this is not to say, again, that sometimes, one seems to be forced to implement a L2 DCI, In these cases, just be sure to document your objections and be a good soldier.  Make sure the decision makers understand the risks and accept them.  Then implement and move on.

To say I’m against OTV just isn’t accurate.  I agree with smarter dudes than I that one should be sure that a Layer 3 solution wouldn’t work better before settling for a L2 DCI.  There are also some up and coming technologies that show promise in solving the traffic trombone, such as LISP.  As a note, as of today, beware that VXLAN is *not* a L2 DCI.

The January 2012 OTV primer from Cisco (http://www.cisco.com/en/US/docs/solutions/Enterprise/Data_Center/DCI/whitepaper/DCI3_OTV_Intro_WP.pdf) states their broadcast control policy as such (speaking to my broadcast storm statement above):

“Broadcast Policy Control

…OTV will provide additional functionality such as broadcast suppression, broadcast white-listing, and so on, to reduce the amount of overall Layer 2 broadcast traffic sent across the overlay. Details will be provided upon future functional availability. (emphasis mine)”

The way I read this, such broadcast control is not implemented yet.  Now, January 2012 is getting pretty dated.  I’m not familiar with newer documentation that states otherwise.

Google


3 Comments on “My OTV Take”

  1. Joel Knight says:

    Mike, well written. My only comment is about inbound traffic to the data center. As you say, OTV is not meant to solve the issue where client traffic hits the wrong data center and has to cross the DCI to reach the server. You do need to rely on your load balancers/GSS to optimize inbound traffic flows. Alternatively, a technology like LISP would work extremely well at optimizing those flows as well. No matter what though, you almost always need existing flows to continue to route through the original data center (where the VM lived prior to the hot move) in order to satisfy stateful services such as firewalls and load balancers. A thorough design would definitely optimize new flows though.

    Totally agree with this: “Make sure the decision makers understand the risks and accept them.”

  2. Chris Kane says:

    I have implemented a couple of ASR1K-based OTV solutions recently. You make a very good point about a trombone remaining for any traffic that I’d call north bound. It is the firewall state and external routing that have yet to be resolved. I’ve found that many clients are willing to accept traffic flowing east/west in order to return to the owning firewall. Since most have sufficient bandwidth on the L2 DCI/s they accept that traffic pattern in order to gain the DR-type mobility of moving Guests as dictated by load or disaster.

    I’m wondering if firewall vendors might be looking to create a ‘cluster’ solution extended across a Layer 2 DCI that will help better share state so that traffic can go directly north bound rather than having to make that extra east/west trip..?..

    As you mentioned, many of us are watching for the maturity and production adoption of LISP.

    Nice post.

    -chris

  3. Hi Chris,

    This is a conversation my architect and I have had recently. His point is essentially that, many times, there are CPU cycles and bandwidth to spare these days, especially with 10Gb links between sites. Perhaps if these do, indeed, exist in a particular situation, the decision for OTV is a bit easier.

    All the best,

    Mike


Leave a comment

vceplus-200-125    | boson-200-125    | training-cissp    | actualtests-cissp    | techexams-cissp    | gratisexams-300-075    | pearsonitcertification-210-260    | examsboost-210-260    | examsforall-210-260    | dumps4free-210-260    | reddit-210-260    | cisexams-352-001    | itexamfox-352-001    | passguaranteed-352-001    | passeasily-352-001    | freeccnastudyguide-200-120    | gocertify-200-120    | passcerty-200-120    | certifyguide-70-980    | dumpscollection-70-980    | examcollection-70-534    | cbtnuggets-210-065    | examfiles-400-051    | passitdump-400-051    | pearsonitcertification-70-462    | anderseide-70-347    | thomas-70-533    | research-1V0-605    | topix-102-400    | certdepot-EX200    | pearsonit-640-916    | itproguru-70-533    | reddit-100-105    | channel9-70-346    | anderseide-70-346    | theiia-IIA-CIA-PART3    | certificationHP-hp0-s41    | pearsonitcertification-640-916    | anderMicrosoft-70-534    | cathMicrosoft-70-462    | examcollection-cca-500    | techexams-gcih    | mslearn-70-346    | measureup-70-486    | pass4sure-hp0-s41    | iiba-640-916    | itsecurity-sscp    | cbtnuggets-300-320    | blogged-70-486    | pass4sure-IIA-CIA-PART1    | cbtnuggets-100-101    | developerhandbook-70-486    | lpicisco-101    | mylearn-1V0-605    | tomsitpro-cism    | gnosis-101    | channel9Mic-70-534    | ipass-IIA-CIA-PART1    | forcerts-70-417    | tests-sy0-401    | ipasstheciaexam-IIA-CIA-PART3    | mostcisco-300-135    | buildazure-70-533    | cloudera-cca-500    | pdf4cert-2v0-621    | f5cisco-101    | gocertify-1z0-062    | quora-640-916    | micrcosoft-70-480    | brain2pass-70-417    | examcompass-sy0-401    | global-EX200    | iassc-ICGB    | vceplus-300-115    | quizlet-810-403    | cbtnuggets-70-697    | educationOracle-1Z0-434    | channel9-70-534    | officialcerts-400-051    | examsboost-IIA-CIA-PART1    | networktut-300-135    | teststarter-300-206    | pluralsight-70-486    | coding-70-486    | freeccna-100-101    | digitaltut-300-101    | iiba-CBAP    | virtuallymikebrown-640-916    | isaca-cism    | whizlabs-pmp    | techexams-70-980    | ciscopress-300-115    | techtarget-cism    | pearsonitcertification-300-070    | testking-2v0-621    | isacaNew-cism    | simplilearn-pmi-rmp    | simplilearn-pmp    | educationOracle-1z0-809    | education-1z0-809    | teachertube-1Z0-434    | villanovau-CBAP    | quora-300-206    | certifyguide-300-208    | cbtnuggets-100-105    | flydumps-70-417    | gratisexams-1V0-605    | ituonline-1z0-062    | techexams-cas-002    | simplilearn-70-534    | pluralsight-70-697    | theiia-IIA-CIA-PART1    | itexamtips-400-051    | pearsonitcertification-EX200    | pluralsight-70-480    | learn-hp0-s42    | giac-gpen    | mindhub-102-400    | coursesmsu-CBAP    | examsforall-2v0-621    | developerhandbook-70-487    | root-EX200    | coderanch-1z0-809    | getfreedumps-1z0-062    | comptia-cas-002    | quora-1z0-809    | boson-300-135    | killtest-2v0-621    | learncia-IIA-CIA-PART3    | computer-gcih    | universitycloudera-cca-500    | itexamrun-70-410    | certificationHPv2-hp0-s41    | certskills-100-105    | skipitnow-70-417    | gocertify-sy0-401    | prep4sure-70-417    | simplilearn-cisa    |
http://www.pmsas.pr.gov.br/wp-content/    | http://www.pmsas.pr.gov.br/wp-content/    |