In the vCenter Server environment, you must create a virtual data center and create a distributed virtual switch and distributed port groups for that data center.

About this task

Important:

Horizon Cloud with On-Premises Infrastructure is not supported for use in a vCenter Server environment that has more than one virtual data center configured in it. That data center is the vSAN Ready cluster. When you set up Horizon Cloud with On-Premises Infrastructure in the vCenter Server environment, ensure that the environment contains only one data center before deploying the Horizon Air Link into the environment.

Procedure

  1. In the vSphere Web Client, create a single data center named VRN-DC.
  2. Add hosts to the data center.
    1. Under datacenters, select VRN-DC and Add Host.
    2. Add esxi-01.vrn.local followed by all remaining hosts to the VDC using defaults.
      Note:

      You must use FQDNs when you add the ESXi hosts.

  3. Create a single distributed switch named dvSwitch0 for the data center VRN-DC and configure the switch settings.

    The distributed switch version you use depends on the version of vCenter Server Appliance you are using.

    dvSwitch0 Option

    vCenter Server Appliance Version 6.5.n

    vCenter Server Appliance Version 6.0.n

    Version

    6.5.n

    6.0.n

    Number of uplinks

    Two

    Two

    Create default port group

    Deselect this option.

    Deselect this option.

  4. Under dvSwitch0, select Add and Manage Hosts and perform the following steps.
    1. Select task > Add hosts.
    2. Select New hosts then select all of the hosts listed.
    3. Select network adapter tasks > Manage physical adapters.
    4. Manage physical adapters - for each ESXi host, select the vmnic that is not in use, select Assign uplink, and use Uplink 2.
  5. Under dvSwitch0, select Distributed Port group > New Distributed Port Group.
  6. Add the following port groups to dvSwitch0, using defaults except for setting the VLAN ID.

    PORTGROUP

    VLAN

    dvpg-vmk0-management

    1000

    dvpg-vmk1-VSAN

    4001

    dvpg-vmk2-vMotion

    4002

    dvpg-management

    1000

    dvpg-tenant

    1001

  7. Migrate VMkernel interfaces to the DVS.
    1. In the vSphere Web Client, under Distributed Switches, select Add and Manage Hosts.
    2. Select task > Manage host networking.
    3. Select Attached hosts then select all of the attached hosts.
    4. Select network adapter tasks > Manage VMkernel adapters.
    5. Manage VMkernel network adapters - for each ESXi host, select vmk0, then select Assign port group > dvpg-vmk0-management.
  8. Migrate the vCenter Server Server appliance to the DVS.
    1. In the vSphere Web Client, under Distributed Switches, select Add and Manage Hosts.
    2. Select task > Manage host networking.
    3. Select Attached hosts then select all attached hosts.
    4. Select network adapter tasks > Migrate virtual machine networking.
    5. Manage VM networking - under esxi-01.vrn.local, select vcenter, then select Assign port group > dvpg-management.
  9. Remove vSwitch0 from all nodes.

    [root@esxi-01:~] esxcli network vswitch standard portgroup remove --portgroup-name="VM Network" --vswitch-name=vSwitch0

    [root@esxi-01:~] esxcli network vswitch standard uplink remove --uplink-name=vmnic4 --vswitch-name=vSwitch0

    [root@esxi-01:~] esxcli network vswitch standard remove --vswitch-name=vSwitch0

  10. Add a second physical network adapter to the DVS.
    1. In the vSphere Web Client, under Distributed Switches, select Add and Manage Hosts.
    2. Select task > Manage host networking.
    3. Select Attached hosts then select all attached hosts.
    4. Select network adapter tasks > Manage physical adapters.
    5. Manage physical network adapters. For each ESXi host, select the vmnic that is not in use, then select Assign uplink and use Uplink 1.
  11. Add VMkernel adapters for vSphere vMotion and vSAN.
    1. In the vSphere Web Client, under Distributed Switches, select Add and Manage Hosts.
    2. Select task > Manage host networking.
    3. Select Attached hosts and then select all the attached hosts.
    4. Select network adapter tasks > Manage VMkernel adapters.
    5. Configure the network adapters under Manage VMkernel network adapters.
      1. Repeat this procedure for all hosts.

      2. On esxi-01.vrn.local, select New adapter.

      3. Select target device - Select an existing network and select dvpg-vmk1-VSAN.

      4. Port properties - enable Virtual SAN traffic only.

      5. IPv4 settings - Set the static IP address to 192.168.1.11 and netmask to 255.255.255.0.

      6. Select New adapter again.

      7. Select target device - Select an existing network and select dvpg-vmk2-vMotion.

      8. Port properties - enable vMotion traffic only.

      9. IPv4 settings - Set the static IP address to 192.168.2.11 and netmask to 255.255.255.0.

    6. Follow the prompts and click Finish.

      The following image is an example of the Manage VMkernel network adapters page.

      The Manage VMkernal netowkr adapters screen.

      The following image is an example of the topology page for dvSwitch0 in a vSAN Ready Node cluster environment.

      An example of the topology screen for dvSwitch0 in a Virtual SAN Ready Node cluster environment.

  12. Balance VMkernel traffic across physical network adapters.
    1. In the vSphere Web Client, under Distributed Switches, select Distributed Port group > Manage Distributed Port Groups.
    2. Select Teaming and failover, and port group dvpg-vmk1-VSAN.
    3. Set Uplink 1 to Standby and Uplink 2 to Active.
    4. Apply the settings and return to Distributed Port Group management.
    5. Select Teaming and failover, then select all of the remaining port groups, which are non-virtual SAN traffic.
    6. Set Uplink 1 to Active and Uplink 2 to Standby.
    7. Apply the settings and return to Distributed Port Group management.
    8. Select Traffic shaping, then select port group dvpg-vmk2-vMotion.
    9. Enable both Ingress and Egress traffic shaping and set the following values for both Ingress and Egress.

      Option

      Description

      Average bandwidth in Kbps

      4294967

      Peak bandwidth in Kbps

      4294967

      Burst size in KB

      102400