Top Banner
vSphere Distributed Switch: Technical Deep Dive NET2745 Jason Nash, Varrow Chris Wahl, AHEAD
65

VMworld 2014: vSphere Distributed Switch

Jul 15, 2015

Download

Technology

VMworld
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: VMworld 2014: vSphere Distributed Switch

vSphere Distributed Switch: Technical Deep Dive

NET2745

Jason Nash, Varrow Chris Wahl, AHEAD

Page 2: VMworld 2014: vSphere Distributed Switch

NET2745

Page 3: VMworld 2014: vSphere Distributed Switch

Senior Solutions Architect @ AHEAD VCDX #104, vExpert Blogger – WahlNetwork.com Author – Networking for VMware Administrators Author – Pluralsight IT Pro training

CCNA Data Center, vCloud Director Host – VUPaaS and IT Engine Builders Podcasts

Page 4: VMworld 2014: vSphere Distributed Switch

Chief Technology Officer @ Varrow VCDX #49, vExpert Blogger – JasonNash.com Author – Pluralsight IT Pro training

XtremIO, Cisco UCS, Nexus 1000v, vC Ops, + more

Page 5: VMworld 2014: vSphere Distributed Switch
Page 6: VMworld 2014: vSphere Distributed Switch

•  Overview •  Requirements •  Construction •  Alternatives •  Tips •  Real World Use Cases

Page 7: VMworld 2014: vSphere Distributed Switch
Page 8: VMworld 2014: vSphere Distributed Switch

ü  Enterprise Plus licensing ü  VMware skillset ü  ESXi host versions ≥ to VDS version

Page 9: VMworld 2014: vSphere Distributed Switch
Page 10: VMworld 2014: vSphere Distributed Switch

o  Lives in vCenter o  All 5.1+ features are Web Client only L o  VDS is a Data Center level object o  VDS database syncs with each ESXi host

Page 11: VMworld 2014: vSphere Distributed Switch
Page 12: VMworld 2014: vSphere Distributed Switch

o  Lives on the ESXi host o  We suggest •  Use Elastic ports •  Connect uplinks (vmnics) to a single network segment o  If you need multiple network segments •  Possible, but requires workarounds

Page 13: VMworld 2014: vSphere Distributed Switch

Servers Segment

DMZ Segment

vmnic0

vmnic1

vmnic2

vmnic3

Port Group

VM1

VM2

VM3

VM4

VM5

Page 14: VMworld 2014: vSphere Distributed Switch

Servers Segment

DMZ Segment

vmnic0

vmnic1

vmnic2

vmnic3

Port Group

VM1

VM3

VM5

VM2

VM4

Port Group

vmnic2

vmnic3

vmnic0

vmnic1

Page 15: VMworld 2014: vSphere Distributed Switch

o  vSphere Standard Switch (VSS) o  Cisco Nexus 1000v o  IBM 5000V aka “Chupacabra”

Page 16: VMworld 2014: vSphere Distributed Switch

ü Use 802.1Q tags for port groups ü At least 2 vmnics (uplinks) per VDS ü A 2x 10 GbE configuration can work fine ü  Put QoS tagging in VDS or physical, not both ü Use descriptive naming everywhere o  No one knows what “dvPortGroup-1” does

Page 17: VMworld 2014: vSphere Distributed Switch
Page 18: VMworld 2014: vSphere Distributed Switch

Migration VSS to VDS

Mixing 1Gb and 10Gb

Hosts

Handling vMotion

Saturation

vSphere Replication Bandwidth

Quality of Service Tagging

Load Based Teaming vs

Link Aggregation

Page 19: VMworld 2014: vSphere Distributed Switch

Triggers: Ø  Licensing (purchased Enterprise Plus) Ø Consume features found only in VDS Ø Reduce operational overhead Ø Separate control planes and related responsibilities

Page 20: VMworld 2014: vSphere Distributed Switch

Tips and Advice: Ø Have a detailed plan in place Ø Test the process on a single host with non-prod

VMs Ø Test network convergence time and ping drops Ø Become comfortable with the steps Ø  Put in a change control Ø  Execute change during maintenance window

Page 21: VMworld 2014: vSphere Distributed Switch

Standard Switch

Distributed Switch

vmnic0

vmnic1

VM Port Group VM

VMKs VMK Port Group

VM Port Group

VMK Port Group

Page 22: VMworld 2014: vSphere Distributed Switch

Standard Switch

Distributed Switch

vmnic0 VM Port Group VM

VMKs VMK Port Group

VM Port Group

VMK Port Group vmnic1

Page 23: VMworld 2014: vSphere Distributed Switch

Standard Switch

Distributed Switch

vmnic0 VM Port Group VM

VMK Port Group

VM Port Group

VMK Port Group vmnic1 VMKs

Page 24: VMworld 2014: vSphere Distributed Switch

Standard Switch

Distributed Switch

vmnic0 VM Port Group

VMK Port Group

VM Port Group

VMK Port Group vmnic1 VMKs

VM

Page 25: VMworld 2014: vSphere Distributed Switch

Standard Switch

Distributed Switch

VM Port Group

VMK Port Group

VM Port Group

VMK Port Group vmnic1 VMKs

VM vmnic0

Page 26: VMworld 2014: vSphere Distributed Switch

Distributed Switch

VM Port Group

VMK Port Group vmnic1 VMKs

VM vmnic0

Page 27: VMworld 2014: vSphere Distributed Switch

Triggers: Ø  Purchase of new server / switch hardware Ø Staged migration to 10 GbE Ø Data Center transformation process

Page 28: VMworld 2014: vSphere Distributed Switch

Tips and Advice: Ø Use a single network segment Ø Use a single VDS Ø Hosts should be entirely 1 GbE or 10 GbE Ø VM Traffic can traverse any uplink Ø Control teaming policies on VMK networks

Page 29: VMworld 2014: vSphere Distributed Switch

dvUplinks

VM Port Groups VMK 1Gb (Mgmt, vMotion, etc)

ESXi 1 Gb

vmnic1 vmnic2 vmnic3 vmnic4

dvUplink1

1 2 3 4 1 2 3 4

dvUplink2 dvUplink3 dvUplink4

vmnic0 was left off to make the numbers

match

Page 30: VMworld 2014: vSphere Distributed Switch

dvUplinks

VM Port Groups

ESXi 1 Gb

vmnic1 vmnic2

dvUplink1

VMK 10Gb (Mgmt, vMotion, etc)

1 2 1 2

dvUplink2 dvUplink3 dvUplink4

Page 31: VMworld 2014: vSphere Distributed Switch

dvUplinks

VM Port Groups VMK 1Gb (Mgmt, vMotion, etc)

ESXi 1 Gb

vmnic1 vmnic2 vmnic3 vmnic4

ESXi 1 Gb

vmnic1 vmnic2

dvUplink1

VMK 10Gb (Mgmt, vMotion, etc)

1 2 3 4 1 2 3 4 1 2

dvUplink2 dvUplink3 dvUplink4

Page 32: VMworld 2014: vSphere Distributed Switch

dvUplinks

VM Port Groups

ESXi 1 Gb

vmnic1 vmnic2

dvUplink1

1 2 3 4

dvUplink2 dvUplink3 dvUplink4

No Link

Page 33: VMworld 2014: vSphere Distributed Switch

Triggers: Ø Multiple hosts migrate VMs to a single host Ø  2+ host maintenance mode Ø DRS migrations Ø DRS affinity and anti-affinity rules

Page 34: VMworld 2014: vSphere Distributed Switch

Tips and Advice Ø Know how Ingress vs Egress works in VDS Ø Use NIOC for source-based control Ø Use Traffic Shaping for destination-based control

Page 35: VMworld 2014: vSphere Distributed Switch
Page 36: VMworld 2014: vSphere Distributed Switch
Page 37: VMworld 2014: vSphere Distributed Switch
Page 38: VMworld 2014: vSphere Distributed Switch

Triggers: Ø Sharing a WAN pipe with other traffic Ø  Paying for bandwidth at certain % of peak Ø Multiple VR tenants between data centers Ø Contention with other backup or replication jobs

Page 39: VMworld 2014: vSphere Distributed Switch

Tips and Advice: Ø Use NIOC with Limits (per vmnic) Ø Use Network Resource pool for VR Ø Alternative is to limit based on VR ports

Page 40: VMworld 2014: vSphere Distributed Switch
Page 41: VMworld 2014: vSphere Distributed Switch

Ø Run script for different limits during day/night Ø Requires PowerCLI and vCenter service account Short URL = http://goo.gl/dAgqBz

Page 42: VMworld 2014: vSphere Distributed Switch

Triggers: Ø  Tag traffic for various SLAs Ø Use L2 Priority Code Point (PCP) Ø Use L3 Differentiated Services Code Point (DSCP) Ø Data Center Bridging extensions in 802.1 Ø  Priority-based Flow Control (PFC) – 802.1Qbb Ø  Enhanced Transmission Selection (ETS) – 802.1Qaz

Page 43: VMworld 2014: vSphere Distributed Switch

Tips and Advice: Ø KISS: QoS solves contention problems Ø  Pick a place to tag traffic – virtual or physical Ø  Try not to enforce QoS in too many ways Ø Use clearly defined tagging when needed Ø Avoid hard limits on traffic flows

Page 44: VMworld 2014: vSphere Distributed Switch
Page 45: VMworld 2014: vSphere Distributed Switch

0 1 2 3 4 5 6 7

Page 46: VMworld 2014: vSphere Distributed Switch
Page 47: VMworld 2014: vSphere Distributed Switch
Page 48: VMworld 2014: vSphere Distributed Switch
Page 49: VMworld 2014: vSphere Distributed Switch

Triggers: Ø Network and Server teams not cooperating Ø  Pop out of those silos! Ø  Poor convergence times during link failover Ø  Poor use of uplink throughput Ø  Excessive Topology Change Notifications (TCN) Ø  Excessive vMotion activity

Page 50: VMworld 2014: vSphere Distributed Switch

Load Distribution Ø Assigning workloads to uplinks based on identifiers Ø  Example: L2, L3, L4, and VLAN values

Load Balancing Ø Assigning workloads to uplinks based on traffic Ø  Example: “Route based on physical NIC load”

Page 51: VMworld 2014: vSphere Distributed Switch

Load Distribution Ø No iSCSI Binding or Multi-NIC vMotion Ø  Potential Layer 2 Path Optimization

Load Balancing Ø  Imbalanced NIC saturation Ø Network can tolerate TCN and MAC table updates

Page 52: VMworld 2014: vSphere Distributed Switch
Page 53: VMworld 2014: vSphere Distributed Switch

Load Distribution Ø  Link Aggregation Group (LAG) Ø Static (EtherChannel) or Dynamic (LACP)

Load Balancing Ø Set PG to Route based on physical NIC load Ø Also known as Load Based Teaming (LBT)

Page 54: VMworld 2014: vSphere Distributed Switch
Page 55: VMworld 2014: vSphere Distributed Switch
Page 56: VMworld 2014: vSphere Distributed Switch
Page 57: VMworld 2014: vSphere Distributed Switch
Page 58: VMworld 2014: vSphere Distributed Switch
Page 59: VMworld 2014: vSphere Distributed Switch
Page 60: VMworld 2014: vSphere Distributed Switch
Page 61: VMworld 2014: vSphere Distributed Switch
Page 62: VMworld 2014: vSphere Distributed Switch

Chris Wahl @ChrisWahl

WahlNetwork.com

Jason Nash @TheJasonNash JasonNash.com

Page 63: VMworld 2014: vSphere Distributed Switch

Thank You

Page 64: VMworld 2014: vSphere Distributed Switch

Fill out a survey Every completed survey is entered into a

drawing for a $25 VMware company store gift certificate

Page 65: VMworld 2014: vSphere Distributed Switch

vSphere Distributed Switch: Technical Deep Dive

NET2745

Jason Nash, Varrow Chris Wahl, AHEAD