You can import a configuration JSON file to create a new Horizon domain.

Procedure

  1. On the SDDC Manager Dashboard, click + Workload Domain and then click Horizon.
  2. On the Horizon Domain Creation page, select Upload Configuration.
    up
  3. Click Upload Configuration File.
  4. Select the JSON file to be uploaded and click Open.
  5. Click Next.
  6. Progress through the domain creation wizard, making edits as required. For details on required information, see Create a Horizon Domain.

Example: Sample Configuration JSON File

{  
         "id":"1",
         "name":"vdi",
         "managementVcenters":[  
            {  
               "managementPortgroup":"VDI-DPortGroup-Mgmt",
               "dmzPortgroup":"dmz",
               "interconnectPortgroup":"VDI-DPortGroup-interconnect",
               "uagManagementPortgroup":"VDI-DPortGroup-Mgmt",
               "clusterName":"SDDC-Cluster1",
               "datastoreName":"sfo01-m01-vsan",
               "datacenterName":"SDDC-Datacenter",
               "nsx":{  
                  "host":"nsxManager.vrack.vsphere.local",
                  "password":"VMware1!"
               },
               "username":"[email protected]",
               "password":"VMware123!",
               "host":"vcenter-1.vrack.vsphere.local",
               "psc":{  
                  "host":"psc-1.vrack.vsphere.local"
               }
            }
         ],
         "resourceVcenters":[  
            {  
               "state":"DEPLOYED",
               "datacenters":[  
                  {  
                     "name":"new-vi-DC",
                     "datastores":[  
                        {  
                           "name":"new-vi-vcenter-2-via-cluster1-vsan-01",
                           "id":"sddc-ds-1",
                           "hostIds":[  
                              "c7945622-d8c1-494e-aa76-180a720c1606",
                              "801d55ec-156a-4b54-94fa-5019cd5a7d83",
                              "203866dc-4ef3-42a8-880b-9d20656aa7de"
                           ]
                        }
                     ],
                     "clusters":[  
                        {  
                           "name":"via-cluster1",
                           "hosts":[  
                              {  
                                 "name":"esxi-7.vrack.vsphere.local",
                                 "id":"c7945622-d8c1-494e-aa76-180a720c1606",
                                 "username":"root",
                                 "password":"EvoSddc!2016"
                              },
                              {  
                                 "name":"esxi-6.vrack.vsphere.local",
                                 "id":"801d55ec-156a-4b54-94fa-5019cd5a7d83",
                                 "username":"root",
                                 "password":"EvoSddc!2016"
                              },
                              {  
                                 "name":"esxi-5.vrack.vsphere.local",
                                 "id":"203866dc-4ef3-42a8-880b-9d20656aa7de",
                                 "username":"root",
                                 "password":"EvoSddc!2016"
                              }
                           ]
                        }
                     ]
                  }
               ],
               "username":"[email protected]",
               "password":"VMware123!",
               "host":"vcenter-2.vrack.vsphere.local",
               "psc":{  
                  "host":"psc-1.vrack.vsphere.local"
               }
            }
         ],
         "peripheralServices":{  
            "loadBalancers":[  
               {  
                  "ipAddress":"10.10.0.25",
                  "certificatePath":"/tmp/AppVCertificate7006187265877059244.p12",
                  "certificatePassword":"LoEpxXC4",
                  "fqdn":"lb1.horizon-1.local",
                  "state":"DEPLOYED",
                  "deployDetails":{  
                     "vmName":"lb1",
                     "subnetMask":"255.255.255.0",
                     "gateway":"10.10.0.250",
                     "portgroup":"VDI-DPortGroup-Mgmt"
                  }
               },
               {  
                  "ipAddress":"10.10.0.26",
                  "certificatePath":"/tmp/ConServCertificate8496572034532614986.p12",
                  "certificatePassword":"leHOTEZ9",
                  "fqdn":"lb2.horizon-1.local",
                  "state":"DEPLOYED",
                  "deployDetails":{  
                     "vmName":"lb2",
                     "subnetMask":"255.255.255.0",
                     "gateway":"10.10.0.250",
                     "portgroup":"VDI-DPortGroup-Mgmt"
                  }
               },
               {  
                  "ipAddress":"10.20.0.27",
                  "certificatePath":"/tmp/UagCertificate1734475760559824715.p12",
                  "certificatePassword":"9EZhzEmO",
                  "fqdn":"lb3.horizon-1.local",
                  "state":"DEPLOYED",
                  "deployDetails":{  
                     "vmName":"lb3",
                     "subnetMask":"255.255.255.0",
                     "gateway":"10.20.0.250",
                     "portgroup":"dmz"
                  }
               }
            ],
            "activeDirectory":{  
               "fqdn":"horizon-1.local",
               "netBiosName":"horizon-1",
               "vdiAdminUsername":"horizon-1.local\\vdiadmin",
               "vdiAdminPassword":"VMware123!",
               "vdiServerOu":"OU\u003dvdi,DC\u003dhorizon-1,DC\u003dlocal",
               "ouRwUsername":"horizon-1.local\\rwadmin",
               "ouRwPassword":"VMware123!",
               "securedAD":false,
               "domainControllers":[  
                  {  
                     "fqdn":"dc1.horizon-1.local",
                     "ipAddress":"10.10.0.80"
                  },
                  {  
                     "fqdn":"dc2.horizon-1.local",
                     "ipAddress":"10.10.0.81"
                  }
               ]
            },
            "installDetails":{  
               "imagePath":"/home/vcf/template.ova",
               "connectionServerBinaryPath":"/home/vcf/VMware-Horizon-Connection-Server-x86_64-7.7.0-11038474.exe",
               "composerServerBinaryPath":"/home/vcf/VMware-viewcomposer-7.7.0-11038293.exe",
               "appVolumesServerBinaryPath":"/home/vcf/App Volumes Manager.msi",
               "uagOvaPath":"/home/vcf/euc-unified-access-gateway-3.4.0.0-11037344_OVF10.ova",
               "sqlExpressPath":"/home/vcf/SQLEXPR_x64_ENU.exe",
               "uemBinaryPath":"/home/vcf/VMware User Environment Manager 9.6.0.855 x64.msi",
               "connectionServerVersion":"7.5.5",
               "composerServerVersion":"4.5",
               "appVolumesServerVersion":"2.14",
               "uagOvaVersion":"buf",
               "sqlExpressVersion":"2017",
               "uemVersion":"uem",
               "ova":{  
                  "administratorUsername":"administrator",
                  "administratorPassword":"VMware123!"
               },
               "updateKb2919442BinaryPath":"/home/vcf/download/Windows8.1-KB2919442-x64.msu",
               "updateKb2919355BinaryPath":"/home/vcf/download/Windows8.1-KB2919355-x64.msu",
               "dotNet462BinaryPath":"/home/vcf/download/NDP462-KB3151800-x86-x64-AllOS-ENU.exe"
            },
            "sqlConnections":[  
               {  
                  "fqdn":"sql.horizon-1.local",
                  "id":"sqlext",
                  "sqlInstanceName":"SQLEXPRESS",
                  "sqlPort":1433,
                  "state":"DEPLOYED",
                  "dbUsername":"av_db_admin",
                  "dbPassword":"VMware123!"
               }
            ]
         },
         "horizon":{  
            "pods":[  
               {  
                  "eventDbName":"event-db-ext",
                  "sqlId":"sqlext",
                  "vcFqdns":[  
                     "vcenter-2.vrack.vsphere.local"
                  ],
                  "uagAppliances":[  
                     {  
                        "vmName":"uag1",
                        "mgmtSubnetMask":"255.255.255.0",
                        "mgmtIpAddress":"10.10.0.33",
                        "externalSubnetMask":"255.255.255.0",
                        "internalSubnetMask":"255.255.255.0",
                        "defaultGateway":"10.0.0.253",
                        "internalIpAddress":"10.10.0.34",
                        "externalIpAddress":"10.20.0.35",
                        "administratorPassword":"VMware123!",
                        "state":"DEPLOYED"
                     }
                  ],
                  "connectionServers":[  
                     {  
                        "fqdn":"cs1.horizon-1.local",
                        "certificatePath":"/tmp/ConServCertificate8496572034532614986.p12",
                        "certificatePassword":"leHOTEZ9",
                        "state":"DEPLOYED",
                        "deployDetails":{  
                           "ipAddress":"10.10.0.20",
                           "gateway":"10.10.0.250",
                           "subnetMask":"255.255.255.0",
                           "vmName":"cs1",
                           "computerName":"cs1"
                        }
                     }
                  ],
                  "composerServers":[  
                     {  
                        "fqdn":"comp01.horizon-1.local",
                        "composerServiceAccount":"horizon-1.local\\compsvc1",
                        "composerServicePassword":"VMware123!",
                        "sqlId":"sqlext",
                        "internalDbUsername":"internal-db-ext",
                        "internalDbPassword":"idb-password",
                        "dbName":"internal-db-ext",
                        "certificatePath":"/tmp/CompServerCertificate6739599294661772272.p12",
                        "certificatePassword":"IbZy8aOa",
                        "vcFqdn":"vcenter-2.vrack.vsphere.local",
                        "state":"DEPLOYED",
                        "deployDetails":{  
                           "ipAddress":"10.10.0.22",
                           "gateway":"10.10.0.250",
                           "subnetMask":"255.255.255.0",
                           "vmName":"comp01",
                           "computerName":"comp01"
                        }
                     }
                  ]
               }
            ],
            "internalLbFqdn":"lb2.horizon-1.local",
            "externalLbFqdn":"lb3.horizon-1.local",
            "adminGroupName":"horizonadmins",
            "uemDetails":{  
               "uems":[  
                  {  
                     "fqdn":"uem.horizon-1.local",
                     "configurationShare":"/share/drive",
                     "profileArchiveShare":"profileshare",
                     "state":"DEPLOYED",
                     "deployDetails":{  
                        "dataDriveSizeGb":10,
                        "configurationShareLocation":"/share/location",
                        "profileArchiveShareLocation":"/profile/location",
                        "ipAddress":"10.10.0.23",
                        "gateway":"10.10.0.250",
                        "subnetMask":"255.255.255.0",
                        "vmName":"uem-vm",
                        "computerName":"uem"
                     }
                  }
               ]
            }
         },
         "appVolumesDetails":{  
            "adminGroupName":"avadmins",
            "dbName":"appvol-db-ext",
            "sqlId":"sqlext",
            "lbFqdn":"lb1.horizon-1.local",
            "datastores":[  
               {  
                  "id":"sddc-ds-1",
                  "isPrimary":true
               }
            ],
            "appVolumes":[  
               {  
                  "fqdn":"appvol.horizon-1.local",
                  "state":"DEPLOYED",
                  "deployDetails":{  
                     "ipAddress":"10.10.0.24",
                     "gateway":"10.10.0.250",
                     "subnetMask":"255.255.255.0",
                     "vmName":"app-vm",
                     "computerName":"appvol"
                  }
               }
            ]
         }
      }