The main thing in this json is that only one nsx-t manager (this can be modified to include the other nsx-t managers) will be deploy and no license keys have been added but it is fine to deploy without. This has been tested in my lab with or without VLC. It is for cloud builder input. This is for 4x Nics ESXi hosts and Management / Overlay is on VDS1 and vSAN / vMotion are on VDS2.

{
    "deployWithoutLicenseKeys": true,
  "skipEsxThumbprintValidation": true,
  "managementPoolName": "sfo-m01-np01",
  "sddcManagerSpec": {
    "secondUserCredentials": {
      "username": "vcf",
      "password": "VMware123!VMware123!"
    },
    "ipAddress": "10.0.0.4",
    "hostname": "sddc-manager",
    "rootUserCredentials": {
      "username": "root",
      "password": "VMware123!VMware123!"
    },
    "localUserPassword": "VMware123!VMware123!"
  },
  "sddcId": "sfo-m01",
  "esxLicense": "",
  "taskName": "workflowconfig/workflowspec-ems.json",
  "ceipEnabled": false,
  "fipsEnabled": false,
  "ntpServers": ["10.0.0.117"],
  "dnsSpec": {
    "subdomain": "vcf.sddc.lab",
    "domain": "vcf.sddc.lab",
    "nameserver": "10.0.0.150"
  },
  "networkSpecs": [
    {
      "networkType": "MANAGEMENT",
      "subnet": "10.0.0.0/24",
      "gateway": "10.0.0.1",
      "vlanId": "10",
      "mtu": "1500",
      "portGroupKey": "sfo01-m01-cl01-vds01-pg-mgmt",
      "standbyUplinks":[],
      "activeUplinks":[
        "uplink1",
        "uplink2"
      ]
    },
    {
      "networkType": "VMOTION",
      "subnet": "10.0.4.0/24",
      "gateway": "10.0.4.253",
      "vlanId": "9",
      "mtu": "9000",
      "portGroupKey": "sfo01-m01-cl01-vds01-pg-vmotion",
      "includeIpAddressRanges": [{"endIpAddress": "10.0.4.120", "startIpAddress": "10.0.4.101"}],
      "standbyUplinks":[],
      "activeUplinks":[
        "uplink1",
        "uplink2"
      ]
    },
    {
      "networkType": "VSAN",
      "subnet": "10.0.8.0/24",
      "gateway": "10.0.8.253",
      "vlanId": "8",
      "mtu": "9000",
      "portGroupKey": "sfo01-m01-cl01-vds01-pg-vsan",
      "includeIpAddressRanges": [{"endIpAddress": "10.0.8.120", "startIpAddress": "10.0.8.101"}],
      "standbyUplinks":[],
      "activeUplinks":[
        "uplink1",
        "uplink2"
      ]
    },
    {
      "networkType": "VM_MANAGEMENT",
      "subnet": "10.0.0.0/24",
      "gateway": "10.0.0.1",
      "vlanId": "10",
      "mtu": "9000",
      "portGroupKey": "sfo01-m01-cl01-vds01-pg-vm-mgmt",
      "standbyUplinks":[],
      "activeUplinks":[
        "uplink1",
        "uplink2"
      ]
    }
  ],
  "nsxtSpec":
  {
    "nsxtManagerSize": "large",
    "nsxtManagers": [
      {
          "hostname": "nsx-mgmt-1",
          "ip": "10.0.0.21"
      }
    ],
    "rootNsxtManagerPassword": "VMware123!VMware123!",
    "nsxtAdminPassword": "VMware123!VMware123!",
    "nsxtAuditPassword": "VMware123!VMware123!",
    "vip": "10.0.0.20",
    "vipFqdn": "nsx-mgmt",
    "nsxtLicense": "",
    "transportVlanId": 14,
    "ipAddressPoolSpec": {
       "name": "sfo01-m01-cl01-tep01",
       "description": "ESXi Host Overlay TEP IP Pool",
       "subnets":[
          {
             "ipAddressPoolRanges":[
                {
                   "start": "172.16.254.101",
                   "end": "172.16.254.116"
                }
             ],
             "cidr": "172.16.254.0/24",
             "gateway": "172.16.254.1"
          }
       ]
    }
  },
  "vsanSpec": {
      "vsanDedup": "false",
      "esaConfig": {
        "enabled": false
      },
      "datastoreName": "sfo-m01-cl01-ds-vsan01"
  },
  "dvsSpecs": [
    {
      "dvsName": "sfo-m01-cl01-vds01",
      "vmnics": [
        "vmnic0",
        "vmnic1"
      ],
      "mtu": 9000,
      "networks":[
        "MANAGEMENT",
        "VM_MANAGEMENT"
      ],
      "niocSpecs":[
        {
          "trafficType":"VSAN",
          "value":"HIGH"
        },
        {
          "trafficType":"VMOTION",
          "value":"LOW"
        },
        {
          "trafficType":"VDP",
          "value":"LOW"
        },
        {
          "trafficType":"VIRTUALMACHINE",
          "value":"HIGH"
        },
        {
          "trafficType":"MANAGEMENT",
          "value":"NORMAL"
        },
        {
          "trafficType":"NFS",
          "value":"LOW"
        },
        {
          "trafficType":"HBR",
          "value":"LOW"
        },
        {
          "trafficType":"FAULTTOLERANCE",
          "value":"LOW"
        },
        {
          "trafficType":"ISCSI",
          "value":"LOW"
        }
      ],
      "nsxtSwitchConfig": {
        "transportZones": [ {
          "name": "sfo-m01-tz-overlay01",
          "transportType": "OVERLAY"
        },
        {
          "name": "sfo-m01-tz-vlan01",
          "transportType": "VLAN"
        }
        ]
      }
    },
    {
      "dvsName": "sfo-m01-cl01-vds02",
      "vmnics": [
        "vmnic2",
        "vmnic3"
      ],
      "mtu": 9000,
      "networks":[
        "VMOTION",
		"VSAN"
      ],
      "nsxtSwitchConfig": {
        "transportZones": [
        {
          "name": "sfo-m01-tz-vlan02",
          "transportType": "VLAN"
        }
        ]
      }
    }
  ],
  "clusterSpec":
  {
    "clusterName": "sfo-m01-cl01",
    "clusterEvcMode": "",
    "clusterImageEnabled": true,
    "vmFolders": {
      "MANAGEMENT": "sfo-m01-fd-mgmt",
      "NETWORKING": "sfo-m01-fd-nsx",
      "EDGENODES": "sfo-m01-fd-edge"
    }
  },
  "pscSpecs": [
    {
      "adminUserSsoPassword": "VMware123!VMware123!",
      "pscSsoSpec": {
        "ssoDomain": "vsphere.local"
      }
    }
  ],
  "vcenterSpec": {
      "vcenterIp": "10.0.0.12",
      "vcenterHostname": "vcenter-mgmt",
      "vmSize": "medium",
      "storageSize": "",
      "rootVcenterPassword": "VMware123!VMware123!"
  },
  "hostSpecs": [
    {
      "association": "sfo-m01-dc01",
      "ipAddressPrivate": {
        "ipAddress": "10.0.0.101"
      },
      "hostname": "esxi-1",
      "credentials": {
        "username": "root",
        "password": "VMware123!VMware123!"
      },
      "vSwitch": "vSwitch0"
    },
    {
      "association": "sfo-m01-dc01",
      "ipAddressPrivate": {
        "ipAddress": "10.0.0.102"
      },
      "hostname": "esxi-2",
      "credentials": {
        "username": "root",
        "password": "VMware123!VMware123!"
      },
      "vSwitch": "vSwitch0"
    },
    {
      "association": "sfo-m01-dc01",
      "ipAddressPrivate": {
        "ipAddress": "10.0.0.103"
      },
      "hostname": "esxi-3",
      "credentials": {
        "username": "root",
        "password": "VMware123!VMware123!"
      },
      "vSwitch": "vSwitch0"
    },
    {
      "association": "sfo-m01-dc01",
      "ipAddressPrivate": {
        "ipAddress": "10.0.0.104"
      },
      "hostname": "esxi-4",
      "credentials": {
        "username": "root",
        "password": "VMware123!VMware123!"
      },
      "vSwitch": "vSwitch0"
    }
  ]
}

By Kader

Leave a Reply

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