On a VMware ESXi host, network access to the virtual machines and the host is through a virtual standard switch (vSS) created on the specific host.
However, in large virtual infrastructures with many VMware ESXi hosts, it is essential to be able to manage their network configuration centrally.
To do this, you will need to create a virtual distributed switch (vDS) and migrate your VMware ESXi hosts to it.
So, when you change a setting on the virtual distributed switch (vDS), that of the hidden vSwitch on each VMware ESXi host will be updated automatically.
To learn more about how the Virtual Distributed Switch (vDS) works and features, refer to our article: VMware vSphere 6.7 - Virtual Distributed Switches (vDS).
When you want to migrate a VMware ESXi host from a standard virtual switch (vSS) to a distributed virtual switch (vDS), it is important that the "vcsa" VM (which corresponds to the "VMware vCenter Server Appliance") is not on the 1st host you want to migrate.
To do this, we will migrate our "vcsa" VM to our 2nd host (esxi2).
Select "Change both compute resource and storage" to migrate the virtual machine execution and its files.
Note: in our case, this is located in the local storage (local datastore) of our host. Hence the need to migrate both at the same time.
Wait while your "vcsa" VM is migrated.
The "vcsa" VM has been migrated.
For this tutorial, we use a VMware virtual infrastructure configured to allow the migration of virtual machines via a dedicated network to meet VMware prerequisites.
If you want to create this VMware virtual infrastructure to more easily follow this vDS tutorial, refer to our tutorial: VMware vSphere 6.7 - Migrate VMs via vMotion.
As you can see, each VMware ESXi host has:
Warning : if you first follow our vMotion tutorial, be aware that there is a slight difference in our case.
Indeed, the name of the physical adapters (vmnic0, vmnic1, ...) is not the same (between here and the tutorial concerning vMotion).
On the 2nd host, the configuration is the same. Apart from the IP addresses changing for the VMkernel ports.
But, as you will have understood, in the case of standard virtual switches, you must configure each virtual switch individually and if you want to update a setting, you must do it on the other hosts as well.
Which will no longer be necessary with vDS.
To create a virtual distributed switch (vDS) from the VMware vSphere Client of your VMware vCenter Server (VCSA), go to the menu and click "Networking".
Next, select the data center (DC) where you want to create your virtual distributed switch (vDS) and click: Actions -> Distributed Switch -> New Distributed Switch.
In the "New Distributed Switch" wizard that appears, provide a name for your new virtual distributed switch (vDS) and click Next.
The location shown is the one from which you opened this wizard. In our case: DC-Brussels.
When you create a virtual distributed switch (vDS), you must select which version of it you want to use:
If you do not have older VMware ESXi hosts, select the most recent version to benefit from the full features of your VMware vSphere infrastructure.
To find out about the new features offered by these different versions of vDS, click on the little "i" next to "Features per version".
As you can see :
Sources :
In the "Configure settings" step, you will need to configure the following options:
A summary of the configuration of your new distributed virtual switch "DSwitch" appears.
Click Finish.
Your new distributed virtual switch (in our case: MyDSwitch) appears and you will see the "Create a vSphere Distributed Switch" task appear in the recent tasks.
As expected, it is a virtual switch created by "VMware, Inc" and its version is "6.6.0 (in our case)". This supports hosts running VMware ESXi 6.7 or later.
If you select your new distributed virtual switch (DSwitch), you will be able to see the switch details:
In the "Features" section, you will see that virtual distributed switches (vDS) support:
For more information about these features, refer to our article: VMware vSphere 6.7 - Virtual Distributed Switches (vDS).
As with other VMware virtual switches, you can see the network topology of your virtual distributed switch (vDS) by going to the "Configure" tab of it, then going to: Settings -> Topology.
As you can see, at the moment your Virtual Distributed Switch (vDS) only has an uplink port group "MyDSwitch-DVUplinks-xx" that currently has no physical adapter (physical NIC) assigned to it.
If you select your uplink port group "MyDSwitch-DVUplinks-xx", you will see:
Note: the number shown at the end of this uplink port group name is a random number added by VMware vSphere that has no meaning.
The goal is simply to create groups of uplink ports with unique names.
VMware 2/10/2023
VMware 4/11/2024
VMware 2/23/2024
VMware 7/3/2024
Pinned content
Contact
® InformatiWeb-Pro.net - InformatiWeb.net 2008-2022 - © Lionel Eppe - All rights reserved.
Total or partial reproduction of this site is prohibited and constitutes an infringement punishable by articles L.335-2 and following of the intellectual property Code.
You must be logged in to post a comment