After all ESXi hosts are added to the cluster, you create a vSphere Distributed Switch.

Procedure

  1. Log in to the Compute vCenter Server by using the vSphere Web Client.
    1. Open a Web browser and go to https://lax01w01vc01.lax01.rainpole.local/vsphere-client.
    2. Log in using the following credentials.
      Setting Value
      User name administrator@vsphere.local
      Password vsphere_admin_password
  2. Create a vSphere Distributed Switch for the shared edge and compute cluster.
    1. In the Navigator, click Networking and expand the lax01w01vc01.lax01.rainpole.local tree.
    2. Right-click the lax01-w01dc data center and select Distributed Switch  >  New Distributed Switch to start the New Distributed Switch wizard.
    3. On the Name and location page, enter lax01-w01-vds01 as the name, and click Next.
    4. On the Select version page, ensure the Distributed switch version - 6.5.0 radio button is selected, and click Next.
    5. On the Edit settings page, enter the following values and click Next.
      Setting Value
      Number of uplinks 2
      Network I/O Control Enabled
      Create a default port group Deselected
    6. On the Ready to complete page, review your entries and click Finish.
  3. Edit the settings of the lax01-w01-vds01 distributed switch.
    1. Right-click the lax01-w01-vds01 distributed switch and select Settings > Edit Settings.
    2. Click the Advanced  tab.
    3. Enter 9000 as MTU (Bytes) value and click OK.
  4. Create new port groups in the lax01-w01-vds01 distributed switch.
    1. Right-click the lax01-w01-vds01 distributed switch, and select Distributed Port Group > New Distributed Port Group
    2. Create port groups with the following settings, and click Next.
      Port Group Name Port Binding Port Allocation Number of Ports VLAN Type VLAN ID
      lax01-w01-vds01-management Static binding Elastic 8 VLAN 1731
      lax01-w01-vds01-vmotion Static binding Elastic 8 VLAN 1732
      lax01-w01-vds01-vsan Static binding Elastic 8 VLAN 1733
      lax01-w01-vds01-nfs Static binding Elastic 8 VLAN 1725
      lax01-w01-vds01-uplink01 Static binding Elastic 8 VLAN 1735
      lax01-w01-vds01-uplink02 Static binding Elastic 8 VLAN 2721
      Note: You create the VXLAN port group during the configuration of NSX Manager.
    3. On the Ready to complete page, review your entries and click Finish.
    4. Repeat this step for each port group.
  5. Change Port Groups to use the Route Based on Physical NIC load teaming algorithm.
    1. Right-click the lax01-w01-vds01 distributed switch and select Distributed Port Groups > Manage Distributed Port Groups.
    2. Select Teaming and failover and click Next.
    3. Click the Select Distributed Port Groups button, add all port groups, except lax01-w01-vds01-uplink01 and lax01-w01-vds01-uplink02, click OK, and click Next.
    4. On the Teaming and failover page, select Route based on physical NIC load from the Load balancing drop-down menu and click Next.
    5. Click Finish.
  6. Configure the uplinks for the lax01-w01-vds01-uplink01 and lax01-w01-vds01-uplink02 port groups.
    1. Right-click the lax01-w01-vds01-uplink01 port group, and click Edit Settings.
    2. Select Teaming and Failover.
    3. Move Uplink2 to Unused uplinks and click OK.
    4. Right-click the lax01-w01-vds01-uplink02 port group, and click Edit Settings.
    5. Select Teaming and Failover.
    6. Move Uplink1 to Unused uplinks and click OK.
  7. Connect the ESXi host lax01w01esx01.lax01.rainpole.local to the lax01-w01-vds01 distributed switch by migrating its VMkernel and virtual machine network adapters.
    1. Right-click the lax01-w01-vds01 distributed switch and click Add and Manage Hosts.
    2. On the Select task page, select Add hosts and click Next.
    3. On the Select hosts page, click New hosts.
    4. In the Select new hosts dialog box, select lax01w01esx01.lax01.rainpole.local and click OK.
    5. On the Select hosts page, click Next.
    6. On the Select network adapter tasks page, ensure both Manage physical adapters and Manage VMkernel adapters check boxes are selected and click Next.
    7. On the Manage physical network adapters page, click vmnic1 and click Assign uplink.
    8. In the Select an Uplink for vmnic1 dialog box, select Uplink 2 and click OK.
    9. On the Manage physical network adapters page, click Next.
  8. Configure the VMkernel network adapters.
    1. On the Manage VMkernel network adapters page, click vmk0 and click Assign port group.
    2. Select lax01-w01-vds01-management and click OK.
    3. On the Manage VMkernel network adapters page, click On this switch and click New adapter.
    4. On the Add Networking page, click Select an existing network, select the lax01-w01-vds01-nfs port group, click OK, and click Next.
    5. On the Port properties page, click Next.
    6. Under IPv4 settings, select Use static IPv4 settings, enter the IP address 172.17.25.101, enter the subnet 255.255.255.0, and click Next.
    7. Click Finish.
    8. On the Analyze impact page, click Next.
    9. On the Ready to complete page, review your entries and click Finish.
  9. Create the vMotion VMkernel adapter.
    1. In the Navigator, click Host and Clusters and expand the lax01w01vc01.lax01.rainpole.local tree.
    2. Click lax01w01esx01.lax01.rainpole.local.
    3. Click the Configure tab, then select VMkernel adapters.
    4. Click the Add host networking icon, select VMkernel Network Adapter, and click Next.
    5. On the Add Networking page, click Select an existing network, select the lax01-w01-vds01-vmotion port group, click OK, and click Next.
    6. On the Port properties page, select vMotion from the TCP/IP Stack drop-down menu and click Next.
    7. Under IPv4 settings, select Use static IPv4 settings, enter the IP address 172.17.32.101, enter the subnet 255.255.255.0, and click Next.
    8. Click Finish.
  10. Configure the MTU on the vMotion VMkernel adapter.
    1. Select the vMotion VMkernel adapter created in the previous step, and click Edit Settings.
    2. Click the NIC Settings page.
    3. Enter 9000 for the MTU value and click OK.
  11. Configure the vMotion TCP/IP stack.
    1. Under Networking, click TCP/IP configuration.
    2. Select vMotion and click the Edit TCP/IP stack configuration icon.
    3. Click Routing, enter 172.17.32.253 for the VMKernel gateway address, and click OK.
  12. Define Network I/O Control shares for the different traffic types on the lax01-w01-vds01 distributed switch.
    1. In the Navigator, click Networking and click the lax01-w01dc data center.
    2. Click the lax01-w01-vds01 distributed switch.
    3. Click the Configure tab and click Resource Allocation > System traffic.
    4. Under System Traffic, edit each of the following traffic types with the values from the table.
      Traffic Types Shares
      vSAN Traffic Low
      NFS Traffic Low
      vMotion Traffic Low
      vSphere Replication (VR) Traffic Low
      Management Traffic Normal
      vSphere Data Protection Backup Traffic Low
      Virtual Machine Traffic High
      Fault Tolerance (FT) Traffic Low
      iSCSI Traffic Low
  13. Migrate the last physical adapter from the standard switch to the lax01-w01-vds01 distributed switch.
    1. In the Navigator, click Networking and expand the lax01-w01dc data center.
    2. Right-click the lax01-w01-vds01 distributed switch and select Add and Manage hosts.
    3. On the Select task page, select Manage host networking and click Next.
    4. On the Select hosts page, click Attached hosts.
    5. In the Select member hosts dialog box, select lax01w01esx01.lax01.rainpole.local and click OK.
    6. On the Select hosts page, click Next.
    7. On the Select network adapter tasks page, select Manage Physical adapters and click Next.
    8. On the Manage physical network adapters page, under lax01w01esx01.lax01.rainpole.local, select vmnic0 and click Assign uplink.
    9. In the Select an Uplink dialog box, select Uplink 1, click OK, and click Next.
    10. On the Analyze Impact page, click Next.
    11. On the Ready to complete page, click Finish.
  14. Enable vSphere Distributed Switch Health Check.
    1. In the Navigator, click Networking and expand the lax01-w01dc data center.
    2. Select the lax01-w01-vds01 distributed switch and click the Configure tab.
    3. In the Navigator, select Health check and click the Edit button.
    4. For VLAN and MTU and Teaming and failover, select Enabled and click OK.
  15. Delete the vSphere Standard Switch.
    1. In the Navigator, click Hosts and Clusters and expand the lax01w01vc01.lax01.rainpole.local tree.
    2. Select lax01w01esx01.lax01.rainpole.local and click Configure.
    3. On the Configure page, select Virtual Switches.
    4. On the Virtual Switches page, select vSwitch0 and click the Remove selected standard switch button.
    5. In the Remove Standard Switch dialog box, click Yes.