Starting the Detach Cleanup

Once the VM is detached and you have completed any required validation, you can start the detach cleanup. This marks the VM as unmanaged by Velostrata and removes the (temporary) storage objects. Once you have run the detach cleanup, the VM is managed by vCenter.

If for some reason  you do not want to complete the detach cleanup and you want to revert back, you can move the VM back to fully cached. See Rolling Back the Detach.

On-prem-to-Cloud: To start the detach cleanup in vSphere:
  1. On the vSphere Web Client, select the desired Virtual Machine.
  2. Right-click on the required VM and select Velostrata Operations > Migration Operations > Cleanup.
  1. Enter the number and then click OK. If you want to force a clean up, select Force Clean up.
  2. The storage migration state will change to "Cleaning Up". 
  3. After the  clean up process is completed, the VM is no longer managed by Velostrata, and is instead once again managed by vSpehere.
Onprem-to-Cloud: To start the detach cleanup using PowerShell:
  1. In Powershell, connect to the Velostrata Manager by running Connect-VelostrataManager.
  1. When prompted enter details for the Server, Username (apiuser) and Password (the subscription ID).
  2. To start the detach cleanup, run get-vm myserver | Start-VelosDetachCleanup.
  3. When prompted, enter Y.
  1. To check the state of the task, run Get-Velostask [ID] and optionally Get-Velostask [ID] |fl *
  1. Monitor the created vSphere Cloud Instance Information and task. The VM State is Running and the Storage Migration is Cleaning Up.
Cloud-to-Cloud: To start the detach cleanup using PowerShell:
  1. In Powershell, connect to the Velostrata Manager by running Connect-VelostrataManager.
  2. When prompted enter details for the Server, Username (apiuser) and Password (the subscription ID).
  3. To start the detach cleanup, run Start-VelosDetachCleanup -ID i-123abcd.
  4. When prompted, enter Y.