This is an expected behavior when migrating between mixed vSphere Distributed Switches.
To resolve this issue:
- upgrade the vDS with the lower version to match that of the higher one, if possible.
- Alternatively, power-off the VM and then do the migration (cold migration).
Note: The workaround should
only be used for the vMotion between different DVS versions for migrations
between on-prem and
VMware Cloud. If the below workaround is applied to hot-migrate a VM between vDS/DVS versions, the VM may lose network connectivity.
Workaround:
To work around this issue:
vCenter Server 6.5.x and vCenter Server 6.7.x
- Log in to the vCenter Server using the HTML5 or vSphere Web Client.
- Highlight your vCenter Server name in the left-hand column and then click on the Configure tab on the right.
- Go to Advanced Settings and click Edit Settings.
- At the bottom of the pop-up window, add the following property in the Name section:
config.migrate.test.NetworksCompatibleOption.AllowMismatchedDVSwitchConfig
- Set the value to true.
- Click Add.
- Click Save.
- Re-try the migration.
vCenter Server 7.0.x and later
- Log in to the vCenter Server using the HTML5 or vSphere Web Client.
- Highlight your vCenter Server name in the left-hand column and then click on the Configure tab on the right.
- Go to Advanced Settings and click Edit Settings.
- At the bottom of the pop-up window, add the following property in the Name section:
config.vmprov.enableHybridMode
- Set the value to true.
- Click Add.
- Click Save.
- Re-try the migration.
Note: For enabling hybrid mode in vCenter, the target DVS version must be at least 6.0.0.
Note: The workaround should
only be used for the vMotion between different DVS versions for migrations
between on-prem and
VMware Cloud. If the below workaround is applied to hot-migrate a VM between vDS/DVS versions, the VM may lose network connectivity.