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
From the UI, navigate to
.Click Create.
In the New Health Monitor screen, select the Type as HTTPS.
Set the Send Interval to 30 seconds and Receive Timeout to 10 seconds.
Select the Response Code as 2xx.
Select an appropriate SSL Profile.
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,
In the UI, navigate to
.Select the Type as Application Profile.
In the New SSL/TLS Profile screen, ensure TLS 1.2 is selected under Accepted Versions for backward compatibility with older Horizon clients.
Ensure the option Enable SSL Session Reuse is deactivated.
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
Click Save.
Creating a Pool
If connection servers are configured, 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,
Navigate to
.Click Create Pool
Enter the details as shown below:
Click Next.
-
Enter the Server IP Address and click Add Server.
Click Next and enter the details as required under the Advanced tab.
Click Next and Save.
Connection server pool should have persistence profile assigned. Persistence is not required if consistent hash load balancing algorithm is being used with Source IP address.
For more information, see Security Enhancements in Unified Access Gateway (UAG) version 2312 and beyond (96373).
Creating an Application Profile
Create an HTTP application profile, with the Connection Multiplex and X-Forwarded-For settings unchecked.
Creating an SSL Profile
Create an SSL profile with session reuse disabled. Follow the steps shown below:
1. In the Avi UI, navigate to
2. In the New SSL/TLS Profile screen, select the Ciphers and theTLS version.
3. Enable TLS 1.2 for backward compatibility with older Horizon clients.
4. Ensure the option Enable SSL Session Reuse is disabled.
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 an L7 Virtual Service
To create the L7 virtual service,
Navigate to
.Click
.Select the Application Profile created for connection server.
Enable SSL and choose the SSL profile that was created for the virtual service.
Select the Connection Server Pool.
The virtual service is as shown below:
Click Next and navigate to Step 4: Advanced.
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 Avi 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 Avi 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 Avi Load Balancer.
For connection servers, Connection Multiplex must be deactivated for the System-Secure-HTTP-VDI profile. Other settings in this profile can remain unchanged.
For information on how to deactivate Connection Multiplex, see Disable Connection Multiplexing.