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!
配预配份持久性
您可以将虚拟服务器配置为在主持久性类型失败时使用源 IP 持久性类型。
下表介绍了主备份和辅助备份持久性类型的组合,以及使用备份持久性的条件。
原始持久性 | 备份持久性 | 当主持久性查找失败时… |
---|---|---|
曲奇插入 | 源 IP | 仅当客户端浏览器未返回请求中的任何 cookie 时,设备才会回退到基于源 IP 的持久性。但是,如果浏览器返回 cookie(不一定是持久性 cookie),则假定浏览器支持 cookie,因此不会触发备份持久性。 |
规则 | 源 IP | 当传入请求中缺少规则中指定的参数时,设备使用基于源 IP 的持久性。 |
注意
- 如果主持久性类型是基于 HTTP-cookie 的持久性,并且备份持久性类型是基于源 IP 的,则可以为备份持久性设置超时值。相关说明,请参阅为空闲客户端连接设置超时值。
- 当主持久性基于规则时,无法为备份持久性设置超时值,因为在这种情况下,辅助持久性的超时值必须与主持久性相同。因此,主要和辅助同时过期。
使用命令行界面为虚拟服务器设置备份持久性
在命令提示窗口中,键入:
set lb vserver <name> -persistenceType <PersistenceType> -persistenceBackup <BackupPersistenceType>
示例:
set lb vserver Vserver-LB-1 -persistenceType CookieInsert -persistenceBackup SourceIP
set lb vserver Vserver-LB-1 -persistenceType sslsession -persistenceBackup SourceIP
set lb vserver Vserver-LB-1 –persistenceType RULE –rule http.req.header("User-Agent").value(0).contains("MyBrowser") –persistenceBackup SOURCEIP
set lb vserver Vserver-LB-1 -persistenceType sslsession -persistenceBackup SourceIP
使用配置实用程序为虚拟服务器设置备份持久性
- 导航到流量管理 > 负载平衡 > 虚拟服务器,然后打开虚拟服务器。
- 在高级设置中,选择持久性”,然后指定备份持久性类型。
注意:主持久性必须设置为 COOKIEINSERT、RULE 或 SSLSESSION。
分享:
分享:
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.