Open vswitch and the Intelligent Edge



Similar documents
Stateful Connection Tracking & Stateful NAT

Software Defined Network (SDN)

Software Defined Networks Virtualized networks & SDN

Using SouthBound APIs to build an SDN Solution. Dan Mihai Dumitriu Midokura Feb 5 th, 2014

Data Center Infrastructure of the future. Alexei Agueev, Systems Engineer

SOFTWARE-DEFINED NETWORKING AND OPENFLOW

Programmable Networking with Open vswitch

OpenStack Networking: Where to Next?

Network Virtualization and Software-defined Networking. Chris Wright and Thomas Graf Red Hat June 14, 2013

How To Make A Vpc More Secure With A Cloud Network Overlay (Network) On A Vlan) On An Openstack Vlan On A Server On A Network On A 2D (Vlan) (Vpn) On Your Vlan

Palo Alto Networks. Security Models in the Software Defined Data Center

Software Defined Networking (SDN) OpenFlow and OpenStack. Vivek Dasgupta Principal Software Maintenance Engineer Red Hat

Designing Virtual Network Security Architectures Dave Shackleford

USING SOFTWARE-DEFINED DATA CENTERS TO ENABLE CLOUD ADOPTION

CERN Cloud Infrastructure. Cloud Networking

OVN: Open Virtual Network for Open vswitch. Ben Pfaff Justin Pettit

Network Virtualization

In-band Network Telemetry (INT) Mukesh Hira, VMware Naga Katta, Princeton University

SOFTWARE-DEFINED NETWORKING AND OPENFLOW

May 13-14, Copyright 2015 Open Networking User Group. All Rights Reserved Not For

Performance of Network Virtualization in Cloud Computing Infrastructures: The OpenStack Case.

Underneath OpenStack Quantum: Software Defined Networking with Open vswitch

OVN: Open Virtual Network for Open vswitch. Russell Bryant Kyle Mestery Justin Pettit

Bring your virtualized networking stack to the next level

Software-Defined Networking Architecture Framework for Multi-Tenant Enterprise Cloud Environments

How To Orchestrate The Clouddusing Network With Andn

Assessing the Performance of Virtualization Technologies for NFV: a Preliminary Benchmarking

Outline. Why Neutron? What is Neutron? API Abstractions Plugin Architecture

Open Source Networking for Cloud Data Centers

Flexible Building Blocks for Software Defined Network Function Virtualization (Tenant-Programmable Virtual Networks)

基 於 SDN 與 可 程 式 化 硬 體 架 構 之 雲 端 網 路 系 統 交 換 器

VXLAN: Scaling Data Center Capacity. White Paper

VMware Software Defined Network. Dejan Grubić VMware Systems Engineer for Adriatic

VMware NSX Network Virtualization Design Guide. Deploying VMware NSX with Cisco UCS and Nexus 7000

Pluribus Netvisor Solution Brief

How Network Virtualization can improve your Data Center Security

Network Virtualization for the Enterprise Data Center. Guido Appenzeller Open Networking Summit October 2011

Virtualization, SDN and NFV

Microsegmentation Using NSX Distributed Firewall: Getting Started

SDN and Data Center Networks

Extending Networking to Fit the Cloud

SDN v praxi overlay sítí pro OpenStack Daniel Prchal daniel.prchal@hpe.com

Achieving a High-Performance Virtual Network Infrastructure with PLUMgrid IO Visor & Mellanox ConnectX -3 Pro

Leveraging NIC Technology to Improve Network Performance in VMware vsphere

White Paper. SDN 101: An Introduction to Software Defined Networking. citrix.com

OPEN CLOUD INFRASTRUCTURE BUILT FOR THE ENTERPRISE

Advanced Security Services with Trend Micro Deep Security and VMware NSX Platforms

Software Defined Environments

Telecom - The technology behind

Network Virtualization

CON Software-Defined Networking in a Hybrid, Open Data Center

Ryu SDN Framework What weʼ ve learned Where weʼ ll go

SDN PARTNER INTEGRATION: SANDVINE

Cloud Networking Disruption with Software Defined Network Virtualization. Ali Khayam

HAWAII TECH TALK SDN. Paul Deakin Field Systems Engineer

VMware. NSX Network Virtualization Design Guide

Research trends in abstraction of networks and orchestration of network services

VIRTUALIZED SERVICES PLATFORM Software Defined Networking for enterprises and service providers

Creating Overlay Networks Using Intel Ethernet Converged Network Adapters

OpenFlow and Software Defined Networking presented by Greg Ferro. OpenFlow Functions and Flow Tables

High Performance OpenStack Cloud. Eli Karpilovski Cloud Advisory Council Chairman

2013 ONS Tutorial 2: SDN Market Opportunities

SDN CENTRALIZED NETWORK COMMAND AND CONTROL

Datacenter Network Virtualization in Multi-Tenant Environments

Prioritization of Important Mice Flows in a Software Defined Network (SDN Application)

Architecting and Building a Secure and Compliant Virtual Infrastructure and Private Cloud

About the VM-Series Firewall

Building an Open, Adaptive & Responsive Data Center using OpenDaylight

Analysis of Network Segmentation Techniques in Cloud Data Centers

Security Challenges & Opportunities in Software Defined Networks (SDN)

Using Network Virtualization to Scale Data Centers

Cloud Computing, Software Defined Networking, Network Function Virtualization

Implementing and Troubleshooting the Cisco Cloud Infrastructure **Part of CCNP Cloud Certification Track**

How Linux kernel enables MidoNet s overlay networks for virtualized environments. LinuxTag Berlin, May 2014

White Paper. Juniper Networks. Enabling Businesses to Deploy Virtualized Data Center Environments. Copyright 2013, Juniper Networks, Inc.

OpenDaylight Project Proposal Dynamic Flow Management

Simplify IT. With Cisco Application Centric Infrastructure. Roberto Barrera VERSION May, 2015

The Last Piece of the Puzzle From Legacy to SDN and NFV. Benjamin Then

Real-time Virtual NIC on KVM for Real-Time Network with OpenFlow

Ubuntu OpenStack on VMware vsphere: A reference architecture for deploying OpenStack while limiting changes to existing infrastructure

Carrier/WAN SDN Brocade Flow Optimizer Making SDN Consumable

Linux KVM Virtual Traffic Monitoring

mesdn: Mobile Extension of SDN Mostafa Uddin Advisor: Dr. Tamer Nadeem Old Dominion University

SDN software switch Lagopus and NFV enabled software node

Utility Computing and Cloud Networking. Delivering Networking as a Service

Ethernet-based Software Defined Network (SDN) Cloud Computing Research Center for Mobile Applications (CCMA), ITRI 雲 端 運 算 行 動 應 用 研 究 中 心

Copyright 2014, Oracle and/or its affiliates. All rights reserved. 2

What is SDN? And Why Should I Care? Jim Metzler Vice President Ashton Metzler & Associates

Core and Pod Data Center Design

Introduction to Software Defined Networking (SDN) and how it will change the inside of your DataCentre

Simplifying IT with SDN & Virtual Application Networks

Restorable Logical Topology using Cross-Layer Optimization

State of the Art Cloud Infrastructure

IO Visor: Programmable and Flexible Data Plane for Datacenter s I/O

CS244 Lecture 5 Architecture and Principles

VMware

THE REVOLUTION TOWARDS SOFTWARE- DEFINED NETWORKING

How To Build A Software Defined Data Center

SDN CONTROLLER. Emil Gągała. PLNOG, , Kraków

Securely Architecting the Internal Cloud. Rob Randell, CISSP Senior Security and Compliance Specialist VMware, Inc.

Transcription:

Open vswitch and the Intelligent Edge Justin Pettit OpenStack 2014 Atlanta 2014 VMware Inc. All rights reserved.

Hypervisor as Edge VM1 VM2 VM3 Open vswitch Hypervisor 2

An Intelligent Edge We view the hypervisor as the edge of the network An intelligent edge is in a unique position (the Goldilocks Zone ) Greater context than in-network devices Without tags, network must rely on fields that are easily spoofed Tags provide limited amount of context Reduced risk of attack than an agent running in the guest Policies enforced in the hypervisor outside of the guest Enforce policies earlier Clouds typically have over-subscribed links and untrusted sources Different parts of the system can coordinate with each other Can affect many things Networking Security

Network Control and Visibility In an ideal location Able to infer state by observing, or probe state with introspection Mapping of logical to physical before going into the fabric Can modify behavior Enforce policy at tunnel ingress and egress Modify bits in the inner or outer packet TCP Pacing TCP De-synchronization Flowlets 4

Inferring State Sees every packet and knows local source Learn MAC and IP on first use IGMP and DHCP snooping Which pairs are communicating Flow characteristics 5

Guest Introspection An agent runs in the VM that communicates with a daemon in the hypervisor Types of data retrieved Users Identity for both inbound and outbound network connections Identity (user and version/hash) of processes Data transfer rates Socket queue depth System characteristics 6

Applications for Greater State QoS Load-balancing Selecting traffic to be sent to middlebox (NFV) Better firewalls Elephant flow detection and handling 7

Security

Implementing a Firewall Currently, two ways to implement a firewall in OVS Match on TCP flags (Enforce policy on SYN, allow ACK RST) Pro: Fast Con: Allows non-established flow through with ACK or RST set, only TCP Use learn action to setup new flow in reverse direction Pro: More correct Con: Forces every new flow to OVS userspace, reducing flow setup by orders of magnitude Neither approach supports related flows or TCP window enforcement 9

Connection Tracking We are adding the ability to use the conntrack module from Linux Stateful tracking of flows Supports ALGs to punch holes for related data channels FTP TFTP SIP Implement a distributed firewall with enforcement at the edge Better performance Better visibility Introduce new OpenFlow extensions: Action to send to conntrack Match fields on state of connection Have prototype working. Expect to ship as part of OVS by end of year 10

Guest Introspection + Connection Tracking Possible to implement an advanced firewall Know precisely what user is generating traffic Know precisely what application and version is generating traffic 11

Elephant Flows

Elephants versus Mice Majority of flow are short-lived (mice), but majority of packets are long-lived (elephants) Mice tend to be bursty and latency-sensitive Elephants tend to transfer large amount of data and less concerned about latency Elephants can fill up network buffers, which introduce latency for mice At the edge, we are able to affect the underlay based on the overlay

Detection and Action Multiple mechanisms for detection: Rate and time Large segments (TCP only) Guest introspection Multiple mechanisms for action: Put mice and elephants into different queues Route elephants differently from mice Send elephants along a separate physical network Intelligent underlay 14

NSX Deployment NSX Control Cluster VM1 192.168.0.1 Open vswitch HV1 17.0.0.1 VXLAN Tunnel VM2 192.168.0.2 Open vswitch HV2 17.0.0.2 15

Handling Elephants in NSX Open vswitch is at an optimal location at the edge Has flow-level view of all the hypervisor s traffic Knows mapping between logical and physical addresses Detection and action occur separately, so can evolve independently Supported detection mechanisms: Rate and time Large segments Supported actions: Mark DSCP bits in (outer) IP header Add elephant flows to OVSDB column for underlay agent 16

Elephant Flows with SDN Controller OVS identifies elephants as the appear on the wire through OVSDB An agent monitors OVSDB and makes appropriate API calls to the SDN controller Shown as a VMware-HP Technology Preview NSX Elephant Agent HP SDN Controller HV1 HP Switch 1 HP Switch 2 HV2 17

Elephant Flows with DSCP Marking Signaling of elephants occur at the hypervisor by marking the (outer) IP header Switches configured to handle elephant-marked packets appropriately Working on an Internet Draft for recommended DSCP values HV1 Switch 1 Switch 2 HV2 18

Testing Results with Cumulus Networks Used a modified OVS that detects elephant flows by counting the number of bytes each flow generates. When the user-configurable threshold is crossed, elephants are marked with a particular DSCP value. The Cumulus switches place elephant marked flows into an alternate queue 19

Test Topology vm vm vm vnic vnic vnic vswitch n 10G 10G 1G Sources VMs connected via vswitch 10G connection to network Network Paths 1G normal link easy to congest with VM traffic sources 10G alternative link Sink bare metal server 10G connection from network 10G cumulusnetworks.com 20

Traffic Generation and Result Measurement Generators elephants nuttcp fixed time transfers, 4M window mice small (10ms) interval pings mimics tcp-acks, lock release, small db transations Results elephants realized bandwidth, drops mice mean-time-to-completion, drops cumulusnetworks.com 21

Results flow statistic detection & alternate queue reaction Mice vs Elephants (Detection off) 1000 10 950 9 900 8 850 7 Bandwidth (Mbps) 800 750 700 6 5 4 Latency ms) Elephant Mice 650 3 600 2 550 1 500 1 11 21 31 41 51 61 71 81 91 101 111 121 131 Time (Secs) 0 cumulusnetworks.com 22

Results flow statistic detection & alternate queue reaction Mice vs Elephants (Detection on) 1000 10 950 9 900 8 850 7 Bandwidth (Mbps) 800 750 700 6 5 4 Latency (ms) Elephant Mice 650 3 600 2 550 1 500 1 11 21 31 41 51 61 71 81 91 101 111 121 131 Time (Secs) 0 cumulusnetworks.com 23

Results flow statistic detection & alternate queue reaction test case (120 sec period) elephant mouse Mbps drops Latency (ms) drops elephant only 941 63 N/A N/A mouse only N/A N/A 0.444 0 mouse vs elephant no detection mouse vs elephant w/detection 941 61 3.055 0 937 1223 0.401 0 cumulusnetworks.com 24

Open vswitch Elephant POC Architecture Implemented in kernel Supports both threshold-based detection and TSO packet size Just proof of concept to try out different detection mechanisms and actions Proof of concept code will be available on Github 25

Elephant Flow References Network Traffic Characteristics of Data Centers in the Wild http://pages.cs.wisc.edu/~akella/papers/dc-meas-imc10.pdf Of Mice and Elephants http://networkheresy.com/2013/11/01/of-mice-and-elephants/ Elephant Flow Mitigation via Virtual-Physical Communication http://blogs.vmware.com/networkvirtualization/2014/02/elephant-flow-mitigation.html 26

Learn more about VMware + OpenStack at the following sessions: Monday VMware Demo 1:00-1:15 pm, Demo Theater Enterprise Grade Scheduling 4:40-5:20 pm, B206 Bridging The Gap: OpenStack For VMware Administrators 5:30-6:10 pm, B206 Software Defined Networking Performance And Architecture Evaluation 5:30-6:10 pm, B103 Presented by Symantec & Mirantis Tuesday Scaling Neutron For Large Deployments 4:40-5:20 pm, B101 Presented by ebay & PayPal Open vswitch And The Intelligent Edge 5:30-6:10 pm, B206 Wednesday VMware + OpenStack: Accelerating OpenStack In The Enterprise 1:50-2:30 pm, B313 Deep-dive Demo for OpenStack On VMware 2:40-3:20 pm, B313 OpenStack Distribution Support For vsphere + NSX 3:30-4:10 pm, B313 Congress: A System For Declaring, Auditing, and Enforcing Policy In Heterogeneous Cloud Environments 4:30-5:10 pm, B313 VSAN and OpenStack 5:20-6:00 pm, B313 Thursday Recap: Nova-network Or Neutron For OpenStack Networking? 9:50-10:30 am, B309 Leveraging VMware Technology To Build An Enterprise Grade OpenStack Cloud - It's Not Always About KVM! 2:20-3:00 pm, B101 Presented by iland Hands-on-Labs OpenStack on VMware vsphere and NSX Wed, May 14, 3:30-5:30 pm, B313 OpenStack Networking Wed, May 14, 4:30-6:00 pm, B314 Session by VMware Session by VMware Customers / Partners The Enterprise-Grade Foundation For Your OpenStack Cloud