You can delete a VI workload domain from SDDC Manager UI.
When you delete a workload domain, the clusters within that workload domain are deleted and the hosts are returned to the free pool with a need cleanup host state.
The network pools used by the workload domain are not deleted as part of the VI workload domain deletion process and must be deleted separately.
Prerequisites
- If remote vSAN datastores are mounted on a cluster in the VI workload domain, then the VI workload domain cannot be deleted. To delete such VI workload domains, you must first migrate any virtual machines from the remote datastore to the local datastore and then unmount the remote vSAN datastores from vCenter Server.
- If you require access after deleting a VI workload domain, back up the data. The datastores on the VI workload domain are destroyed when it is deleted.
- Migrate the virtual machines that you want to keep to another workload domain using cross vCenter vMotion.
- Delete any workload virtual machines created outside VMware Cloud Foundation before deleting the VI workload domain.
- Delete any NSX Edge clusters hosted on the VI workload domain. See KB 78635.
Procedure
What to do next
If you delete an isolated VI workload domain that created an NSX Manager cluster that is shared with another isolated VI workload domain, you need to register NSX Manager as a relying partner to the remaining VI workload domain. See https://kb.vmware.com/s/article/95445.
Decommission the hosts that were part of the VI workload domain, then re-image with ESXi and commission them again. See Managing ESXi Hosts in VMware Cloud Foundation.