The below steps can be followed to perform NVDS to VDS migration on single or few ESXi host at a time.
NVDS to VDS migration via command line:
- Put the ESXi host into maintenance mode
- Login to NSX Manager node VM as admin user
- Run the command vds-migrate precheck to verify that the hosts are ready for migration
- Run the command vds-migrate show-topology to retrieve the recommended topology
- Run the command vds-migrate apply-topology to create a VDS with the recommended topology
Note: Validate if the VDS is created on the vCenter
- Login to the NSX manager node vm as root user
- Using VIM editor, create a file /opt/tnid in the NSX manager node and update the ESXi transport node UUID in the file
Note: Only the required ESXi transport node UUID should be added in the /opt/tnid file.
- Switch back to the admin user
- Run the command vds-migrate tn-list /opt/tnid to initiate the NVDS to VDS migration
Note: NVDS to VDS migration will be performed on all the ESXi host UUID updated in the /opt/tnid file
- Once the migration task is completed, take the ESXi host out of maintenance mode
- Confirm the ESXi host is added to the new CVDS created in the vCenter
- Repeat steps 7 to 11 only for the next batch of ESXi transport nodes
If you face any issue during the process, you can raise a support request with Broadcom support team by following Creating and managing Broadcom support cases.
In case where a vDS already exists, the NVDS switch is only used for NSX (no other vmknics), and you only need to migrate small number of hosts, if the environment allows, you can re-prepare the hosts for NSX:
- Put the host that is to be migrated to Maintenance mode.
- Using NSX UI, uninstall NSX.
- Re-prepare the host for NSX, configure the host on a vDS.