Both L4 and L7 virtual services are supported to Load balance traffic to connection servers. However, it is recommended to use L7 virtual services. This guide discusses using L7 virtual service to load balance traffic to connection servers.

Create Custom Health Monitor for Connection Servers

  1. From the UI, navigate to Templates > Profiles > Health Monitors.

  2. Click Create.

  3. In the New Health Monitor screen, select the Type as HTTPS.

  4. Set the Send Interval to 30 seconds and Receive Timeout to 10 seconds.
  5. Select the Response Code as 2xx.

  6. Select an appropriate SSL Profile.

  7. Click Save.

Create an SSL Profile

Create an SSL profile with session reuse deactivated. Follow the steps shown below:

To create a new SSL profile,

  1. In the UI, navigate to Templates > Security > SSL/TLS Profile > Create.

  2. Select the Type as Application Profile.

  3. In the New SSL/TLS Profile screen, ensure TLS 1.2 is selected under Accepted Versions for backward compatibility with older Horizon clients.

  4. Ensure the option Enable SSL Session Reuse is deactivated.

  5. Under Ciphers, click Select From List to select the following ciphers:

    • TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256

    • TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256

    • TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384

    • TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384

  6. Click Save.

Creating a Pool

If connection servers are configured in replica, persistence on the connection server is not required. In case of non-replica, use Consistent Hash - Source IP address as the load balancing algorithm.

Enable SSL to backend and select the appropriate SSL profile (Connection-Server-SSL-Profile used here).

To create a pool,

  1. Navigate to Applications > Pools.

  2. Click Create Pool

  3. Enter the details as shown below:


  4. Click Next and Save.

Creating an Application Profile

Use an HTTPS application profile, with Connection Multiplex and X-Forwarded-For deactivated.

Creating an L7 Virtual Service

To create the L7 virtual service,

  1. Navigate to Applications > Virtual Services.

  2. Click CREATE VIRTUAL SERVICE > Advanced Setup.

  3. Select the Application Profile created for connection server.
  4. Enable SSL and choose the SSL profile that was created for the virtual service.

  5. Select the Connection Server Pool.

  6. The virtual service is as shown below:


  7. Click Next and navigate to Step 4: Advanced.

  8. Click Save.

The following are the changes in the UAG server when the load balancer is present between the UAG and connection server:



  • The connection server URL must point to the NSX Advanced Load Balancer.

  • The connection server URL thumb print:

    • For an L7 virtual service: The connection server URL thumbprint is taken from the certificate that is bound to the NSX Advanced Load Balancer.

    • For an L4 virtual service: The connection server URL thumbprint must be taken from the certificate that is present in the connection server itself.

    • For an L4 virtual service with SSL (System-SSL-Application) the connection server URL thumbprint is taken from the certificate that is bound to the NSX Advanced Load Balancer.

Note:

For connection servers, connection multiplexing has to be deactivated for the System-Secure-HTTP-VDI profile.

To know how to deactivate connection multiplexing, see Disable Connection Multiplexing.