Create and configure vSphere Distributed Switches to handle the infrastructure and VM traffic on the management cluster.
Prerequisites
Ensure that the management vCenter Server instance is installed and running.
Procedure
- In the data center TCI_MGMT_DC, create a distributed switch named TCI_MGMT_INFRA_VDS to use as the infrastructure vSphere Distributed Switch. For more information, see Create a vSphere Distributed Switch.
- Add two uplinks to the distributed switch.
- Add hosts from ESXi_MGMT_01 to ESXi_MGMT_04 to the distributed switch TCI_MGMT_INFRA_VDS by connecting two physical NICs from each host to the switch.
- Configure VMkernel networking.
- Create the following port groups on the distributed switch TCI_MGMT_INFRA_VDS:
Port Group |
VLAN ID |
ESXi Management |
100 |
vMotion Network |
200 |
vSAN Network |
300 |
NFS Network |
400 |
Replication Network |
500 |
- Migrate the management VMkernel adapter of each host to the ESXi Management port group.
- Create VMkernel adapters on each host for different traffic types.
Set the traffic type of each adapter to an infrastructure traffic type, for example, vMotion traffic, vSAN traffic.
Associate each adapter to a dedicated port group. For example, associate the vMotion adapter to the vMotion port group.
- Create a distributed switch named TCI_MGMT_TENANT_VDS to use as the tenant vSphere Distributed Switch.
- Add two uplinks to the distributed switch TCI_MGMT_TENANT_VDS.
- Add ESXi_MGMT_01 to ESXi_MGMT_04 to the switch TCI_MGMT_TENANT_VDS.
- Connect the remaining two physical Ethernet ports from each ESXi host to the uplinks on TCI_MGMT_TENANT_VDS.
- For VM networking, create the following port groups on TCI_MGMT_TENANT_VDS.
Port Group |
VLAN ID |
VM Management Network |
10 |
vCenter HA Network |
20 |
External Network |
30 |
Backup Network |
40 |
- Migrate the VM network from the Standard switch to Tenant VDS.
- Connect the VM of the vCenter Server system TCI_MGMT_VC to the VM Management Network port group (VLAN 10).
- Verify that you can log in to TCI_MGMT_VC and that the connectivity status of all ESXi hosts in the management cluster is Connected.
- (Optional) Mount the NFS datastore to all the management cluster hosts if the user wants to use NFS Datastore.
What to do next
VERIFICATION CHECKPOINT 1
After you configure the distributed switches, verify the following.
Two distributed switches are visible in each ESXi host in the management cluster.
All four Ethernet ports of the ESXi host are connected to uplink ports on the distributed switches.
vSphere vMotion is working. Verify it by migrating any test VMs.
vSAN network connectivity between the hosts by pinging the vSAN VMkernel adapter from one ESXi host to other hosts. Use the following command to ping the vSAN VMkernel adapter:
VM network connectivity when moving the VMs across ESXi hosts in the cluster.