Twitter, feel free to tweet about this session (use hashtag #DenverVMUG) • I encourage you to take photos or videos of today’s session and share them online • This presentation will be made available online after the event
Question #1: How many vSwitches should I use? • Question #2: Should I use a distributed vSwitch? • Question #3: What traffic types can/should share uplinks? • Question #4: How many uplinks do I need? • Question #5: When should I use link aggregation?
the following is true: • You are using at least two (2) physical switches • You’ve enabled PortFast/disabled STP on vSphere-facing ports • You’ve enabled CDP/LLDP
that: recommendations • Ultimately you need to understand the impact of your networking design decisions and react accordingly • Be sure to keep the functional requirements in mind—does the network configuration meet the functional requirements? • Your vSphere networking design might violate “general recommendations” because of your specific needs or requirements. That’s OK.
when you need different sets of uplinks • Without VLANs, separate uplinks (and thus separate vSwitches) would be necessary • I generally recommend as few vSwitches as possible (more vSwitches don’t add redundancy) • I strongly advocate the use of VLANs wherever possible • Separate vSwitches are necessary for disjointed L2 domains
additional recommended practices: • Avoid the use of VLAN 1 where possible (although this recommendation is a bit dated) • Set an unused VLAN as the native VLAN on your trunks • Understand the behavior of the native VLAN with vSwitches and port groups
effort), but offer fewer points of failure and fewer dependencies • Distributed vSwitches (dvSwitches) offer streamlined administration but with additional dependencies • Most of the advanced features are found only in dvSwitches
disadvantages Feature vSwitch dvSwitch Continues to operate even in the absence of an external control plane (vCenter, VSM) Yes No Supports all key networking features (VLANs, vMotion, FT, link aggregation, etc.) Yes Yes Offers simplified network mgmt and potential mgmt offload to network team No Yes
a hybrid configuration (minimum 4 uplinks) • Run management traffic on a vSwitch, run VM/VM-related traffic on a dvSwitch • When using a dvSwitch, appropriately protect the control plane (VSM or vCenter Server) • If it must be “or” not “and,” then go back to your functional requirements
for all types of network traffic • Try to understand the network traffic in terms of: • Consistency: Is it bursty traffic? Or is it constant? • Bandwidth: How much bandwidth does it use? • Scope: Is this traffic for one VM, or will it affect multiple VMs?
traffic is generally low bandwidth • vMotion is generally bursty and inconsistent • Fault Tolerance logging is consistent; bandwidth usage depends on number of FT-protected VMs • IP-based storage traffic is high-bandwidth, large scope, consistent traffic
traffic with other traffic types unless absolutely necessary • Mix FT traffic with bursty traffic with small number of FT- protected VMs • Management and vMotion are OK to mix • Try to keep VM-facing traffic segregated from “back end” traffic
• vSwitch/dvSwitch arrangement (separate vSwitch means more uplinks) • VLAN configuration (no VLANs means more uplinks) • Traffic mixing (separate traffic streams means more uplinks) • Upstream network configuration (disjointed L2 networks means separate vSwitches)
• Minimum of 4 uplinks for non-IP-based storage • Minimum of 6 uplinks for IP-based storage • For 10 GbE environments, only 2 uplinks are necessary unless functional requirements dictate otherwise • Minimum of 4 uplinks for hybrid vSwitch/dvSwitch configuration (can use “virtual NICs” if necessary)
multiple links together for greater aggregate throughput (e.g., EtherChannel) • NIC teaming refers to use multiple physical NICs as uplinks on a vSwitch or dvSwitch • Both techniques offer redundancy
NIC teaming Feature Link Aggr NIC Team Supports multiple physical switches Only with MLAG Yes Requires physical switch config Yes No Per-flow load balancing Yes No Increased throughput for each traffic flow No No
is fine for most implementations • Use link aggregation only if physical switches support MLAG (otherwise can’t use multiple physical switches) • Don’t use link aggregation for IP-based storage traffic (it’s generally useless)