This content has been machine translated dynamically.
Dieser Inhalt ist eine maschinelle Übersetzung, die dynamisch erstellt wurde. (Haftungsausschluss)
Cet article a été traduit automatiquement de manière dynamique. (Clause de non responsabilité)
Este artículo lo ha traducido una máquina de forma dinámica. (Aviso legal)
此内容已经过机器动态翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
이 콘텐츠는 동적으로 기계 번역되었습니다. 책임 부인
Este texto foi traduzido automaticamente. (Aviso legal)
Questo contenuto è stato tradotto dinamicamente con traduzione automatica.(Esclusione di responsabilità))
This article has been machine translated.
Dieser Artikel wurde maschinell übersetzt. (Haftungsausschluss)
Ce article a été traduit automatiquement. (Clause de non responsabilité)
Este artículo ha sido traducido automáticamente. (Aviso legal)
この記事は機械翻訳されています.免責事項
이 기사는 기계 번역되었습니다.책임 부인
Este artigo foi traduzido automaticamente.(Aviso legal)
这篇文章已经过机器翻译.放弃
Questo articolo è stato tradotto automaticamente.(Esclusione di responsabilità))
Translation failed!
设置负载均衡的 Web Studio 部署
要设置高可用性 Web Studio 部署,您可以选择 NetScaler® ADC 或 Windows 网络负载均衡等工具。本文提供了使用 NetScaler ADC 设备设置负载均衡的 Web Studio 部署的分步指南。

对证书的要求
在从商业证书颁发机构购买证书或从您的企业证书颁发机构颁发证书之前,请根据您的需求考虑以下选项:
| 选项 | 优点 | 缺点 |
|---|---|---|
| 选项 1:在 NetScaler ADC 设备负载均衡器服务器和 Web Studio 服务器上同时使用 *.example.com 通配符证书。
|
|
|
| 选项 2:在 NetScaler ADC 设备负载均衡器服务器和 Web Studio 服务器上使用带有主题备用名称 (SAN) 的证书。
|
|
|
| 支持多个不同的名称,比通配符提供更大的灵活性 | 受 CA 支持的 SAN 条目数量限制 | |
| 选项 3:为每个 Web Studio 服务器和 NetScaler ADC 设备负载均衡器服务器使用一个证书 |
|
|
| 一个证书被泄露不会影响其他证书
|
||
在负载均衡器上配置服务器证书
- 请登录到 NetScaler ADC 设备的管理界面。
- 选择 流量管理 > SSL > 证书 > 服务器证书
- 单击 安装。
-
在“安装服务器证书”页面上,输入证书-密钥对名称,单击“选择文件”,然后浏览证书文件。如果证书文件不包含私钥,请选择“密钥文件”。

步骤 1:添加 Web Studio 服务器节点
将所有 Web Studio 服务器节点(例如,Studio-eu-1 和 Studio-eu-2)添加到负载均衡器。
- 请登录到 NetScaler ADC 的管理界面。
-
导航到 流量管理 > 负载均衡 > 服务器。单击 添加。
-
输入 Web Studio 服务器节点的服务器 IP 地址。
-
重复步骤 2–3 以添加其他 Web Studio 服务器。
包含两个服务器的“服务器”屏幕截图(/zh-cn/citrix-virtual-apps-desktops/2511/media/server-nodes.png)
步骤 2: 添加用于 Web Studio 服务器节点的监视器
在负载均衡器中设置监视器,以检查所有 Web Studio 服务器节点的状态。
- 选择 流量管理 > 负载均衡 > 监视器 > 添加。
- 在“配置”选项卡上,完成以下设置并保留其他默认值:
- 在“名称”中输入 Web Studio。
- 在“类型”中选择 HTTP 或 SSL。
- 选择“安全”选项。
- 请在 HTTP 请求 这一配置项的输入字段中,填入 HEAD/citrix/studio/。
包含两个服务器的“服务器”屏幕截图(/zh-cn/citrix-virtual-apps-desktops/2511/media/netscaler-monitor-for-studio.png)
步骤 3: 为 Web Studio 服务器节点创建服务组
-
选择 流量管理 > 负载均衡 > 服务组 > 添加。要通过 HTTPS 连接到 Web Studio 服务器,请选择 SSL 协议,保留其他设置作为默认值,然后单击“确定”。
-
在您的服务组中,在“服务组成员”下,单击“无服务组成员”,然后按照以下步骤添加成员:
- 单击“基于服务”。
- 选择您之前添加的所有服务器。
-
为端口输入 443。

-
添加“监视器”部分,然后选择您之前创建的 Web Studio 监视器。

-
添加“证书”部分并完成以下设置:
- 绑定客户端证书。
-
绑定用于签署您之前导入的服务器证书的 CA 证书,以及可能属于 PKI 信任链的任何其他 CA。

-
添加“设置”部分,选择“插入客户端 IP 标头”,然后输入标头名称 X-Forwarded-For。此设置允许在 策略 中使用客户端 IP 地址。
步骤 4:创建虚拟服务器
为用户创建负载均衡器虚拟服务器,以便访问 Web Studio 服务器组。
-
导航到“流量管理 > 负载均衡 > 虚拟服务器”,然后单击“添加”。
-
输入名称,为“协议”选择 SSL,为“端口”输入 443,然后单击“确定”。

-
将您之前创建的“服务组”绑定到负载均衡虚拟服务器。
-
绑定您在 步骤 3:为 Web Studio 服务器节点创建服务组 中绑定到服务组的 CA 证书。
-
添加方法部分并选择负载平衡方法。Web Studio 负载平衡的常见选择是 ROUNDROBIN 或 LEASTCONNECTION。
负载平衡方法部分的屏幕截图(/zh-cn/citrix-virtual-apps-desktops/2511/media/leastconnection.png)
-
添加持久性部分并完成以下设置:
-
将持久性方法设置为 COOKIEINSERT。
-
将超时设置为与 Web Studio 中的会话超时相同(默认情况下为 20 分钟)。
-
请为该 Cookie 指定一个名称,以便于将来的调试工作。例如,NSC_SFPersistence。
-
将备份持久性设置为 NONE。
持久性部分的屏幕截图(/zh-cn/citrix-virtual-apps-desktops/2511/media/persistence.png)
注意:
如果客户端不允许存储 HTTP Cookie,则后续请求将不包含 HTTP Cookie,并且不使用持久性。
-
步骤 5:为虚拟服务器创建 DNS 记录
在域控制器上,创建 DNS 和 PTR 记录以将虚拟服务器的 IP 地址映射到 FQDN。网络中的 Web Studio 用户使用此 FQDN 访问 Web Studio 服务器组。例如,webstudio.example.com 解析为负载平衡器虚拟服务器 IP 地址 (VIP)。
持久性部分的屏幕截图(/zh-cn/citrix-virtual-apps-desktops/2511/media/new-dns.png)
为用户提供此 URL 以访问 Web Studio 服务器:https://<FQDN of the virtual server>/<text you entered in the HTTP Request field when creating a monitor>。示例:https://webstudio.example.com/citrix/studio
共享
共享
This Preview product documentation is Citrix Confidential.
You agree to hold this documentation confidential pursuant to the terms of your Citrix Beta/Tech Preview Agreement.
The development, release and timing of any features or functionality described in the Preview documentation remains at our sole discretion and are subject to change without notice or consultation.
The documentation is for informational purposes only and is not a commitment, promise or legal obligation to deliver any material, code or functionality and should not be relied upon in making Citrix product purchase decisions.
If you do not agree, select I DO NOT AGREE to exit.