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!
为服务分配权重
在负载平衡配置中,您将权重分配给服务,以指示应发送到每个服务的流量百分比。权重较高的服务可以处理更多的请求;权重较低的服务可以处理更少的请求。为服务分配权重允许 Citrix ADC 设备确定每台负载均衡服务器可处理的流量,从而更有效地平衡负载。
注意:如果您使用支持服务权重的负载平衡方法(例如,循环方法),则可以为服务分配权重。
下表介绍了支持权重的负载平衡方法,并简要描述了权重影响为每个服务选择方式的方式。
负载平衡方法 | 带权重的服务选择 |
---|---|
轮询 | 虚拟服务器对可用服务队列进行优先级排序,以便与权重最低的服务相比,权重最高的服务更频繁地位于队列前面,并按比例接收更多的流量。有关完整描述,请参阅 循环方法。 |
最小连接 | 虚拟服务器选择具有最少活动事务和最高权重的最佳组合的服务。有关完整说明,请参阅 最少连接方法。 |
使用监视器的最短响应时间和最短响应时间方法 | 虚拟服务器选择具有最少活动事务和最快平均响应时间的最佳组合的服务。有关完整说明,请参阅 最短响应时间方法。 |
最小带宽 | 虚拟服务器选择具有最小流量和最高带宽的最佳组合的服务。有关完整描述,请参阅 最小带宽方法。 |
最少数据包 | 虚拟服务器选择具有最少数据包和最高权重的最佳组合的服务。有关完整描述,请参阅 最少数据包方法。 |
自定义加载 | 虚拟服务器选择具有最低负载和最高重量的最佳组合的服务。有关完整描述,请参阅 自定义加载方法。 |
哈希方法和令牌方法 | 这些负载平衡方法不支持加权。 |
使用 CLI 将虚拟服务器配置为服务分配权重
在命令提示符下,键入:
set lb vserver <name> -weight <Value> <ServiceName>
<!--NeedCopy-->
示例:
set lb vserver Vserver-LB-1 -weight 10 Service-HTTP-1
<!--NeedCopy-->
将虚拟服务器配置为通过使用 GUI 为服务分配权重
- 导航到 流量管理 > 负载平衡 > 虚拟服务器。
- 打开虚拟服务器,然后单击 服务 部分中。
- 在服务的权重列中,为服务分配权重。
共享
共享
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.