Skip to content
Menu
  • CloudThesis-Home
  • Cloud Management
    • VMware Cloud
    • VCF (VMware Cloud Foundation)
    • vRO
    • vRA
    • vRealize Log Insight
    • vCloud Director
    • Hybrid Cloud Extension (HCX)
    • vCloud
    • Cloud on AWS
  • VMware
    • vCenter
    • vSphere
      • Generic vSphere Commands
    • ESXi
    • VMware vRealize Suite Lifecycle Manager –8 Deployment Guide
    • VMware Site Recovery Manager (SRM)
    • vRealize Network Insight
    • VMware Horizon
  • Power CLI
    • PowerCLI Snippets
  • NSX
  • vSAN
    • vSAN 7
  • Nutanix
  • VOIP
  • Microsoft
    • Azure Cloud
    • Microsoft Windows Server
    • Hypervisor
    • Create Azure VMs (Portal)
    • Create Azure VMs – PowerShell
  • Author
  • Contact

VMware Cloud Foundation (How to Create workload domains / NSX-T and vSAN )

Posted on January 11, 2025May 14, 2025

what is a vmware workload domain ?

Workload Domains. VMware Cloud Foundation 2.2. Last Updated 11/13/2017 0. A workload domain is a policy based resource container with specific availability and performance attributes that combines compute (vSphere), storage (vSAN) and networking (NSX) into a single consumable entity .(By Vmware )

what is VMware Cloud Foundation ?

Cloud_Foundation_for_Horizon_7

VMware Cloud Foundation makes it easy to deploy and run a hybrid cloud. VMware Cloud Foundation provides integrated cloud infrastructure (compute, storage, networking, and security) and cloud management services to run enterprise applications in both private and public environments. (By Vmware )

(VCF) workloads generally are deployed in one or more particular virtual infrastructure (VI) workload domains. In between  VCF deployment  the management workload domain (MWLD) is created with minimum  four hosts. The WLD contains among other components the management vCenter and the SDDC manager.
SDDC Manager, Commission hosts :

Screenshot-from-2019-07-10-12-40-18-Kopie-e1562968716820-600x139

Now the hosts will prepared just like the VCF deployment. It will includes ESXi version, hardware configuration and network settings .

SDDC Manager, Commission hosts, Checklist :

Untitled.png

Now click on Proceed , and the details of the hosts  to be provided. Select Add new for manually or perform a bulk commission by preparing and uploading a JSON file.

SDDC Manager, Commission hosts, host addition :

Screenshot-from-2019-07-10-12-41-45.png

JSON template example below :

{
    "hostsSpec": [
        {
            "hostfqdn": "FQDN name here",
            "username": "User Name here",
            "storageType": "VSAN or NFS",
            "password": "Password here",
            "networkPoolName": "Network Pool Name here"
        },
        {
            "hostfqdn": "FQDN name here",
            "username": "User Name here",
            "storageType": "VSAN or NFS",
            "password": "Password here",
            "networkPoolName": "Network Pool Name here"
        }
    ]
}

 

Required  host’s details , storage type and network pool to be used. then also license keys are required. Total three license keys are required vSphere, vSAN and NSX should be entered in the “Administration/License” screen of the SDDC manager.
Network pools are created in the “Administration/Network settings” screen. In this case VLAN-IDs and subnet for vMotion and vSAN separate from the default pool used .

SDDC Manager, Network pools :

2

Then you will get the  “Usassigned hosts” tab .

SDDC Manager, Inventory/Hosts:

3.png

select and click the host and you will get the details,like.. manufacturer, model and storage capacity .

SDDC Manager, Inventory/Hosts, Host details :

4.png

Now  create a new WLD by using “+ workload domain” button from the inventory.

SDDC Manager, Workload Domains :

5.png

Then select the storage from next dialog box.

SDDC Manager, Workload Domains:

6.png

Then enter the Virtual Infrastructure  configuration wizard enter names for the WLD, the first cluster and the organization the domain is intended for.

SDDC Manager, Workload Domains, Add Virtual Infrastructure WLD in Step 1

7.png

Now type free IP address from the management subnet.  FQDN configured in your DNS servers and root password for the WLD’s vCenter.

SDDC Manager, Workload Domains, Add Virtual Infrastructure WLD, Step 2

8.png

 

In both cases FQDNs, IP addresses and root/admin password for the NSX managers must be entered, as well as a VLAN ID used for the overlay transport (VXLAN for NSX-V; Geneve for NSX-T).

SDDC Manager, Workload Domains, Add Virtual Infrastructure WLD, Step 3

9.png

 

If you selected vSAN as primary storage provider in the first step you need to enter the PFTT (primary failure to tolerate) parameter in step four. “One failure to tolerate” means each data set is replicated once, similar to RAID 1. This means that any of the three required hosts can fail at any point in time without data loss.
If you have at least five hosts you can select PFTT=2, which means data is replicated twice, so two hosts may fail simultaneously. This is only the default setting however. PFTT can be set for each object via storage profiles later on, too.

SDDC Manager, Workload Domains, Add Virtual Infrastructure WLD, Step 4 :

10

Now select the hosts which shall be used for initial WLD creation.

SDDC Manager, Workload Domains, Add Virtual Infrastructure WLD, Step 5:

Screenshot-from-2019-07-10-12-47-34-1200x711.png

 

In the License step select the license keys entered before from the drop down menus. Each license should provide enough capacity for each product and not be expired.

SDDC Manager, Workload Domains, Add Virtual Infrastructure WLD, Step 6

11

 

Now you can see the last two screens show a review of all entered parameters and a preview of the component names which will be created.

SDDC Manager, Workload Domains, Add Virtual Infrastructure WLD, Step 7

12.png

 

SDDC Manager, Workload Domains, Add Virtual Infrastructure WLD, Step 8

13.png

 

When it’s finish you can be track in the Tasks view from the SDDC manager.  click on the task all of its subtasks and their status are shown below.

SDDC Manager, Workload Domains, Add Virtual Infrastructure WLD, Subtasks 1

14.png

 

SDDC Manager, Workload Domains, Add Virtual Infrastructure WLD, Subtasks 2 :

15.png

After some time the WLD creation tasks should succeed.

SDDC Manager, Workload Domains, Creating Virtual Infrastructure WLD succeeded :

16.png

Now go to the overview under the “Inventory/Workload Domains” to check the status. The “Services” tab features links to the vCenter and the NSX-T manager GUIs.

SDDC Manager, Workload Domains, Details of WLD :

17.png

 

When  host is removed from a workload domain or the entire WLD is deleted the hosts are found under the tab “Unassigned hosts” again, but their state shows “Need Cleanup” .

SDDC Manager, Inventory/Hosts, Decommissioning :

18.png

 

Now  select the checkbox on the left of each host needing cleanup and click on the button “Decommission selected hosts”.

Now login to the SDDC manager by using SSH also prepare a JSON file containing the hosts and their management credentials.

[
   {
     "host1.local":
       {
         "root_user": "root",
         "root_password": "Vthesis@007"
       }
   },
   {
     "host2.local":
       {
         "root_user": "root",
         "root_password": "Vthesis@007"
       }
   }
 ] 



 

Run the below commands found in the VCF documentation to commence the cleanup.

su 
cd /opt/vmware/sddc-support
./sos --cleanup-decommissioned-host /tmp/dirty_hosts.json

SDDC Manager, Host cleanup script :

19.png

Afterwards however there is still the task of the network cleanup, which requires access to Direct Console User Interface (DCUI).
If the network cleanup is not performed you will be presented with errors as shown below when trying to re-commission the hosts.

SDDC Manager, Host addition of partly cleaned up hosts, Error 1 :

20.png

 

SDDC Manager, Host addition of partly cleaned up hosts, Error 2 :

21

 

In ESXi management GUI  you will see the left over distributed virtual switch and its port groups from the previous WLD.

22.png

 

Now perform the network cleanup from DCUI with root user and then select “Network Restore Options” .

01.png

Now select the “Restore Network Settings” option which resets any network settings and devices to the defaults.

02

 

 Network Restore Settings, Done

03.png

 

Thanks hope you like it.

Rajiv Pandey. 

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Search Topic

Categories

  • Azure Cloud
  • Cloud Management
  • Cloud on AWS
  • Create Azure VMs – PowerShell
  • Create Azure VMs (Portal)
  • ESXi
  • Generic vSphere Commands
  • Hybrid Cloud Extension (HCX)
  • Hypervisor
  • Microsoft
  • Microsoft Azure Cloud and Services
  • Microsoft Windows Server
  • NSX
  • Nutanix
  • Power CLI
  • PowerCLI Snippets
  • vCenter
  • VCF (VMware Cloud Foundation)
  • vCloud
  • vCloud Director
  • VMware
  • VMware Cloud
  • VMware Horizon
  • VMware Site Recovery Manager (SRM)
  • VMware vRealize Suite Lifecycle Manager – 8.0
  • vRA
  • vRealize Log Insight
  • vRealize Network Insight
  • vRO
  • vSAN
  • vSAN 7
  • vSphere
  • Windows Servers
©2025 | WordPress Theme by Superbthemes.com