To configure a vSphere cluster as a Supervisor Cluster that uses the vSphere networking stack and the NSX Advanced Load Balancer, you must create a vSphere Distributed Switch. Create port groups on the distributed switch that you can configure as Workload Networks to the Supervisor Cluster. The NSX Advanced Load Balancer needs a distributed port group to connect the Avi Service Engine data interfaces. The port group is used to place the application Virtual IPs (VIPs) on the Service Engines.

Prerequisites

Review the system requirements and network topologies for using vSphere networking for the Supervisor Cluster with the NSX Advanced Load Balancer. See System Requirements for Setting Up vSphere with Tanzu with vSphere Networking and NSX Advanced Load Balancer.

Procedure

  1. In the vSphere Client, navigate to a data center.
  2. Right click the data center and select Distributed Switch > New Distributed Switch.
  3. Enter a name for the switch, for example Workload Distributed Switch and click Next.
  4. Select version 7.0 for the switch and click Next.
  5. In Port group name, enter Primary Workload Network, click Next, and click Finish.
  6. Create distributed port groups for Workload Networks.
    1. Navigate to the newly-created distributed switch.
    2. Right-click the switch and select Distributed Port Groups > New Distributed Port Group.
    3. Enter a name for the port group, for example Workload Network and click Next.
    4. Leave the defaults, click Next and click Finish.
  7. Create a port group for the Data Network.
    1. Right-click the distributed switch and select Distributed port group > New distributed port group.
    2. Enter a name for the port group, for example, Data Network and click Next.
    3. On the Configure Settings page, enter the general properties for the new distributed port group and click Next.
      Property Description
      Port binding Select when ports are assigned to virtual machines connected to this distributed port group.

      Select Static binding to assign a port to a virtual machine when the virtual machine connects to the distributed port group.

      Port Allocation Select Elastic port allocation.

      The default number of ports is eight. When all ports are assigned, a new set of eight ports is created.

      Number of ports Retain the default value.
      Network resource pool From the drop-down menu, assign the new distributed port group to a user-defined network resource pool. If you have not created a network resource pool, this menu is empty.
      VLAN From the drop-down menu, select the type of VLAN traffic filtering and marking:
      • None: Do not use VLAN. Select this option if you are using External Switch Tagging.
      • VLAN: In the VLAN ID text box, enter a value from 1 through 4094 for Virtual Switch Tagging.
      • VLAN trunking: Use this option for Virtual Guest Tagging and to pass VLAN traffic with an ID to the guest OS. Enter a VLAN trunk range. You can set multiple ranges or individual VLANs by using a comma-separated list. For example, 1702-1705, 1848-1849.
      • Private VLAN: Associate the traffic with a private VLAN created on the distributed switch. If you did not create any private VLANs, this menu is empty.
      Advanced Leave this option unselected.
  8. On the Ready to Complete page, review the configuration and click Finish.

Results

The distributed switch is created and distributed port groups appear under the distributed switch. You can now use the port group that you created for the Data Network for the NSX Advanced Load Balancer.