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
- Select OK on the Delete Cloud popup to begin the undeployment.
- This will create undeployment tasks for the cloud components. The task can be monitored in vCenter tasks, as well as in HDM clouds view.
- Wait for the undeployment task to finish.
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
- Select OK in the popup.
- 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.
- Select OK in the Uninstall On-Premises pop-up.
- 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.
- Wait for the undeployment task to finish.
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.
- A popup will guide you through the uninstallation. Select the cluster where HDM is installed.
- 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.
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
- 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.
- 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.