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)
此内容已动态机器翻译。 放弃
このコンテンツは動的に機械翻訳されています。免責事項
This content has been machine translated dynamically.
This content has been machine translated dynamically.
This content has been machine translated dynamically.
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.
这篇文章已经过机器翻译.放弃
Translation failed!
支持负载平衡配置文件
负载平衡配置具有大量参数,因此在多个虚拟服务器上设置相同的参数可能会变得乏味。从版本 11.1 中,负载平衡 (LB) 配置文件可使此任务变得更加轻松。现在,您可以在配置文件中设置负载平衡参数,并将此配置文件与虚拟服务器关联,而不是在每个虚拟服务器上设置这些参数。
LB 配置文件目前支持以下参数:
- HTTPonlyflag — 在持久性 Cookie 中包含仅限 HttpOnly 属性。HttpOnly 属性将 Cookie 的范围限制为 HTTP 请求,并有助于减少跨站点脚本攻击的风险。
- 使用持久性生态记录-使用 SHA2 哈希算法对持久性 cookie 值进行加密。
- Cookie-指定用于生成安全持久性 cookie 值的密码短语。
- DBS_LB-为 MySQL 和 MSSQL 服务类型启用数据库特定的负载平衡。
- Cl_process_local — 发往群集中虚拟服务器的数据包不会转向。启用单个数据包请求响应模式或上游设备为基于连接的分发执行适当的 RSS 时选项。
注意
您可以在虚拟服务器和配置文件中设置 DBS_LB 和 Cl_process_local 参数。如果在虚拟服务器上启用这些参数,然后将配置文件设置为此虚拟服务器,则参数在该虚拟服务器的“show lb虚拟服务器”命令的输出中显示为禁用。检查配置文件以查看这些参数的实际状态。此外,如果将配置文件设置为虚拟服务器,然后取消设置,则 将使用该虚拟服务器的默认值设置参数。
使用 CLI 创建 LB 配置文件
在命令提示窗口中,键入:
add lb profile <lbprofilename> -dbsLb ( ENABLED | DISABLED ) -processLocal ( ENABLED | DISABLED ) -httpOnlyCookieFlag ( ENABLED | DISABLED ) -cookiePassphrase -useSecuredPersistenceCookie ( ENABLED | DISABLED )
示例:
add lb profile p1
Done
show lb profile p1
LB Profile name: p1
DBS LB : DISABLED Process Local: DISABLED
Persistence Cookie HttpOnly Flag: ENABLED
Use Secured Persistence Cookie Flag: DISABLED
No of vservers bound: 0
Done
使用 GUI 创建 LB 配置文件
导航到系统>“配置 文 件”>LB 配置文件,然后添加配置文件。
使用 CLI 将 LB 配置文件与 LB 虚拟服务器关联
在命令提示窗口中,键入:
set lb vserver <name> -lbprofilename <string>
示例
set lbvserver lbvip1 -lbprofile p1
Done
sh lb vserver lbvip1
lbvip1 (203.0.113.1:80) - HTTP Type: ADDRESS
State: UP
Last state change was at Wed May 25 12:36:20 2016
Time since last state change: 0 days, 00:01:26.140
Effective State: UP ARP:DISABLED
Client Idle Timeout: 180 sec
Down state flush: ENABLED
Disable Primary Vserver On Down : DISABLED
Appflow logging: ENABLED
Port Rewrite : DISABLED
No. of Bound Services : 2 (Total) 2 (Active)
Configured Method: LEASTCONNECTION BackupMethod: ROUNDROBIN
Mode: IP
Persistence: NONE
Vserver IP and Port insertion: OFF
Push: DISABLED Push VServer:
Push Multi Clients: NO
Push Label Rule: none
L2Conn: OFF
Skip Persistency: None
Listen Policy: NONE
IcmpResponse: PASSIVE
RHIstate: PASSIVE
New Service Startup Request Rate: 0 PER_SECOND, Increment Interval: 0
Mac mode Retain Vlan: DISABLED
DBS_LB: DISABLED
Process Local: DISABLED
Traffic Domain: 0
LB Profile: p1
Done
使用 GUI 将 LB 配置文件与 LB 虚拟服务器关联
- 导航到流量管理 > 负载平衡 > 虚拟服务器。
- 选择一个虚拟服务器,然后单击 编辑。
- 在 高级设置中,单击 配置文件。
- 在 LB 配置文件 列表中,选择要与此虚拟服务器关联的配置文件。
分享:
分享:
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 Do Not Agree to exit.