The vMotion migrations failed because the ESX hosts were not able to connect over the vMotion network. Check the vMotion network settings and physical network configuration.
/var/log/vmware/vpxd/vpxd.log) contains the error:Migration to host failed with error timeout (0xbad0020)[MIGRATE] (2754482182) error while tracking VMotion progress (Timedout)
Investigate the following ESX vSwitch VLAN settings:
For more information on vMotion failure, see Understanding and Troubleshooting vMotion (321009)
If the issue is not resolved even after performing the previous steps, remove the vMotion port group and recreate it.
1. Remove VMkernel Adapters: A port group cannot be deleted if a VMkernel interface is assigned to it. Note down the IPs configured for vMotion port group.
Configure > Networking > VMkernel adapters.Warning: Ensure there us another path for vMotion if the host is still in production, or migrate the service to a different adapter first.
2. Remove the Port Group: Once the VMkernel adapter is removed, follow the steps for the specific switch type being used:
A. For vSphere Distributed Switch (vDS)
Delete.Note: If "Resource in use" error is observed while deleting port group, check the Ports tab to see if any hidden ports or templates are still associated.
B. For vSphere Standard Switch:
Host > Configure > Networking > Virtual switches.(...) or the X icon next to the port group name and select Remove.3. Create the Port Group
A. For vSphere Distributed Switch (vDS):
Networking in the vSphere Client.Distributed Port Group > New Distributed Port Group.B. For vSphere Standard Switch:
Host > Configure > Networking > Virtual switches.Add Networking.VMkernel Network Adapter and click Next.New standard switch (or an existing one).4. Configure the VMkernel Adapter (Enabling vMotion): Assign an IP address and enable the "vMotion" service.
Host > Configure > Networking > VMkernel adapters.Networking.VMkernel Network Adapter and click Next.Available services, check the box for vMotion.TCP/IP stack is set to "Default" (or "vMotion" if a dedicated stack for routing is being used).Finish.Note: The vMotion IP must be able to ping the vMotion IPs of all other hosts in the cluster.
5. Verify the VMkernel adapter status is Enabled and test connectivity from the ESXCLI:
vmkping -I vmk# <Destination_Host_vMotion_IP>
example: vmkping -I vmk1 192.###.###.###
vMotion migration can fail due to Migrate module in disabled state with message: Failed to initialize migration at source. Error 0xbad0020. Not supported.
Validate the migrate module is enabled by running command on ESXCLI: esxcli system module list | grep migrate
[root@<hostname>:~] esxcli system module list | grep vmotionName Is Loaded Is Enabled------------------------------ --------- ----------migrate true false
Enable the migrate module by running the comand: esxcli system module set -e true -m migrate
Additional reference for ESXi 7.x: Discontinued stickybit files on ESX