Knowledge
- Explain relationship between vDS and logical vSSes
Skills and Abilities
- Understand the use of command line tools to configure appropriate vDS settings on an ESX/ESXi host
- Determine use cases for and apply Port Binding settings
- Configure Live Port Moving
- Given a set of network requirements, identify the appropriate distributed switch technology to use
- Use command line tools to troubleshoot and identify configuration items from an existing vDS
Tools
- ESX Configuration Guide
- ESXi Configuration Guide
- vSphere Command-Line Interface Installation and Scripting Guide
- Product Documentation
- vSphere Client
- vSphere CLI
- vicfg-*
Notes
Understand the use of command line tools to configure appropriate vDS settings on an ESX/ESXi host
Explore and be familiar with the usage of the vicfg-vswitch command.
From the vSphere Command Line Reference, the three options below are specific to the distributed virtual switch.
- Add an uplink adapter to a distributed virtual port
-add-dvp-uplink | -P - Deletes an uplink adapter from a port on the distributed virtual switch.
-del-dvp-uplink | -Q <adapter_name> -dvp <DVPort_id><dvswitchname> - Name of a distributed virtual port
-dvp | -V
Determine use cases for and apply Port Binding settings
Three different types of port binding exist. A good read on the topic is a VMware KB1010593
Static Binding
- When you connect a VM to a dvPort group a port is reserved and is immediately assigned.
- This port is freed up only when the VM is removed from the dvPort group.
- No command line option and can only be done through vCenter.
- This is the default setting and is recommended for general use.
Dynamic Binding
- dvPort is assigned to a VM only when the VM is powered on and the NIC is connected.
- The dvPort is freed up when the VM is powered off or the NIC is disconnected.
- VMs connected to a dvPort group configured with dynamic binding MUST be powered on and off through vCenter.
- A use case for this would be an environment where you have more VMs than available ports.
Ephemeral binding
- dvPort is created and assigned to the VM when the VM is powered on and NIC is connected. This is just like the vSS
- dvPort is deleted when the VM is powered off of VM NIC is disconnected.
- Ephemeral dvPort assignments can be made through ESX(i) or vCenter.
- This is the only method that will allow you to manage ports when vCenter is down, although network traffic will be unaffected using the other binding methods when vCenter is down.
- Best use case is for emergency and recovery situations
- With this option set, the number of ports is set to 0 automatically at first and will grow.
Configure Live Port Moving
Live port migration means that a standalone dvPort can be moved to a dvPortGroup and acquire all the configuration of the dvPortGroup. Likewise, a dvPort which is a part of a dvPortGroup can be moved out from a dvPortGroup; the subsequent config changes to the dvPortGroup does not apply to this dvPort.
Given a set of network requirements, identify the appropriate distributed switch technology to use
Learn the differences between using the Nexus 1000V vs. VMware’s distributed virtual switch.
There is certainly a price difference and then there is also a management difference. The 1000V is administered like a standard switch, so the Cisco guys in the organization can manage the virtual switching environment consistently with the physical switching environment.
This article here is a good read on the discussion of what option to approach and why.
Use command line tools to troubleshoot and identify configuration items from an existing vDS
This topic is covered in other sections of Objective 2 and the network troubleshooting section in Objective 6.