Migrating Networks from Standard to Distributed Switch

Hey guys, in our earlier post on vDS, we have seen how vDs can be configured, this post will help you understand how to migrate networks from Standard switch to vDS, especially the management network. Before we go any further, here are a few things you should keep in your mind for the migration.

  • Migration wizard enables us to migrate Physical NICs, VMkernel interfaces and VM network adapters at the same time.
  • To migrate VMkernel adapters or VM network adapters, we must have designated distributed portgroups on the destination vDS and associated uplinks, although we can do it all in the same wizard, it’s a good practice to ensure things.

In my case i have added two uplinks to the vDS for the management network and i also have created a distributed port group for it. How-To? Below is my vDS topology.

2016-08-03 10_51_11-vSphere Web Client.jpg

To get started, click on the Add Hosts button which brings up a wizard. Select Manage Host Networking radio button and hit Next.

2016-08-03 11_31_42-vSphere Web Client.jpg

On the Next screen you, click on the Attached hosts button and select the hosts that needs to be migrated to vDS. Click OK and Next.2016-08-03 11_32_42-vSphere Web Client.jpg

Once selected, you now have an option to select the template mode wherein you can make changes on one host and same settings will be pushed to the other hosts. Check the box at the bottom to enter template mode. To know how template mode works, refer vDS configuration post here. Hit Next

2016-08-03 11_46_41-vSphere Web Client.jpg

Check the Manage physical adapters and VMkernel adapters check boxes. Make selection based on your infrastructure. Hit Next.

2016-08-03 11_47_08-vSphere Web Client

Select the VMkernel adapters you want to migrate and click on the Assign Uplink button. Assign the uplinks accordingly and click OK.

2016-08-03 11_47_27-vSphere Web Client.jpg

Once assigned, below is how my wizard will looks like. Click Next

2016-08-03 11_48_20-vSphere Web Client.jpg

On the next screen, you should see a warning that vmkernel adapter might loose connectivity unless there is a vDS port group assigned to it. So select the vmkernel interface  and click on the Assign port group button. Now assign the vDS port group.

2016-08-03 11_49_48-vSphere Web Client

Once assigned, you should see the wizard having the port group names. Click Next

2016-08-03 11_50_30-vSphere Web Client

Migration wizard checks if there are any network dependencies and lists the services available and impact on them due to the migration. If no issues found, click Next.

2016-08-03 11_51_26-vSphere Web Client.jpg

Review the settings and hit Finish.

2016-08-03 11_51_34-vSphere Web Client

Once the migration task is complete, review the vDS topology and you now have the management network migrated to vDS. Beauty of vDS migration is, if there are any management network disconnects, vDS rolls back the changes done on the vDS. This is enabled by default from version 5.5

2016-08-03 11_52_34-vSphere Web Client.jpg

Hope this was informative. Thanks!


#distributed-switch, #management-network, #migrate, #standard-switch, #vds, #vmkernel