ADC

Use case 12: Configure Citrix Virtual Desktops for load balancing

For an improved performance in the delivery of virtual desktop applications, you can integrate the Citrix ADC appliance with Citrix Virtual Desktops and use the Citrix ADC load balancing feature to distribute the load across the Web Interface servers and the Desktop Delivery Controller (DDC) servers.

Generally, you use Citrix Virtual Desktops in situations where applications are not compatible with running on a terminal server or Citrix Virtual Apps, or if each virtual desktop has unique requirements. In such cases, you need one desktop host for each user that connects. However, the hosts can be pooled so that you need only one host for each currently connected user.

The core application service deployed for Citrix Virtual Desktops is the Desktop Delivery Controller (DDC). The DDC is installed on a server, and its main function is to register desktop hosts and broker client connections to them.

The DDC also authenticates users and manages the assembly of the users’ virtual desktop environments by controlling the state of the desktops, and starting and stopping the desktops.

Generally, multiple DDCs are installed to enhance availability.

The Web Interface servers provide secure access to virtual desktops. The Web Interface is the initial connection portal to the Desktop Delivery Controller (DDC). The Web browser on the user’s device sends information to the Web server, which communicates with the server farm to provide the user with access to the virtual desktop.

The following figure shows the topology of a Citrix ADC appliance working with Citrix Virtual Desktops.

localized image

Note

Although you can use the HTTP protocol, Citrix recommends that you use SSL for communication between the client and the Citrix ADC appliance. You can use the HTTP protocol for communication between the Citrix ADC and the DDC servers even though you use the SSL protocol for communication with the client.

To configure load balancing for Citrix Virtual Desktops by using the GUI

  1. Create a service.
    1. Navigate toConfiguration>Traffic Management>Load Balancing>Servicesand clickAdd.
    2. Create a service by specifying a name, an IP address, a port, and a protocol type and then clickOK.
  2. Create a load balancing virtual server.
    1. Navigate toConfiguration>Traffic Management>Load Balancing>Virtual Serversand clickAdd.
    2. Create a virtual server by specifying a name, an IP address, a port, and a protocol type and then clickOK.
  3. Bind the service to the load balancing virtual server.
  4. Navigate toConfiguration>Traffic Management>Load Balancing>Virtual Serversand select a server.
    1. ClickEdit.
    2. In theServices and Service Groups, click>and clickAdd Binding.
    3. Select the service you want to bind and enter the weight value.
    4. ClickBind.

To configure load balancing for Citrix Virtual Desktops by using the command line interface

  • To create a service, at the command prompt, type:
add service     

Example:

add service Service-HTTP-1 192.0.2.5 HTTP 80 
  • To create a virtual server, at the command prompt, type:
add lb vserver     

Example:

add lb vserverVserver-LB-1 HTTP 10.102.29.60 80

  • To bind a service to a load balancing virtual server, at the command prompt, type:
bind lb vserver   

Example:

bind lb vserver Vserver-LB-1 Service-HTTP-1 
Use case 12: Configure Citrix Virtual Desktops for load balancing