Undelpoy Steps
Steps for HDM Undeployment
HDM undeployment consists of the following high level tasks:
- Undeploy HDM in the cloud
- Disable monitoring
- Undeploy HDM on-premises
- Uninstall the HDM filter from the cluster
- Unregister the HDM vCenter plugin
- Delete the PrimaryIO appliance from vCenter
Undeploy HDM in the Cloud
Prerequisites
- Ensure that all virtual machines have been migrated back to the on-premises environment. To do this, check to make sure the resource pool _HDM_MIGRATEPOOL in the on-premises vCenter is empty.
Steps
- In the on-premises vCenter, select HDM from Shortcuts or from Menu to access the HDM dashboard.
- Select Administration from the tab.
- Select Clouds to access the cloud listing.
- Select the appropriate cloud from the listing, then select DELETE CLOUD
![image_tooltip alt_text](/user/sites/docs.primaryio.com/pages/01.HDM/05.HDM Documentation/08.vcs/60.Undeploy/images/image28.png)
- Select OK on the Delete Cloud popup to begin the undeployment.
![image_tooltip alt_text](/user/sites/docs.primaryio.com/pages/01.HDM/05.HDM Documentation/08.vcs/60.Undeploy/images/image10.png)
- This will create undeployment tasks for the cloud components. The task can be monitored in vCenter tasks, as well as in HDM clouds view.
![image_tooltip alt_text](/user/sites/docs.primaryio.com/pages/01.HDM/05.HDM Documentation/08.vcs/60.Undeploy/images/image24.png)
- Wait for the undeployment task to finish.
![image_tooltip alt_text](/user/sites/docs.primaryio.com/pages/01.HDM/05.HDM Documentation/08.vcs/60.Undeploy/images/image32.png)
Disable Monitoring
Prerequisites
- There must not be any VMs migrated to cloud (i.e., the _HDM_MIGRATEPOOL resource pool in the on-premises vCenter must be empty).
Steps
- In the on-premises vCenter, select HDM from Shortcuts or from Menu to access the HDM dashboard.
- Select Administration from the tab.
- Select Configuration to access the cluster listing.
- Find the cluster where HDM is installed and select Disable under Monitoring
![image_tooltip alt_text](/user/sites/docs.primaryio.com/pages/01.HDM/05.HDM Documentation/08.vcs/60.Undeploy/images/image14.png)
- Select OK in the popup.
![image_tooltip alt_text](/user/sites/docs.primaryio.com/pages/01.HDM/05.HDM Documentation/08.vcs/60.Undeploy/images/image33.png)
- A reconfiguration task will be created in vCenter for each VM when removing the HDM SPBM policy associated with monitoring.
Undeploy HDM On-Premises
Prerequisites
- Ensure the cloud undeploy completed successfully.
- Ensure disable monitoring completed successfully.
Steps
- In the on-premises vCenter, select HDM from Shortcuts or Menu to access the HDM dashboard.
- Select Administration from the tab.
- Select Configuration to access the cluster listing.
- Find the cluster where HDM is installed and select UNINSTALL.
![image_tooltip alt_text](/user/sites/docs.primaryio.com/pages/01.HDM/05.HDM Documentation/08.vcs/60.Undeploy/images/image11.png)
- Select OK in the Uninstall On-Premises pop-up.
![image_tooltip alt_text](/user/sites/docs.primaryio.com/pages/01.HDM/05.HDM Documentation/08.vcs/60.Undeploy/images/image3.png)
- Undeployment tasks will be created for the on-premises components. The task can be monitored in vCenter tasks, as well as in the HDM configuration view.
![image_tooltip alt_text](/user/sites/docs.primaryio.com/pages/01.HDM/05.HDM Documentation/08.vcs/60.Undeploy/images/image50.png)
- Wait for the undeployment task to finish.
![image_tooltip alt_text](/user/sites/docs.primaryio.com/pages/01.HDM/05.HDM Documentation/08.vcs/60.Undeploy/images/image34.png)
Uninstall HDM Filter from Cluster
Note: ESXi on the on-premises cluster must be placed into maintenance mode to uninstall the I/O filter. If the cluster only has one node, ensure that all VMs other than the HDM appliance are powered off.
Prerequisites
- The HDM on-premises undeployment must be successful.
Steps
- Access the PrimaryIO appliance from the browser.
- Log into the appliance using administrator credentials.
- Select the vCenters tab to view the vCenter listing.
- Find vCenter and select Uninstall.
![image_tooltip alt_text](/user/sites/docs.primaryio.com/pages/01.HDM/05.HDM Documentation/08.vcs/60.Undeploy/images/image7.png)
- A popup will guide you through the uninstallation. Select the cluster where HDM is installed.
![image_tooltip alt_text](/user/sites/docs.primaryio.com/pages/01.HDM/05.HDM Documentation/08.vcs/60.Undeploy/images/image35.png)
- This will create a task which can be monitored from vCenter tasks.
- If your Appliance is also part of the cluster and the cluster only has one node, follow these additional steps:
- Power off all guest VMs residing on the cluster.
- Immediately power off the appliance VM on the on-premises vCenter to enable the cluster host to enter maintenance mode. This step must be completed before the VIB uninstallation task fails in vCenter.
- Once the uninstall task completes successfully, power on the appliance VM.
- After the appliance VM is booted, re-trigger the uninstall from the appliance. This time, the uninstall should succeed without the power on/off requirement.
- Wait for the uninstall task to finish.
![image_tooltip alt_text](/user/sites/docs.primaryio.com/pages/01.HDM/05.HDM Documentation/08.vcs/60.Undeploy/images/image36.png)
Unregister the HDM vCenter Plugin
Unregistering the HDM plugin causes the HDM icon to be removed from vCenter.
Prerequisites
- Uninstall of the HDM filter must be complete.
Steps
- Access the PrimaryIO appliance from the browser.
- Log into the appliance using administrator credentials.
- Select the vCenters tab to view the vCenter listing.
- Find vCenter, then select Unregister
![image_tooltip alt_text](/user/sites/docs.primaryio.com/pages/01.HDM/05.HDM Documentation/08.vcs/60.Undeploy/images/image38.png)
- Once the unregister is successful, the HDM icon should no longer appear in the vCenter menu. However, you must logout and log back in to vCenter to see this change.
Delete PrimaryIO Appliance from vCenter
Prerequisites
- Ensure that the HDM plugin has been unregistered.
Steps
- Access the PrimaryIO appliance from the browser.
- Log into the appliance using administrator credentials.
- Select the vCenters tab to view the vCenter listing.
- Find vCenter, then select Delete.
![image_tooltip alt_text](/user/sites/docs.primaryio.com/pages/01.HDM/05.HDM Documentation/08.vcs/60.Undeploy/images/image25.png)
- Select Yes in the popup to delete vCenter from the appliance.
- Log into vCenter.
- Select Host, followed by Clusters, then power off the PrimaryIO Appliance VM.
- Right click on the appliance VM and select Delete from Disk to delete it.