This article provides steps to migrate the VMkernel/VM networking from a source vSphere Distributed Switch (VDS) to another VDS with the least downtime.
VMware vCenter Server
VMware vSphere ESXi
Prerequisites:
Please refer to the below steps for migrating VM/vmkernel networking:
If there are no LACP/etherchannel configuration, then the vmnics can be attached to the new VDS directly.
Failover order configured for port groups:
"Virtual Switches" on the ESXi host -> Manage Physical adapters -> Selecting
the vmnics -> From the drop down menu change the value to None."Virtual
switches" on the ESXi host -> Manage Physical adapters -> Select the vmnics -> From the drop down menu change the value to the required Uplink#.new
DVS from the ESXi host -> Virtual switches -> On new DVS ->
Click on 3 dots -> Migrate Networking -> Go to the second step "Manager VMkernel adapters" -> select the vmkernels
-> select the target port group -> Finish.Select the VM -> Edit Settings -> Network Adapter ->
Change the port groups for all the adapters to new port groups on the
new DVS -> Save.on the old DVS -> Right click the
port group -> Migrate VM Networking -> Select the destination
portgroup -> Select all the VMs whose networking need to be moved
-> Finish.DVS -> Add and Manage Hosts -> Manage host Networking -> Select hosts -> Click Next for Manage physical adapters and VMkernel adapters (Already migrated) -> Migrate VM Networking -> Configure per virtual Machine -> Assign Port Group -> Finish
Note: Now the remaining vmnics can be freely moved over to the new DVS.
For more information regarding, migrating networking from DVS to standard switch, please refer: Migrating from Standard to Distributed vSwitch