vmworld 2013: advanced vmware nsx architecture

29
Advanced VMware NSX Architecture Bruce Davie, VMware NET5716 #NET5716

Upload: vmworld

Post on 10-May-2015

990 views

Category:

Technology


2 download

DESCRIPTION

VMworld 2013 Bruce Davie, VMware Learn more about VMworld and register at http://www.vmworld.com/index.jspa?src=socmed-vmworld-slideshare

TRANSCRIPT

Page 1: VMworld 2013: Advanced VMware NSX Architecture

Advanced VMware NSX Architecture

Bruce Davie, VMware

NET5716

#NET5716

Page 2: VMworld 2013: Advanced VMware NSX Architecture

2

Agenda

Network Virtualization Refresher

NSX Architecture

Scale

Integrating Physical Workloads in Virtual Networks

Distributed Services

Connecting with WAN services

Summary & Future Directions

Page 3: VMworld 2013: Advanced VMware NSX Architecture

3

Objective

Provide a deep dive into the architecture of NSX, with a focus on:

• How the architecture is designed for scale – in the control, management and

data planes

• How physical devices and wide area services can be incorporated in virtual

networks

• Where the platform is heading in the future

Reinforce the value proposition of network virtualization

Page 4: VMworld 2013: Advanced VMware NSX Architecture

4

Compute Virtualization Abstraction Layer

Why we need network virtualization

Physical Infrastructure

• Provisioning is slow

• Placement is limited

• Mobility is limited

• Hardware dependent

• Operationally intensive

Networking undoes much of the goodness of server virtualization

Page 5: VMworld 2013: Advanced VMware NSX Architecture

5

The Solution – Virtualize the Network

Physical Infrastructure

Compute Virtualization Abstraction Layer

• Programmatic provisioning

• Place any workload anywhere

• Move any workload anywhere

• Decoupled from hardware

• Operationally efficient

Network Virtualization Abstraction Layer

Software Defined Data Center

• Provisioning is slow

• Placement is limited

• Mobility is limited

• Hardware dependent

• Operationally intensive

SOFTWARE-DEFINED DATACENTER SERVICES

VDC

Page 6: VMworld 2013: Advanced VMware NSX Architecture

6

What is Network Virtualization?

Physical Compute & Memory

Server Hypervisor

Requirement: x86

Virtual

Machine

Virtual

Machine

Virtual

Machine

Application Application Application

x86 Environment

Physical Network

Network Virtualization Platform

Requirement: IP Transport

Virtual

Network

Virtual

Network

Virtual

Network

Workload Workload Workload

L2, L3, L4-7 Network Services

Decoupled

Page 7: VMworld 2013: Advanced VMware NSX Architecture

7

The Starting Point for Network Virtualization: Virtual Switch

Hypervisor

vSwitch

Hypervisor

vSwitch

Physical Network

Page 8: VMworld 2013: Advanced VMware NSX Architecture

8

VLAN

L2

L3

Virtual Network

L2

NSX Gateway

NSX – The Network Virtualization Platform

Physical Network

vSphere Host vSphere Host KVM Xen Server

NSX vSwitch NSX vSwitch Open vSwitch Open vSwitch

Hardware

Software

Controller Cluster

VLAN

VTEP API

HW Partner

VM VM “NSX API”

CMP

Page 9: VMworld 2013: Advanced VMware NSX Architecture

9

NSX Controller

NSX Controller

NSX Controller

NSX Controller

NSX Controller

NSX Controller scale out

All nodes active

Workload sliced among nodes

Live software upgrades

Node5

Node4

WebService API

Persistent Storage

Logical Network

Transport Network

Node1

Node2

Node3

Controller

Cluster

OpenStack CEE Day 2013

Page 10: VMworld 2013: Advanced VMware NSX Architecture

10

Tunnels are like cables

Physical

STT Hypervisor Hypervisor

WORLD

VXLAN VXLAN

Virtual Network

Cable Cable

Cable

Copper Cable

Controller

Third party hardware

Page 11: VMworld 2013: Advanced VMware NSX Architecture

11

Why Not a Single Tunnel Format?

STT was designed to optimize performance for hypervisor-

hypervisor traffic

• Leveraging commodity NIC behavior so that tunneling has negligible

performance impact

• Unfortunately, it’s hard for switches to implement & can raise issues

with firewalls

VXLAN is the de facto industry standard for network virtualization

• Ideal for multi-vendor situations (e.g. vswitch-physical switch communication)

• Will start to see NIC support for high performance in the next year

Extensibility of the header likely needed

• STT has 64-bit “context” vs 24-bit VNI

Tunnel format decoupled from control plane

Tunnel format != virtualization architecture

Page 12: VMworld 2013: Advanced VMware NSX Architecture

12

Visibility & Virtual Networks

Historically challenging to troubleshoot connectivity between VMs

• Is the problem in vswitch or physical network?

• What’s the path through the physical network?

• Is there a (misconfigured) middlebox in the path?

Network virtualization gives us tools to handle this:

• Decomposition: separate the physical from the virtual

• Global view: see all the logical network state (port stats, drops, etc.) and tunnel

health from the controller API

• Synthetic traffic: insert packets at vswitch as if the VM generated them

Page 13: VMworld 2013: Advanced VMware NSX Architecture

13

Hardware VTEPs

Benefits:

• Fine-grained access: can pull a single physical port into the virtual world

• Connect bare metal workloads with higher performance/throughput

Same operational model (provisioning, monitoring) as

virtual networks

Consistent provisioning and operations for entire Data Center,

regardless of workloads, over a simple IP fabric

Page 14: VMworld 2013: Advanced VMware NSX Architecture

14

API (OVSDB)

Tunnels (VXLAN)

Physical

Workloads

VM

Controller Cluster

Hypervisor

vSwitch

Hypervisor

vSwitch

Hypervisor

vSwitch

Hypervisor

vSwitch VM VM

Logical network (VNI)

Connecting the Physical to the Virtual

DB

VM MACS

PHYMACS

IP Underlay

(no mulitcast required)

Page 15: VMworld 2013: Advanced VMware NSX Architecture

15

Demo Topology

KVM Server 1

VM100 192.168.1.110

VM101 192.168.1.111

VM102 192.168.1.112

KVM Server 2

VM200 192.168.1.120

Arista 7150 Hardware VTEP

Bare-metal Server

192.168.1.200

Ethernet

vswitch

Ethernet in VXLAN

10.10.100.200

NSX

Manager

NSX

Controller

Page 16: VMworld 2013: Advanced VMware NSX Architecture

16

Page 17: VMworld 2013: Advanced VMware NSX Architecture

17

Hardware VTEP Summary

Consistent treatment of physical and virtual workloads

• Virtual networks created by API calls to controller, as usual

• API extended to treat <physical port, VLAN> pair like virtual port

Controller and VTEP share state via database protocol

• No multicast requirement for underlay network

• State sharing avoids need to flood to learn MACs

• OVSDB: same protocol used for Open vSwitch configuration

• draft-pfaff-ovsdb-proto-02.txt (submitted for RFC publication)

• New schema specific to this usage (vtep.ovsdbschema)

Adds more options on the performance/functionality spectrum for

gateways

Page 18: VMworld 2013: Advanced VMware NSX Architecture

18

Distributed Services

NSX architecture allows many services to be implemented in a fully

distributed way

• Examples include firewalls (statefull/stateless), logical routing, load balancing

Benefits:

• Scale: no central bottleneck – apply as many vswitches to the task as there

are hypervisors in the logical network

• Optimal forwarding through the data center – no hairpinning

• Ensure all packets get appropriate services applied (cf. centralized firewall)

Page 19: VMworld 2013: Advanced VMware NSX Architecture

19

Example: Distributed L3 Forwarding

Logical View

Hypervisor1 Hypervisor2 Hypervisor3 Hypervisor4

Open vSwitch Open vSwitch Open vSwitch Open vSwitch

APP

VM WEB

VM

Physical View

L Switch L Switch

L Router

Web App

World

Page 20: VMworld 2013: Advanced VMware NSX Architecture

20

Distributed L3 Forwarding (post ARP)

Logical View L Switch L Switch

L Router

Web App

World

Hypervisor3

Open vSwitch

APP

VM

WEB

VM Life of a packet

Hypervisor1

SRC

Src MAC = Web

Dst MAC =

Router

Src IP = Web

Dst IP = App

Hypervisor1

Open vSwitch

SRC

Src MAC =

Router

Dst MAC = App

Src IP = Web

Dst IP = App

Tunnel

Page 21: VMworld 2013: Advanced VMware NSX Architecture

21

IP/MPLS

CORE

Hypervisor Hypervisor Hypervisor

NSX

Gateway

Open vSwitch Open vSwitch Open vSwitch

PE To Customer Sites

Connecting Virtualized Data Centers to the WAN

SP offers a “Cloud + VPN” service

Page 22: VMworld 2013: Advanced VMware NSX Architecture

22

Option A: Map Logical Networks to VLANs

NSX

Gateway VRF

VRF VRF

Logical Networks map to

VLANs; Each VLAN maps

to a VRF (customer-

specific routing table)

PE To Customer Sites

MPLS Core

Page 23: VMworld 2013: Advanced VMware NSX Architecture

23

Option B: Map Logical Networks to MPLS Labels

NSX

Gateway

Logical Network Prefixes

advertised in MP-BGP

with MPLS labels

ASBR To Customer Sites

MPLS Core

Treat interface like

inter-AS (RFC 4364)

MPLS Labelled Packets

mapped to/from logical

networks

Forms the basis for federation of data centers

Page 24: VMworld 2013: Advanced VMware NSX Architecture

24

What’s next for Network Virtualization?

Changing the operational model of networking

• Snapshot, rollback, what-if testing, etc.

Federation/Multi-DC use cases

Physical/Virtual Integration

• More network control for physical end-points

• Underlay visibility/troubleshooting

Advanced L4-L7 services

Higher level policies drive networking

Application of formal methods (e.g. Header Space Analysis)

And many more…

Page 25: VMworld 2013: Advanced VMware NSX Architecture

25

Summary & The Road Ahead

Network virtualization – extending benefits of server virtualization

to the whole DC

• It’s all about agility

• And scale (but benefits appear even at modest scale)

Network virtualization brings the benefits of a programmatic

operational model:

• Provision complex applications & topologies in software

increased automation

• Decoupled from hardware

• Evolve new capabilities at software speeds

Arguably the biggest shift in networking in a generation

Page 26: VMworld 2013: Advanced VMware NSX Architecture

26

Other VMware Activities Related to This Session

HOL:

HOL-SDC-1303

VMware NSX Network Virtualization Platform

Breakout

NET5796

Virtualization and Cloud Concepts for Network Administrators

NET5716

Page 27: VMworld 2013: Advanced VMware NSX Architecture

THANK YOU

Page 28: VMworld 2013: Advanced VMware NSX Architecture
Page 29: VMworld 2013: Advanced VMware NSX Architecture

Advanced VMware NSX Architecture

Bruce Davie, VMware

NET5716

#NET5716