To troubleshoot network connectivity issues for vMotion:
If the vmotion is configured on vmotion tcp/ip stack, run the below command:
vmkping -I vmk0 192.168.0.1 -S vmotion
For more information on vmkping, see Testing VMkernel network connectivity with the vmkping command (1003728).
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 192.168.0.1, and destination vMotion VMkernel adapter vmk0 with IP 192.168.0.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 192.168.0.2 8000
From destination ESXi host, run this command:
nc -z 192.168.0.1 8000
Sample successful output:
Connection to 192.168.0.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 (81931)