You must create a registry entry for each management or resource vSphere host in your environment and update the values according to your environment.

The following list contains all vSphere properties that the registry file supports and the required structure:

vsphere vsphere-name
    address vsphere-address											                               
    api-port 443
    api-user admin-user																
    api-password admin-user-password			
    api-thumbprint api-thumbprint-value
    placement-locator mgmt-locator			
    placement-datastore mgmt-datastore			
    placement-network mgmt-network
    placement-folder mgmt-folder
    network-profile-name network-name
    network-gateway network-gateway-IP-address
    network-netmask network-netmask
    network-dns DNS-server1-IP, DNS-server1-IP
    network-subnet  network-subnet-IP-address

Note:

In the current example, you create three registry entries: one for the management vSphere host and two for the resource vSphere hosts. The following example contains only the mandatory vSphere properties. If necessary, you can add more.

vsphere mgmt-vsphere-name
    address mgmt-vsphere-address
    api-port 443
    api-user admin-user
    api-password admin-user-password
    placement-locator mgmt-locator
    placement-datastore mgmt-datastore
    placement-network mgmt-network
 
vsphere vsphere-01-name
    address vsphere-01-address
    api-port 443
    api-user vsphere-01-admin-user
    api-password vsphere-01-admin-password
    placement-locator vsphere-01-locator
    placement-datastore vsphere-01-datastore
    placement-network vsphere-01-network
  
vsphere vsphere-02-name
    address vsphere-02-address
    api-port 443
    api-user vsphere-02-admin-user
    api-password admin-user-password
    placement-locator vsphere-02-locator
    placement-datastore vsphere-02-datastore
    placement-network vsphere-02-network

To enable a static IP addresses deployment, make sure that you have a vSphere network pool created. You can create it in the following ways:

  • Set the network profile properties in the corresponding registry entry and the vCloud Availability Installer Appliance creates and configures the IP pools.

    Set the network-profile-name, network-gateway, network-netmask, network-dns, and optionally network-subnet property values.

  • Create an IP pool in the vSphere Web Client. For more information about creating an IP pool, see the VMware NSX for vSphere documentation.

  • Run the vcav ip-pool command. For more information, see Enable Static IP Addresses Deployment.