If you want to add an ESXi host with more than two pNICs, or add a host to a vSphere cluster with more than one vSphere Distributed Switch (vDS), you must use the VMware Cloud Foundation API.
This procedure uses the clusterUpdateSpec to add an ESXi host with more than two pNICs, or add a host to a vSphere cluster with more than one vSphere Distributed Switch (vDS) using the VMware Cloud Foundation API.
Two vSphere Distributed Switches |
|
Four pNICs |
|
pNIC to vDS mapping |
|
You can add hosts to or remove hosts from multiple different vSphere clusters in parallel. For example, you add three hosts to Cluster A, and while that task is running, you can start a separate task to add (or remove) four hosts to Cluster B. See VMware Configuration Maximums for information about the maximum number of add/remove hosts tasks that you can run in parallel.
Prerequisites
- Verify that a host is available in the SDDC Manager inventory. For information on commissioning hosts, see Commission Hosts.
- Verify that the host you want to add is in an active state. See View Host Inventory.
- Verify you have a valid vSphere license with adequate sockets available in the SDDC Manager inventory. See Add a License Key
- Verify that the host to be added matches the configuration of the hosts already in the vSphere cluster. This allows the vSphere cluster configuration to remain balanced. If the host to be added does not match the pre-existing hosts in the vSphere cluster, the cluster will be unbalanced and a warning is displayed. The warning does not prevent the expansion and can be dismissed if needed.
- Verify that the host you are adding has the same type of principal storage as the existing hosts in the vSphere cluster. For the management domain, the host must use vSAN for principal storage. For VI workload domains, the host can use vSAN, NFS, VMFS on FC, or vVols for principal storage. A host using NFS for principal storage will automatically use the same NFS configuration as the other hosts in the vSphere cluster. For a host using VMFS on FC, you must configure zoning, mount the associated volumes, and create the datastore on the host before adding the host to a vSphere cluster. A host using vVols for principal storage will automatically use the same vVols configuration as the other hosts in the vSphere cluster.
- If the vSphere cluster hosts an NSX Edge cluster, you can only add new hosts with the same management, uplink, NSX Host Overlay, and NSX Edge Overlay networks (L2 uniform) as the existing hosts.
- If the vSphere cluster to which you are adding hosts uses a static IP pool for the NSX Host Overlay Network TEPs, that pool must include enough IP addresses for the hosts you are adding.
- To add an ESXi host with more than two pNICs, the vSphere cluster must already contain ESXi hosts with more than two pNICs.