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!
设置位置参数
用于实现静态邻近的数据库包含 GSLB 站点的位置。每个位置都包含一个 IP 地址范围和该范围最多六个限定符。限定符是文字字符串,并在运行时按规定的顺序进行比较。每个位置必须至少有一个限定符。限定词标签定义了用户定义的限定词(上下文)的含义。Citrix ADC 具有两个内置上下文:
具有以下限定符标签的地理上下文:
- 预选赛 1-“大陆”
- 限定词 2 –“Country”
- 限定词 3 –“State”
- 预选赛 4-“城市”
- 限定词 5 —“ISP”
- 限定词 6-“组织”
具有以下限定符标签的自定义条目:
- 限定符 1-“限定符 1”
- 限定符 2-“限定符 2”
- 限定符 3-“限定符 3”
- 限定符 4-“限定符 4”
- 限定符 5-“限定符 5”
- 限定符 6-“限定符 6”
如果地理上下文设置为没有 Continent 限定词,则 Continent 是从 Country 派生出来的。即使是内置的限定符标签也基于上下文,并且可以更改标签。这些限定符标签指定与用于做出静态邻近性决策的 IP 地址映射的位置。
要执行基于近似度的静态决策,Citrix ADC 设备将从本地 DNS 服务器解析程序的 IP 地址派生的位置属性(限定符)与参与站点的位置属性进行比较。如果只有一个站点匹配,设备将返回该站点的 IP 地址。如果存在多个匹配项,则所选站点是匹配 GSLB 站点上轮循环的结果。如果没有匹配项,则所选站点是所有已配置站点上循环的结果。没有任何限定符的站点被视为匹配。
基于位置的策略表达式的 GEO 规则允许您检查通配符匹配。此功能检查通配符限定符是否匹配包括非通配符在内的任何其他限定符。通配符匹配通过使用添加到 set locationParameter
命令中的 matchWildcardtoany
属性来执行。
matchWildcardtoany
属性可设置为以下值:
- 是: 通配符限定符与任何其他限定词匹配。
- 否: 通配符限定符与非通配符限定符不匹配,但与其他通配符限定符匹配。默认选项为否。
- 表达式:表达式 中的通配符限定符与 LDNS 位置中的任何限定符匹配,但是 LDNS 位置中的通配符限定符与表达式中的非通配符限定符不匹配。
示例:
add dns policy policy1 "CLIENT.IP.SRC.MATCHES_LOCATION("Continent.country \*.\*.\*.\* \“)” <action>
使用 CLI 设置位置参数
在命令提示窗口中,键入:
set locationparameter -context <context> -q1label <string> [-q2label <string>] [-q3label <string>] [-q4label <string>] [-q5label <string>] [-q6label <string>] -matchWildcardtoany [Yes | No | Expression]
示例:
set locationparameter -context custom -q1label asia -matchWildcardtoany Yes
使用 GUI 设置位置参数
- 导航到流量管理”>“GSLB”>“数据库和条目。
- 在设置下,单击更改位置参数。
- 在配置位置参数页中,设置位置参数。
分享:
分享:
本文中包含的内容
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.