Deleting Workload Domain in VMware Cloud Foundation

In last post of this series, we learnt how to deploy a workload domain via SDDC Manager. In this post we will learn how to delete it. 

If you are not following along this series, then I recommend reading earlier posts of this series from below links:

1: Physical/Virtual Infra Preparation

2: DNS and IP Pools Requirements for vCF 

3: Nested Esxi Host Deployment & Configuration

4: Deploying Management Domain aka SDDC Bringup

5: Workload Domain Deployment

To delete a workload domain, login to SDDC Manager and navigate to Inventory > Workload Domains and from Action menu select “Delete Domain

del-domain01.JPG

Type the name of the domain and click on Delete Workload Domain button.

del-domain02

The delete workload domain workflow will be called. Wait for an hour or so for workflow to complete. Typically you will see below tasks getting executed during domain deletion. 

del-domain03

The host status will report as “Need Cleanup”. What that mean is we need to wipe out the configuration that was done on Esxi hosts prior to workload domain deployment. 

Note: All Esxi hosts that were part of workload domain, needs to be reset to default settings before they can be used again in new workload domain. 

del-domain04

To cleanup hosts, click on Unassigned hosts and select all the hosts with “Need Cleanup” status and click on Decommision Selected Hosts. 

del-domain05

Click on confirm button to proceed. 

del-domain06

Decommission Host workflow will be called and it takes roughly 10-15 minutes for host cleanup. 

del-domain07.JPG

Now the hosts that were decommissioned, will disappear from inventory and we need to commission those hosts first before deploying a new workload domain. 

del-domain08

I hope you enjoyed reading this post. Feel free to share this on social media if it is worth sharing 🙂