Use case 12: Configure XenDesktop for load balancing 编辑

September 14, 2021 Contributed by:  SC

Use case 12: Configure XenDesktop for load balancing

For an improved performance in the delivery of virtual desktop applications, you can integrate the Citrix ADC appliance with Citrix XenDesktop 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 XenDesktop in situations where applications are not compatible with running on a terminal server or XenApp, 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 XenDesktop 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 XenDesktop.

Figure 1. Load Balancing of XenDesktop

Load balancing a XenDesktop

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 XenDesktop by using the GUI

  1. Create a service.
    1. Navigate to Configuration > Traffic Management > Load Balancing > Services and click Add.
    2. Create a service by specifying a name, an IP address, a port, and a protocol type and then click OK.
  2. Create a load balancing virtual server.
    1. Navigate to Configuration > Traffic Management > Load Balancing > Virtual Servers and click Add.
    2. Create a virtual server by specifying a name, an IP address, a port, and a protocol type and then click OK.
  3. Bind the service to the load balancing virtual server.
  4. Navigate to Configuration > Traffic Management > Load Balancing > Virtual Servers and select a server.
    1. Click Edit.
    2. In the Services and Service Groups, click > and click Add Binding.
    3. Select the service you want to bind and enter the weight value.
    4. Click Bind.


To configure load balancing for XenDesktop by using the command line interface

  • To create a service, at the command prompt, type:
add service <name> <serverName> <serviceType> <port><!--NeedCopy-->

Example:

add service Service-HTTP-1 192.0.2.5 HTTP 80<!--NeedCopy-->
  • To create a virtual server, at the command prompt, type:
add lb vserver <name> <serviceType> <ip> <port><!--NeedCopy-->

Example:

add lb vserver Vserver-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 <name> <serviceName><!--NeedCopy-->

Example:

bind lb vserver Vserver-LB-1 Service-HTTP-1<!--NeedCopy-->

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:87 次

字数:5041

最后编辑:7年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文