Uninstalling HCX from VMware Cloud on AWS deployments requires removing the service from both the source and destination site.
A graceful uninstall of HCX appliances is always initiated from the source side. The process requires that HCX is fully functional, including site pairings and communication between source and destination site appliances.
Prerequisites
All migrations and replications, including disaster recovery (DR) operations, are finalized.
Procedure
- Navigate to the HCX Manager Service UI.
- Verify that no migration or protection operations are running.
- To remove all network extensions from source-site data centers, complete the following substeps:
- Go to Services > Network Extension.
- Review each stretched network and decide whether you want the network to be connected on the cloud side gateway after uninstalling HCX.
- Expand each extended network and click Unextend.
The system displays information about the Unextend Network.
- Under Cloud Network, expand the network entry.
Note:
By default, the cloud network is disconnected from the cloud Edge Gateway after the network is unextended. This disconnection is done to prevent an edge gateway with dynamic routing activated from advertising the route of the network and causing a potential routing conflict with the network in the source site.
- (Optional) Use the check boxes to keep the cloud network connected or to force the network to unextend.
- Click Unextend.
- For any of the unextended networks that are unused, complete the following substeps to remove them from the destination site:
Note:
Unextending networks does not remove them from the destination.
- Access the VMware Cloud on AWS management interface: https://console.cloud.vmware.com
- Select your organization and data center (SDDC).
- Select Network & Security > Network > Segments.
- Select the unextended network from the list and click Delete.
- In the HCX Manager containing the Service Mesh configuration, complete the following substeps to delete all Service Mesh instances:
Note:
Removing a Multi-Service Mesh from the source site also deletes it from the destination site.
- Go to Interconnect > Multi-Site Service Mesh.
- For each Service Mesh, click Delete.
- Before proceeding to the next step, check that the Service Mesh no longer appears in the HCX Manager Service UI.
- To disconnect all HCX site pairings, complete the following substeps:
- From the HCX dashboard, navigate to Site Pairing.
- For each site pair, click Disconnect.
- (DX only) To remove direct connect private interfaces from the destination (VMware Cloud on AWS) site, complete the following substeps:
- Access the VMware Cloud on AWS management interface: https://console.cloud.vmware.com
- Select your organization and data center (SDDC).
- Select Add Ons.
- Navigate to the SDDC tab and click Open HCX.
- Enter the [email protected] user and credentials and click Log In.
- Navigate to the Infrastructure > Interconnect.
- Click the Network Profiles tab.
- Select the direct connect network profile and click Edit.
- Clear the IP ranges, Prefix length, and Gateway address.
- Click Update.
- To remove HCX Manager from the destination (VMware Cloud on AWS) site, complete the following substeps:
Note:
For deployments between HCX clouds on VMware Cloud on AWS (cloud-to-cloud), repeat this procedure at the source site.
- Access the VMware Cloud on AWS management interface: https://console.cloud.vmware.com
- Select your organization and data center (SDDC).
- Navigate to Networking & Security > Gateway Firewall > Management Gateway and delete any rules related to HCX.
- Click Add Ons.
The system displays all SDDCs with HCX deployed.
- Click Undeploy HCX.
While the HCX undeploy operation is in progress, click View Details for a list of HCX undeployment stages. Each stage is a consolidation of the operations performed by VMware services for undeploying HCX along with the status of each operation. When the undeploy operations have successfully completed, VMware Cloud on AWS automation cleans up SDDC HCX Manager services and removes the HCX Cloud Manager.
- To remove HCX Connector on-premises, complete the following substeps:
Note:
For cloud-to-cloud deployments using VMware Cloud on AWS, skip this step. This step applies only in on-premises to VMware Cloud on AWS deployments.
- Navigate to the vCenter Hosts and Clusters tab.
- Expand the cluster where the HCX Manager is deployed and locate the virtual machine.
- Right-click on the HCX Manager virtual machine and power off the selection.
- Right-click on the HCX Manager virtual machine and select Delete from Disk.
- Unregister the HCX Plug-in from the vCenter Server using the instructions on how to remove or deactivate unwanted plug-ins using the KB article, https://kb.vmware.com/s/article/1025360.
Remove all HCX extensions that include com.vmware.hybridity in the path. Also, remove entries with the following extensions:
com.vmware.hcsp.alarm
com.vmware.vca.marketing.ngc.ui