If this issue occurs during vMotion, ensure that there are no network related performance issues between the hosts.
For more information, see:
In this case, to work around this issue, increase the value of the vmotion.maxSwitchoverSeconds parameter of the virtual machine from 100 to a larger number. The maximum value being 135.
Process to increase the value of the vmotion.maxSwitchoverSeconds parameter of VM:
You can modify the vmotion.maxSwitchoverSeconds option using the vCenter web Client or ESXi Host Client:
- Login to vCenter web Client or ESXi Host Client
- Locate the virtual machine in the Inventory.
- Power off the virtual machine.
- Right-click the virtual machine and click Edit Settings.
- Click the VM Options tab.
- Select the Advanced.
- Click the Edit Configuration button.
Note: The Configuration Parameters button is disabled when the virtual machine is powered on.
- From the Configuration Parameters window, click Add Configuration Params.
- In the Name field, enter the parameter name:
vmotion.maxSwitchoverSeconds
- In the Value field, enter the new timeout value in seconds (for example: 135).
- Click OK .
- Power on the virtual machine.
Process to modify vmotion.maxSwitchoverSeconds by editing the. vmx file manually:
To modify the vmotion.maxSwitchoverSeconds option by editing the. vmx file manually follow the steps below:
- Locate and edit the. vmx file of the virtual machine.
For more information, see Tips for editing a .vmx file.
- To increase the timeout value to 135 seconds, modify this line of. vmx file of the virtual machine:
vmotion.maxSwitchoverSeconds = 135
Note: To edit a virtual machines configuration file, you need to power off the virtual machine, remove it from Inventory, make the changes to the vmx file, add the virtual machine back to inventory, and then power on the virtual machine again OR follow the article Reloading a vmx file without removing the virtual machine from inventoryIf the issue occurs during Storage vMotion, ensure that there are no storage related performance issues on source and the destination datastores. Sometimes the failure can happen if the virtual machine has many virtual disks.