Delete a VI Workload Domain
You can delete a VI workload domain
from
SDDC Manager
UI
. - 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 outsideVMware Cloud Foundationbefore deleting the VI workload domain.
- Delete any NSX Edge clusters hosted on the VI workload domain. See KB 78635.
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. Deleting a VI workload domain also removes
the components associated with the VI workload domain from the management domain.
This includes the vCenter Server instance and the NSX Manager cluster
instances.
If the NSX
Manager cluster is shared with any other VI workload domains, it will not be
deleted.
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.
Deleting a workload
domain is an irreversible operation. All clusters and virtual machines within the VI
workload domain are deleted and the underlying datastores are destroyed.
- In the navigation pane, click.
- Click the vertical ellipsis (three dots) next to the VI workload domain you want to delete and clickDelete Domain.
- On theDelete Workload Domaindialog box, clickDelete Workload Domain.A message indicating that the VI workload domain is being deleted appears. When the removal process is complete, the VI workload domain is removed from the domains table.
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.