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!
管理内容切换设置
配置内容切换设置后,可能需要定期更改。当操作系统或软件更新或硬件磨损并被更换时,您可能需要关闭设置。设置的负载可能会增加,需要更多资源。您也可以修改配置以提高性能。
这些任务可能需要从内容交换虚拟服务器解除绑定策略,或禁用或删除内容交换虚拟服务器。更改设置后,您可能需要重新启用服务器并重新绑定策略。您可能还需要重命名虚拟服务器。
从内容交换虚拟服务器解除策略的绑定
当您从其虚拟服务器取消绑定内容交换策略时,虚拟服务器在确定将请求引向的位置时不再包含该策略。
使用 CLI 解除策略与内容交换虚拟服务器的绑定
在命令提示符下,键入:
unbind cs vserver <name> -policyname <string>
例如:
unbind cs vserver Vserver-CS-1 -policyname Policy-CS-1
使用 GUI 解除策略与内容交换虚拟服务器的绑定
- 导航到“流量管理”>“内容切换”>“虚拟服务器”,然后打开虚拟服务器。
- 单击“策 略”部分,选择策略,然后单击“取消绑定”。
删除内容交换虚拟服务器
通常,只有在不再需要虚拟服务器时才会删除内容交换虚拟服务器。删除内容交换虚拟服务器时,Citrix ADC 设备首先取消绑定内容交换虚拟服务器中的所有策略,然后将其删除。
使用 CLI 删除内容交换虚拟服务器
在命令提示符下,键入:
rm cs vserver <name>
例如:
rm cs vserver Vserver-CS-1
使用 GUI 删除内容交换虚拟服务器
导航到“流量管理”>“内容切换”>“虚拟服务器”,选择虚拟服务器,然后单击“删除”。
禁用和重新启用内容交换虚拟服务器
默认情况下,在创建虚拟服务器时启用内容交换虚拟服务器。您可以禁用内容交换虚拟服务器进行维护。如果禁用内容交换虚拟服务器,则内容交换虚拟服务器的状态将更改为“退出服务”。在断开服务时,内容交换虚拟服务器不响应请求。
使用 CLI 禁用或重新启用虚拟服务器
在命令提示窗口中,键入以下命令之一:
disable cs vserver <name>
enable cs vserver <name>
例如:
disable cs vserver Vserver-CS-1
enable cs vserver Vserver-CS-1
使用 GUI 禁用或重新启用虚拟服务器
导航到“流量管理”>“内容切换”>“虚拟服务器”,选择虚拟服务器,然后在“操作”列表中选择“启用”或“禁用”。
重命名内容交换虚拟服务器
您可以重命名内容交换虚拟服务器,而无需解除绑定。新名称会自动传播到 Citrix ADC 配置的所有受影响部分。
使用 CLI 重命名虚拟服务器
在命令提示符下,键入:
rename cs vserver <name> <newName>
例如:
`rename cs vserver Vserver-CS-1 Vserver-CS-2`
使用 GUI 重命名虚拟服务器
导航到“流量管理”>“内容切换”>“虚拟服务器”,选择虚拟服务器,然后在“操作”列表中选择“重命名”。
管理内容切换策略
您可以通过配置规则或更改策略的 URL 来修改现有策略,也可以删除策略。您还可以重命名现有的高级内容交换策略。您可以根据 URL 创建不同的策略。基于 URL 的策略可以有不同类型,如下表所述。
有关更多信息,请参阅 基于 URL 的策略示例。
注意
您可以使用经典策略表达式或高级策略表达式配置基于规则的内容切换。
使用 CLI 修改、删除或重命名策略
在命令提示窗口中,键入以下命令之一:
set cs policy <policyName> [-domain <domainValue>] [-rule <ruleValue>] [-url <URLValue>]
rm cs policy <policyName>
rename cs policy <policyName> <newPolicyName>
例如:
set cs policy Policy-CS-1 -domain "www.domainxyz.com"
set cs policy Policy-CS-1 -rule "CLIENT.IP.SRC.SUBNET(22).EQ(10.100.148.0)"
set cs policy Policy-CS-2 -rule "SYS.TIME.BETWEEN(GMT 2010 Jun,GMT 2010 Jul)"
set cs policy Policy-CS-1 -url /sports/*
rename cs policy Policy-CS-1 Policy-CS-11
rm cs policy Policy-CS-1
使用 GUI 修改、删除或重命名策略
- 导航到 Traffic Management(流量管理)> Content Switching(内容交换)> Policies(策略)。
- 选择策略,然后将其删除、编辑它,或者在“操 作”列表中单击“重命名”。
共享
共享
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.