Distributed Virtual Switch is a vCenter feature that allows the ESXi's NICs be attached to vCenter's Virtual Switch instead of ESXi's own vSwitch. The vCenter switch configuration has several advantages such as vMotion compatibility, as well as allowing system administrators more control over network functionality. For further information, see this video.
To use vCenter in this configuration, users must acquire the vSphere Enterprise Plus license in order to have the Distributed Virtual Switch functionality.
First, log in to the vCenter with your user and password:
Browsing the Inventory, select the Networking view:
Press the right mouse button in your datacenter entity and select New vNetwork Distributed Switch...:
Select vNetwork Distributed Switch Version: 4.1.0 and press Next > :
Name your switch. Also, select the maximum number of dvUplinks (NIC redundancy) you want to provide. Click Next > to go on:
Add the Hosts for associating their physical NICs with the DVS. Keep the Add now radio button selected. Then select the Host you want to use and all of its associated NICs. (Please note that the number of NICs you choose cannot be greater than the number of dvUplinks you selected in the previous step). Then click Next > :
You will see a summary of the creation stage. Before you click Finish, unmark the Automatically create a default port group checkbox, because the port groups will be managed by Abiquo.
In this section, we will see how to add a Host NIC to a previously created Distributed Virtual Switch.
From the Home>Inventory>Networking browsing view, select the target Distributed Virtual Switch. In the right pane select the Hosts tab and then press the right mouse button in the detail pane to open the pop-up menu. Select Add host to vNetwork Distributed Switch... in that menu:
Select the host you want to add and the Physical Adapters to associate. Then click Next >:
Assign the adapters to migrate to a defined port group in the dvSwitch. Keep the 'Destination port group' column of the physical NICs as Do not migrate unless you know what you are doing. Click Next > to continue:
Attach the virtual machines to the DVS with these steps. If you already have virtual machines deployed and using the target NIC you wish to associate to DVS, in this step, you can migrate them to an already created port group in DVS. To do that, mark the Migrate virtual machine networking checkbox, select the corresponding virtual machine, and associate it with a port group through the button Assign port group. After you have finished, click Next >:
You can view the summary of the actions and click Finish to complete the migration.
Create the network service types for your environment.
Add a host in the usual way and assign the DVS to the appropriate network service type.