53
© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor Timothy Ma Technical Marketing - UCS

© 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

Embed Size (px)

Citation preview

Page 1: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco ConfidentialPresentation_ID

VM-FEX Configuration and Best Practice for Multiple Hypervisor

Timothy Ma

Technical Marketing - UCS

Page 2: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

2

Agenda

VM-FEX Overview

VM-FEX vs Nexus 1000v

VM-FEX Operational Model

UCS VM-FEX General Base Configuration for hypervisor

VM-FEX Implementation on VMware ESX

VM-FEX Implementation with Hyper-V on UCS

VM-FEX Implementation with KVM on UCS

Summary

What This Session Will Cover

Page 3: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

Server Virtualization Issues

1. When VMs move across physical ports—the network policy must follow Live Migration

2. Must view or apply network/security policy to locally switched traffic

3. Need to maintain segregation of duties while ensuring non-disruptive operations

PortProfile

Hypervisor

Hypervisor

Server Admin

Network Admin

SecurityAdmin

Page 4: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

Cisco Virtual Networking Options

Extend networking into hypervisor(Cisco Nexus 1000V Switch)

Cisco UCS VM-FEXServer

Extend physical network to VMs(Cisco UCS VM-FEX)

Hypervisor Hypervisor

Cisco Nexus 1000V

Generic AdapterServer

Page 5: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

5

Agenda

VM-FEX Overview

VM-FEX vs Nexus 1000v

VM-FEX Operational Model

UCS VM-FEX General Base Configuration for hypervisor

VM-FEX Implementation on VMware ESX

VM-FEX Implementation with Hyper-V on UCS

VM-FEX Implementation with KVM on UCS

Summary

What This Session Will Cover

Page 6: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

6

VM-FEX Modes of OperationEnumeration vs. Hypervisor Bypass

vSphere 5

Emulated Mode

vEth

vEth

vNIC

vNIC vNIC

vNIC

Hypervisor Bypass

vSphere 5

vEth

vEth

Standard (Emulated) Mode Each VM gets a dedicated PCIe

device ~12%-15% CPU performance

improvement Appears as distributed virtual switch to

hypervisor vMotion / LiveMigration supported

High Performance Mode Co-exists with Standard mode

Bypasses Hypervisor layer

~30% improvement in I/O performance

Appears as distributed virtual switch to hypervisor

Currently supported with ESX 5.0+ Hyper-V 2012, RHEL KVM 6.3

vMotion / Live Migration supported

Page 7: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

7

VM-FEX Modes of Operation

VM-FEX Mode VMware Hyper-V KVMEmulation Pass Through (PTS) Hyper-V Switch SR-IOV with MacVTap Hypervisor Version ESX 4.0 U1 + Window Server 2012 RHLE 6.2 + UCSM Version 1.4 + 2.1 2.1VMotion / Live Migration

Support Support Support

Enumeration vs. Hypervisor Bypass

VM-FEX Mode VMware Hyper-V KVMHypervisor Bypass Hypervisor Bypass SR-IOV SR-IOV with PCI

PassthroughHypervisor Version ESX 5.0 + Window Server 2012 RHEL 6.3UCSM Version 1.4 + 2.1 2.1VMotion / Live Migration

Support Support NOT Support

Page 8: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

8

VM-FEX Operational ModelvMotion / Live Migration with Hypervisor Bypass

vNIC

vNIC

ESXi 5 / Hyper-V

vEth

vEth vNIC

vSphere 4

vEth

Temporary transition from VMDirectPath to

standard I/O

• VM Sending TCP stream (1500MTU) • UCS B200 M2 blades with UCS VIC card 

19:0

6:19

19:0

6:20

19:0

6:21

19:0

6:22

19:0

6:23

19:0

6:24

19:0

6:25

19:0

6:26

19:0

6:27

19:0

6:28

19:0

6:29

19:0

6:30

19:0

6:31

19:0

6:32

19:0

6:33

19:0

6:34

19:0

6:35

19:0

6:36

19:0

6:37

19:0

6:38

19:0

6:39

19:0

6:40

19:0

6:41

19:0

6:42

19:0

6:43

19:0

6:44

19:0

6:45

19:0

6:46

19:0

6:47

19:0

6:48

19:0

6:49

19:0

6:50

19:0

6:52

19:0

6:53

0

2500

5000

7500

10000

Time (secs)

Mb

ps

vMotion to secondary host

1 sec silent period

ESXi 5 / Hyper-V

Page 9: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

9

VM-FEX Operational ModelSimplifying the Access Infrastructure

Physical Network

Virtual Network

Hyp

ervi

sor

Hyp

ervi

sor

VMVMVMVMVMVMVMVM

VETH

VNIC

Unify the virtual and physical network

‒ Same Port Profiles for various hypervisors and bare metal servers

Consistent functions, performance, management

Page 10: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

10

VM-FEX Operational Model

Removing performance dependencies from VM location

Offloading software switching functionalities from host CPU

More on this in upcoming slides

Traffic Forwarding

Physical Network

Hyp

ervi

sor

Hyp

ervi

sor

VMVMVMVMVMVMVMVM

VETH

VNIC

Page 11: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

11

UCS VM-FEX System ViewDeploying on a UCS B or C Series Infrastructure

3 4

1 3 4 5 6 7 8Chassis IO Module A

1 2

Server Ports

3 4

1 3 4 5 6 7 8

1 2

Server Ports

VN Tag @ 10Gbe

22Chassis IO Module B

Internal Connections

vfc0

2 3 4 5 6

0 1

vNIC1(s) vNIC2(s)

vfc1

2 3 4 5 6

ESX 4.0u1+ / RHEL KVM 6.1+ / MS Windows Server 2012

VM-FEX

UCS 6x00 Physical Ports

Chassis IOM Ports

UCS 6x00 Physical Ports

Chassis IOM Ports

VIC CPU

Virtual Interface Control Logic

Virtual Interface Control Logic

HBA 0vHBA0

HBA 1vHBA1

veth10

1 1

87 21Fiber Channel Uplink Ports

8721Fiber Channel Uplink Ports

6565

veth1 veth2 veth3 veth4 veth1 veth2 veth3 veth4 veth100

Mgmt Uplink

0

Mgmt Uplink

CIMCKVM etc.

Cisco Adapter

UCS B or C Series Server

UCS Fabric Interconnect B (port profiles)UCS Fabric Interconnect A (port profiles)

ESX Kernel Module / Libvirt / HyperV Extendable Switch

Page 12: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

12

UCS VM-FEX System ViewDeploying on a UCS B or C Series Infrastructure

3 4

1 3 4 5 6 7 8Chassis IO Module A

1 2

Server Ports

3 4

1 3 4 5 6 7 8

1 2

Server Ports

VN Tag @ 10Gbe

22Chassis IO Module B

ServiceConsoleKernel

Internal Connections

vfc0

2 3 4 5 6

0 1

d-vNIC1vNIC1(s) d-vNIC2 vNIC2(s)d-vNIC3

vfc1

2 3 4 5 6

VM-FEX

UCS 6x00 Physical Ports

Chassis IOM Ports

UCS 6x00 Physical Ports

Chassis IOM Ports

VIC CPU

Virtual Interface Control Logic

Virtual Interface Control Logic

ESX Kernel Module / Libvirt / HyperV Extendable SwitchHBA 0vHBA0

HBA 1vHBA1d-vNIC4

veth10

1 1

87 21Fiber Channel Uplink Ports

8721Fiber Channel Uplink Ports

6565

veth1 veth2 veth3 veth4 veth1 veth2 veth3 veth4 veth100

Mgmt Uplink

0

Mgmt Uplink

CIMCKVM etc.

UCS Fabric Interconnect B (port profiles)UCS Fabric Interconnect A (port profiles)

Cisco Adapter

UCS B or C Series Server

ESX 4.0u1+ / RHEL KVM 6.1+ / MS Windows Server 2012

Page 13: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

13

Agenda

VM-FEX Overview

VM-FEX vs Nexus 1000v

VM-FEX Operational Model

UCS VM-FEX General Baseline Configuration for hypervisor

VM-FEX Implementation on VMware ESX

VM-FEX Implementation with Hyper-V on UCS

VM-FEX Implementation with KVM on UCS

Summary

What This Session Will Cover

Page 14: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

14

UCS General Baseline #1: Dynamic vNICs Policy

Policies are to automatically provision dynamics on Servers

Dependent on the number of Fabric Interconnect to IO Module connections

‒ (# IOM to FI links * 63) - 2 for Gen 2 Hardware (62xx, 22xx and VIC12xx)

‒ (# IOM to FI links * 15) - 2 for Gen 1 Hardware (61xx, 21xx and Palo)

‒ Detailed VIF calculation Spreadsheet is available for ESXi and KVM (savtg wiki)

Setting a Dynamic Adapter Policy Up

Page 15: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

In port-channel mode, when you cable between FEX and the FI, the available virtual interface (VIF) namespace varies, depending on where the uplinks are connected to the FI ports:When port-channel uplinks from the FEX are connected only within a set of eight ports managed by a single chip, Cisco UCS Manager maximizes the number of VIFs used in service profiles deployed on the servers.

If uplink connections are distributed across ports managed by separate chips, the VIF count is decreased. For example, if you connect seven members of the port channel to ports 1–7, but the eighth member to port 9, this port channel can only support VIFs as though it had one member.

1 2 3 4 5 6

UCS General Baseline #1: Creating Dynamic vNICsFabric Interconnect VIF calculation

Page 16: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

16

UCS General Baseline #2: Building Service Profile

2 Statics – 1 to each UCS Fabric

Change dynamic vNIC connection policy to setup dynamics

Adding the Dynamic Policy and Static Adapters

Page 17: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

17

UCS General Baseline #2: Building Service Profile

Adapter Policy Static vNIC Dynamic vNICVMware ESXi VMware VMwarePassThruWindow Hyper-V SR-IOV Windows RedHat KVM SR-IOV Linux

Static and Dynamic Adapter Policy

Page 18: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

18

UCS General Baseline #3: Building Port Profiles

Creating Port Profiles Includes:

‒ VLAN(s)

‒ Native and/or Tagging allowed

‒ QoS Weights and Flow Rates

‒ Upstream Ports to always use

Creating Folders of Network Access Attributes

Page 19: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

20

UCS General Baseline #5: Communication with Manager

Same Plug-in Method used in Nexus 1000v

Tool discussed later to simplify the whole integration process

Establishing Communication to Hypervisor Manager

Page 20: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

21

UCS General Baseline #5: Communication with Manager

6100 6200

Hypervisor Manager DVS Hypervisor Manager DVS

ESXi 1 vCenter per UCS doman

1 DVS per vCenter 1 vCenter per UCS doman

4 DVS per vCenter

Hyper-V 1 MMC Instance 5 DVS per UCS Domian

1 MMC Instance 5 DVS per UCS domian

KVM N/A 1 DVS per UCS Domain

N/A 1 DVS per UCS Domain

Port Profile per UCS Domain

512 512

Dynamic Ports per port profile

4096 4096

Dynamic Ports per DVS

4096 4096

Hypervisor Manager and Distributed Virtual Switch Support (as of UCSM 2.1 release)

Page 21: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

22

UCS General Baseline #6: Publishing Port Profiles

Publish Port Profiles to Hypervisors and virtual switches within

Exporting Port Profiles to these to Hypervisor Manager

Page 22: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

23

Agenda

VM-FEX Overview

VM-FEX vs Nexus 1000v

VM-FEX Operational Model

UCS VM-FEX General Baseline Configuration for hypervisor

VM-FEX Implementation with VMware ESX on UCS

VM-FEX Implementation with Hyper-V on UCS

VM-FEX Implementation with KVM on UCS

Summary

What This Session Will Cover

Page 23: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

24

VMware VM-FEX: Infrastructure Requirements

Enterprise Plus License required (as is for any DVS) on Host

Standard License and above is required for vCenter

vCenter Plug-In download and install method (unless Easy VM-FEX tool is used)

Hosts then use VUM Depot’s to install ESX module when bringing host into UCS DVS (unless Easy VM-FEX tool is used)

VMotion fully supported for both emulated and hypervisor bypass

VMDirectPath (Hypervisor Bypass) with VM-FEX is supported with ESXi 5.0+

VM-FEX upgrade is supported from ESXi4.x to ESXi5.x with Customized ISO and VMware Update Manger

Versions, Licenses, etc.

Page 24: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

VM-FEX on VMware Configuration Steps

1. Configure Service Profile with static and dynamic adapter policy

2. Creating Port Profile and Cluster in UCSM ***

3. Install Cisco VEM software bundle and plugin in vCenter

4. Configure USCM VMware Integration wizard

5. Connecting Cisco UCSM to VMware vCenter

6. Add ESXi host into DVS cluster in vCenter

7. Configure Virtual Machine setting to enable hypervisor bypass

8. Verify VM-FEX configuration in both UCSM and vCenter

*** (Data Center, Folder need to match between UCSM and vCenter)

Page 25: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

26

VMware VM-FEX Configuration: Step 6

Uplinks from ESX hosts shown on right

‒ These are the statics for overhead

VM vNICs shown in port groups on left

‒ Port Groups are from Port Profiles sent in from UCSM or Nexus 5500

Normal view of VM vNICs, MAC, Port numbers, etc.

Add ESXi host into DVS cluster in vCenter

Page 26: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

27

VMware VM-FEX Configuration: Step 7

Match the Memory Reservation with the Limit

Only Supported Guests will get DP with VM-FEX‒ Windows Server 2008 SP2, Windows Server 2008 R2, RHEL 6.x, SLES11 SP1

VM Settings to Get Hypervisor Bypass with VM-FEX

Page 27: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

28

VMware VM-FEX Configuration: Step 7

Select High Performance I/O

in UCSM Port Profile

Define normal VMXNET3 type

Select Port Group to put adapter into

Displays if the DirectPath with VM-FEX is active

Other Adapters can remain in emulated mode if desired

VM Settings to Get Hypervisor Bypass with VM-FEX

Page 28: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

29

VMware VM-FEX Configuration: Step 8Verify VM-FEX configuration in vCenter

Page 29: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

30

VMware VM-FEX Configuration: Step 8Verify VM-FEX configuration in UCSM

Page 30: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

32

Easy VM-FEX ToolTool View

Page 31: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

33

VMware VM-FEX Demo Topology

vSwitch (10.29.148.50)

vSwitch (10.29.148.40)

VMFEX (10.29.148.51)

VMFEX (10.29.148.41)

vSwitch VLAN 100 VMFEX VLAN 200

Page 32: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

34

Agenda

VM-FEX Overview

VM-FEX vs Nexus 1000v

VM-FEX Operational Model

UCS VM-FEX General Baseline Configuration for hypervisor

VM-FEX Implementation with VMware ESX on UCS

VM-FEX Implementation with Hyper-V on UCS

VM-FEX Implementation with KVM on UCS

Summary

What This Session Will Cover

Page 33: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

35

VM-FEX is available for HyperV on only UCS Managed Deployments at shipment of Windows Server 2012 (UCS B series or Integrated C series)

HyperV Role Enabled on Windows Server 2012

For Live Migration, MS Cluster built with shared storage

‒ VM-FEX with Live Migration fully supported

HyperV Networks defined as shown here

1. Through HyperV Manager GUI and MMC

2. Through PowerShell Applets for scripting and troubleshooting

Cisco Extension to the HyperV Extensible Switch infrastructure

Systems Center Virtual Machine Manager (SCVMM) 2012 SP1 version with Windows Server 2012 support will be needed for manager integration

‒ Fully supported via PowerShell until the SCVMM ships

HyperV VM-FEX: Infrastructure RequirementsVersions, Licenses, etc.

Page 34: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

Hyper-V Scale Comparison

Vmware vSphere 5 .1 Windows Server 2008 R2 Windows Server 2012

HW Logical Processor Support

160 LPs 64 LPs 320 LPs

Physical Memory Support 2 TB 1 TB 4 TB

Cluster Scale 32 Nodes up to 4000VMs 16 Nodes up to 1000 VMs 64 Nodes up to 4000 VMs

Virtual Machine Processor Support

Up to 64 VPs Up to 4 VPs Up to 64 VPs

VM Memory Up to 1 TB Up to 64 GB Up to 1 TB

Live Migration Concurrent vMotion 128 per datastore

Yes, one at a time Yes, with no limits. As many as hardware will allow.

Live Storage Migration Concurrent Storage vMotion 8 per datastore, 2 per host

No. Quick Storage Migration via SCVMM

Yes, with no limits. As many as hardware will allow.

Servers in a Cluster 32 16 64

VP:LP Ratio 8:1 8:1 for Server12:1 for Client (VDI)

No limits. As many as hardware will allow.

Microsoft Hyper-V vs VMware ESXi

Page 35: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

Cisco Confidential© 2010 Cisco and/or its affiliates. All rights reserved. 37

Host

SR-IOV - Overview

• SR-IOV bypasses the virtual switch and hypervisor

Network I/O path without SRIOV Network I/O path with SRIOV

Root Partition

Hyper-V Switch

Physical NIC

Virtual Machine

Virtual NICSwitchingVLAN Filtering

Data Copy VMBUS

Host

Root Partition

Hyper-V Switch

SR-IOV Physical Function

Virtual MachineVirtual Function

SwitchingVLAaN Filtering

Data Copy

Page 36: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

© 2010 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 38

Hyper-V Extensible Switch

Root Partition

Extension Miniport

Extension ProtocolHyper-V Switch

Physical NIC

Virtual Machine

Host NIC VM NIC

Virtual Machine

VM NIC

Filtering Extensions

Forwarding Extension

WFP Extensions

Capture Extensions

Page 37: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

VM-FEX on Hyper-V Configuration Steps

1. Upgrade UCSM to 2.1+ firmware (Del Mar release support SR-IOV)

2. Configure Service Profile with static (PF) and dynamic (VF) adapter policy

3. Creating Port Profile and Port Profile Client (up to 5 DVS support)

4. Install Windows Server 2012 Guest OS and enable Hyper-V role

5. Install VM-FEX Forwarding Extension and PF driver on host

6. Create Hyper-V vSwtich and enable VM-FEX forwarding extension

7. Install Windows Server 2012 VM and VF Driver

8. Install and Configure Microsoft Management Console (VM-FEX snap-in)

9. Verify VM-FEX configuration in both UCSM and MMC tool

Page 38: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

41

Hyper-V VM-FEX Configuration: Step 5

Cisco VIC Driver Utility Setup Wizard to install PF Driver

Verify PF configuration in host Device Manager

Cisco VIF PF Driver on Windows 2012

Page 39: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

42

Hyper-V VM-FEX Configuration: Step 6

Cisco VIC Driver Utility Setup Wizard to install VM-FEX extension

Forwarding extension need enable per Virtual Swtich

Hyper-V Switch and VM-FEX Extension

Page 40: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

43

Hyper-V VM-FEX Configuration: Step 7

Cisco VIC Driver Utility Setup Wizard to install VF Driver

Enable SR-IOV per Network Adapter Configuration

Install Windows Server 2012 VM and VF Driver

Page 41: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

44

Hyper-V VM-FEX Configuration: Step 8

Install Cisco VM-FEX Port Profile Manager

Connect Port Profile Manager to UCSM and pull Port Profile configuration into Hyper-V host

Configure Microsoft Management Console

Page 42: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

45

Hyper-V VM-FEX Configuration: Step 9

Virtual Network Manager to configure the switch

PS scripts to configure the Cisco extension to the HyperV switch

Verify VM-FEX configuration in UCS Manger

Page 43: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

Cisco Confidential© 2010 Cisco and/or its affiliates. All rights reserved. 46

Hyper-V VM-FEX Demo Topology

Server

Cisco UCSVM-FEX

Microsoft Hyper-V

Server

NTTTCP/Server

Cisco UCSVM-FEX

Microsoft Hyper-V

Cisco UCS Fabric Interconnect

Virtual Ethernet ports (vEth)

Virtual Ethernet ports (vEth)

SR-IOV enabled adapter

NTTTCP/Client

Benefits Simple: One Infrastructure for all networking Performance: 10Gb all the way to the VM (SR-IOV) Robust: Architect, troubleshoot and traffic engineer network holistically

Page 44: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

47

Agenda

VM-FEX Overview

VM-FEX vs Nexus 1000v

VM-FEX Operational Model

UCS VM-FEX General Baseline Configuration for hypervisor

VM-FEX Implementation with VMware ESX on UCS

VM-FEX Implementation with Hyper-V on UCS

VM-FEX Implementation with KVM on UCS

Summary

What This Session Will Cover

Page 45: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

48

RHEL KVM VM-FEX: Infrastructure Requirements

VM-FEX is available for KVM on only UCS Managed Deployments Today UCS Manager 2.1 release is required to supportted SR-IOV in KVM Unlike VMware no VEM to load (utilizes libvirt) Install Red Hat as Virtualization Host

‒ RHEL 6.2 for VM-FEX emulation mode (SR-IOV with MacVTap)

‒ RHEL 6.3 for VM-FEX hypervisor bypass mode (SR-IOV with PCI passthrough)

‒ MacVTap Direct (Private) mode is no longer supported with UCSM release 2.1

Live migration feature only supported emulation mode Guest Operating System RHEL 6.3 Required to support SR-IOV with PCI passthrough

‒ RHEL 6.3 inbox driver is sufficient to support SR-IOV with PCI passthrough

Scripted nature of configuration at FCS‒ No current RHEV-M for RHEL KVM 6.x

Virtual Machine interface management via editing of VM domain XML file

Versions, Licenses, etc.

Page 46: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

49

VM-FEX on RHEL KVM Overview

Page 47: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

VM-FEX on KVM Configuration Steps

1. Upgrade UCSM to 2.1+ firmware (Del Mar release support SR-IOV)

2. Configure Service Profile with static (PF) and dynamic (VF) adapter policy

3. Creating Port Profile and Port Profile Client (only single default DVS support)

4. Install VM OS with RHEL 6.3 to support SR-IOV

5. Modify Virtual Machine Domain XML file to enable VM-FEX function

6. Connect VM to Virtual Machine Manager (GUI interface of Virsh)

7. Verify VM-FEX configuration in both UCSM and RHEL host

Page 48: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

51

KVM VM-FEX Configuration: Step 5

Adapters can be created in virt-manager wizard and MAC assigned

Edit the domain.xml file to make the adapters VM-FEX

Bring in the port profile here

Then VM will operate as normal

XML file for SR-IOV MacVTap

Page 49: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

52

Adapters can be created in virt-manager wizard and MAC assigned

Edit the domain.xml file to make the adapters VM-FEX

Bring in the port profile here

Then VM will operate as normal

XML file for SR-IOV PCI PassThrough KVM VM-FEX Configuration: Step 5

Page 50: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

53

KVM VM-FEX Configuration: Step 6

RHEL virt-manager to do simple VM operations

Can start, stop, open, migrate VM’s with VM-FEX connections also

RHEV-M will be able to present VM-FEX port profiles natively with 3.x

Connect VM to Virsh (GUI interface of Virsh)

Page 51: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

55

KVM VM-FEX Configuration: Step 7

Same port profiles can be used to KVM VM’s

Verify VM-FEX configuration in both UCSM

Page 52: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

56

VM-FEX Advtanage

Simpler Deployments

‒ Unifying the virtual and physical network

‒ Consistency in functionality, performance and management

Robustness

‒ Programmability of the infrastructure

‒ Troubleshooting, traffic engineering virtual and physical together

Performance

‒ Near bare metal I/O performance

‒ Improve jitter, latency, throughput and CPU utilization

Contrasting VM-FEX to Virtualised Switching Layers

Page 53: © 2010 Cisco and/or its affiliates. All rights reserved.Cisco Confidential Presentation_ID VM-FEX Configuration and Best Practice for Multiple Hypervisor

Thank you.