This issue occurs if the state of the virtual machine cannot be determined from the .vmx file.
Starting with ESXi 5.0, by default, each virtual machine has two vswp files when the virtual machine is powered on. This issue occurs when the machine has three vswp files, instead of two.
To work around this issue in a View environment:
- Log in to the VMware View Administrator page.
- Click Inventory > Desktop.
- Click the virtual machine for which vMotion failed.
- Click the More commands drop down and select Enter Maintenance Mode.
- In vCenter Server, right-click the virtual machine and click Power > Power off.
- Right-click the datastore and browse to the virtual machine storage location.
- Verify that the vswp files are no longer present.
- Right-click the virtual machine and click Power > Power On.
Note: Do not use Restart or Reset.
- Right-click the datastore and browse to the virtual machine storage location.
- Verify that the virtual machine has only two vswp files.
- Perform the vMotion again.
To work around this issue in a non-View environment:
- Connect to vCenter Server using the vSphere Client.
- Right-click the virtual machine and click Power > Power off.
- Right-click the datastore and browse to the virtual machine storage location.
- Verify that the vswp files are no longer present.
- Right-click the virtual machine and click Power > Power On.
Note: Do not use Restart or Reset.
- Right-click the datastore and browse to the virtual machine storage location.
- Verify that the virtual machine has only two vswp files.
- Perform the vMotion again.
If the issue persists and you still see three vswp files:
- Connect to vCenter Server using the vSphere Client.
- Right-click the virtual machine and click Power > Power off.
- Right-click the datastore and browse to the virtual machine storage location.
- Right-click the vswp file and click Move To.
- Expand and select a temporary destination location where you want to save the the files and then click Move. You can also rename the vswp file.
- Right-click the virtual machine and click Power > Power On.
Note: Do not use Restart or Reset.
- Right-click the datastore and browse to the virtual machine storage location.
- Verify that the virtual machine has only two vswp files.
- Perform the vMotion again.
No comments:
Post a Comment