To troubleshoot network connectivity issues for vMotion:
esxcli network ip interface list
esxcli network ip interface tag -i [VMkernel adapter name]
esxcli network ip interface tag -i vmk0
vmkping
vmkping -I vmk0 xx.xx.xx.2
vmkping -I vmk0 xx.xx.xx.1
If the vmotion is configured on vmotion tcp/ip stack, run the below command:
vmkping -I vmk0 xx.xx.xx.1 -S vmotion
Note: After you create a VMkernel adapter on the vMotion TCP/IP stack, you can use only this stack for vMotion on this host. The VMkernel adapters on the default TCP/IP stack are deactivated for the vMotion service.
For more information on vmkping, see Testing VMkernel network connectivity with the vmkping command.
OR
Run this command: vmkping --help
With long distance vMotion, the maximum supported RTT is 150 miliseconds.
nc
nc is the netcat utility and can be used to verify connectivity on a specific remote port.
Suppose you have source vMotion VMkernel adapter vmk0 with IP xx.xx.xx.1, and destination vMotion VMkernel adapter vmk0 with IP xx.xx.xx.2. Since vMotion listens on port 8000 of the vMotion VMkernel adapter, you need to verify if you can establish a connection to port 8000.
From source ESXi host, run this command:
nc -z xx.xx.xx.2 8000
From destination ESXi host, run this command:
nc -z xx.xx.xx.1 8000
Sample successful output:
Connection to xx.xx.xx.2 8000 port [tcp/*] succeeded!
For more information on nc and troubleshooting specific tcp/ip port connectivity issues, see:
Workaround:
VMware Skyline Health Diagnostics for vSphere - FAQ