Horizon
Troubleshooting Instant Clones in the Internal VM Debug Mode
Last Updated 09/01/2017 1
Add To MyLibrary
< Ask New Question
You can use the internal VM debug mode to troubleshoot internal virtual machines in instant-clone desktop pools. With the internal VM debug mode, you can analyze failed internal virtual machines before these virtual machines are deleted. You must enable the internal VM debug mode before you create an instant-clone desktop pool.
Procedure
Instant Clones provisioning fails with the error: "Unable to prepare migration" (60397)
Last Updated: 12/19/2018Categories: Troubleshooting 1Language: subscribe
Symptoms
When creating a new Horizon Instant Clones pool or during Push Image/Maintenance operation on Horizon Instant Clones pool, you experience these symptoms:
- Some of the Horizon Instant Clones fail with the error:
Unable to prepare migration.
- This error is visible on vCenter Server tasks for all the clones that failed.
Cause
This issue occurs because very rarely on vSphere 6.7, a cp-parent VM fails to quiesce properly. This causes "Unable to prepare migration" error when creating Horizon Instant Clones.
Resolution
This is a known issue affecting VMware vSphere 6.7.x with Horizon 7.5 and later.
Currently, there is no resolution.
Currently, there is no resolution.
Workaround
To work around this issue, follow either one of the workarounds:
Workarounds for on-prem Horizon deployment
Workaround #1
Identify the cp-parent VM that is causing the failures by looking at the vCenter Server tasks.
Identify the cp-parent VM that is causing the failures by looking at the vCenter Server tasks.
Identify the cp-parent VM that is causing the failures by looking at the vCenter Server tasks.
Workarounds for on-prem Horizon deployment
Workaround #1
Identify the cp-parent VM that is causing the failures by looking at the vCenter Server tasks.
- Navigate to the host on which this cp-parent VM resides.
- Set InstantClone.Maintenance attribute to value 1 in "Custom Attributes" on the the "Summary" page of the host. This deletes all the cp-parent VMs from the host, including the problem one.
- Once the cp-parent VMs are deleted, the host InstantClone.Maintenance will be set to 2.
- Edit the InstantClone.Maintenance attribute value to an empty string.
- Enable provisioning on the pool or recover the clones in error state.
Identify the cp-parent VM that is causing the failures by looking at the vCenter Server tasks.
- Navigate to the host on which this cp-parent VM resides.
- Put the host into maintenance mode. This deletes all the cp-parent VMs from the host, including the problem one. The host will enter maintenance mode once all cp-parent VMs on it are deleted.
- Exit the host from maintenance mode.
- Enable provisioning on the pool or recover the clones in error state.
Identify the cp-parent VM that is causing the failures by looking at the vCenter Server tasks.
- Navigate to the host on which this cp-parent VM resides.
- Power off the cp-parent VM and delete it.
- Enable provisioning on the pool or recover the clones in error state.
https://communities.vmware.com/thread/619413
No comments:
Post a Comment