To create a distributed port group, select your distributed virtual switch (in our case: MyDSwitch) and click: Actions -> Distributed Port Group -> New Distributed Port Group.
In the "New Distributed Port Group" wizard that appears, specify a name for it.
For example: DPortGroup_VMs. This one will be used by our virtual machines and we will create 2 others later for host management and VM migration via vMotion.
Note: the location corresponds to the previously selected virtual distributed switch.
When you create a distributed port group, several settings are offered:
Sources :
A summary of the configuration of the distributed port group to create appears.
Click Finish.
The created distributed port group appears.
In the "Details" section you will see:
Source : Use a Network Protocol Profile to Allocate IP Addresses to a Virtual Machine or vApp - VMware Docs.
If you go to the "Ports" tab of your distributed port group (in our case: DPortGroup_VMs), you will be able to see the ports that have been created.
Obviously, given that this group of distributed ports (DPortGroup_VMs) was created on your distributed virtual switch (MyDSwitch), these ports are also visible from the "Ports" tab of this distributed virtual switch.
However, when you have several distributed port groups (DPortGroup...), it will be more interesting to go to the "Ports" tab of the desired distributed port group to filter the display of available ports.
Select your distributed virtual switch "MyDSwitch" and go to the "Configure" tab.
Then go to: Settings -> Topology.
As you can see, your distributed virtual switch now has:
Now that your distributed virtual switch (DSwitch), uplink port group (DSwitch-DVUplinks-xx), and distributed port groups (DPortGroup_...) are created, you can add your hosts on your distributed virtual switch (DSwitch).
To do this, select this virtual switch and click: Actions -> Add and Manage Hosts.
In the "MyDSwitch - Add and Manage Hosts" wizard that appears, select: Add hosts.
Click: New hosts.
Select your 1st VMware ESXi host and click OK.
Important : add only one VMware ESXi host to start and avoid the one where your "vcsa" virtual machine is located.
Indeed, migrating the host where the "vcsa" VM is running requires several steps that you will see a little later in this tutorial.
The selected host appears.
Click Next.
As a reminder, in our case:
Select your 1st physical adapter (vmnic0) and click: Assign uplink.
As you can see in the "Select an Uplink" window that appears, there are 4 Uplinks available.
Which corresponds to the "Number of uplinks" defined when creating your distributed virtual switch at the very beginning of the tutorial.
Select "Uplink 1" to map the physical adapter (physical network card) of the host being added to this "Uplink 1" uplink.
Note: in general, you will map the physical adapter "vmnic0" of all your VMware ESXi hosts to the uplink "Uplink 1", vmnic1 to Uplink 2, ...
Select the physical adapter "vmnic1" and click: Assign uplink.
Map this physical adapter "vmnic1" to the uplink "Uplink 2".
Continue this by mapping physical adapter "vmnic2" to uplink "Uplink 3" and physical adapter "vmnic3" to uplink "Uplink 4".
As you can see, these will be part of the "MyDSwitch-DVUplinks-xx" uplink port group.
Click Next.
When you add a host on a virtual distributed switch (vDS) and you have chosen (in the previous step) to migrate all of its physical adapters (physical NICs), it is important to also migrate its VMkernel network adapters.
Indeed, otherwise, the network connection of these VMkernel network adapters would be lost given that they are currently connected to a vSwitch (vSS) of the host whose physical adapters you have decided to migrate to the new switch virtual distributed (vDS).
Choose the VMkernel adapter "vmk0" and click "Assign port group".
Note: as you can see in the image below, our VMkernel network adapter "vmk0" is used for managing the host (Management Network) and "vmk1" is used for migrating virtual machines via vMotion (vMotion Network).
In the "Select Network" window that appears, select the desired distributed port group.
In our case, we will connect the VMkernel network adapter "vmk0" to the distributed port group "DPortGroup_Mgmt".
Select the second VMkernel network adapter (in our case: vmk1) and click: Assign port group.
In our case, we will connect the VMkernel network adapter "vmk1" to the distributed port group "DPortGroup_vMotion".
As you may have noticed, VMkernel network adapters are added to distributed port groups (DPortGroup_...) and not uplink groups as was the case for physical adapter mapping.
Finally, you can migrate the networking of the virtual machines present on the host that you are adding to this virtual switch.
However, for the list of virtual machines on this host to appear, you must first check the "Migrate virtual machine networking" box.
Warning : as you can see, currently we have a virtual machine (Win 10 v2004 x64 - VM 1) on this VMware ESXi host which is currently connected to the "VM Network" port group.
However, this port group is on virtual standard switch (vSS) "vSwitch0" which will no longer have access to our host's physical adapters (physical NICs) once this wizard is completed.
In fact, you have planned to migrate them in the 3rd step of this wizard.
It is therefore essential to migrate your virtual machines to a distributed port group of your new virtual distributed switch (vDS) so that they can continue to function correctly.
Select your virtual machines and click: Assign port group.
Select the desired distributed port group. In our case: DPortGroup_VMs.
Note: you can connect virtual machines, as well as VMkernel adapters on distributed port groups. Just like you would with a typical port group on a virtual standard switch (vSS).
As expected, our virtual machine "Win 10 v2004 x64 - VM 1" will be migrated from the "VM Network" port group of our vSwitch0 (vSS) to the distributed port group "DPortGroup_VMs" of our new distributed virtual switch "MyDSwitch" .
A summary of the addition of the host and the migration of the different adapters (physical adapters, VMkernel adapters and virtual machine adapters) appears.
Click on: Finish.
In recent tasks, you will see the tasks appear:
VMware 9/23/2022
VMware 11/2/2022
VMware 5/12/2023
VMware 7/29/2022
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.
No comment