In this design, a single virtual service with an L4 profile services all protocols.

L4 virtual service configuration on NSX Advanced Load Balancer is done as shown below:

Procedure

  1. Create a custom health monitor for UAG.
  2. Configure the L4 Pool as shown below:
    1. Navigate to Applications > Pools.
    2. Select the Horizon-L4-Pool and click the edit icon.
    3. Ensure Deactivate Port Translation is selected and the custom HTTPS health monitor is selected.

    4. Click Save.
  3. Create an L4 Virtual Service.
    1. From the UI, navigate to Applications > Virtual Services.
    2. Click CREATE VIRTUAL SERVICE > Advanced Setup.
    3. Under the Select Cloud dropdown menu, select the VMware cloud.
    4. In the New Virtual Service screen, enter the virtual service name and other details.
    5. Under Service Port, click Switch to Advanced.
    6. Add the following port numbers for the secondary protocols:
      • 443 UDP to override TCP/UDP and use System-UDP-Fast-Path-VDI as the profile

      • Add 8443 for Blast

      • Add 8443 UDP to override TCP/UDP and use System-UDP-Fast-Path-VDI as the profile

      • Add 4172 for PCoIP

      • Add 4172 UDP to override TCP/UDP and use System-UDP-Fast-Path-VDI as the profile

      Note:

      The application profile and the pool (Horizon-L4-pool)are bound to the virtual service.



    7. Complete virtual service configuration, as required and click Save.

Results

With this, the configuration is complete and ready to use NSX Advanced Load Balancer for Horizon.

Note:

If required, use Ansible playbooks or Terraform to automate the configuration for shared VIP and L4 VIP.