Set a threshold value for the monitors bound to a service 编辑
Set a threshold value for the monitors bound to a service
The Citrix ADC appliance designates a service as UP only when the sum of the weights of all monitors bound to it and that are UP is equal to or greater than the threshold value configured on the service. The weight for a monitor specifies how much that monitor contributes to designating the service to which it is bound as UP.
By default, the monitor threshold is set to 0 and monitor weights are set to 1. All monitors have equal weightage then and a service can go DOWN when any one of the monitors goes DOWN.
For example, assume that three monitors, named Monitor-HTTP-1, Monitor-HTTP-2, and Monitor-HTTP-3 respectively, are bound to Service-HTTP-1, and that the threshold configured on the service is three. Suppose the following weights are assigned to each monitor:
- The weight of Monitor-HTTP-1 is 1.
- The weight of Monitor-HTTP-2 is 3.
- The weight of Monitor-HTTP-3 is 1.
The service is marked UP only when one of the following is true:
- Monitor-HTTP-2 is UP.
- Monitor-HTTP-2 and Monitor-HTTP-1 or Monitor-HTTP-3 are UP
- All three monitors are UP.
To set the monitor threshold value on a service by using the CLI
At the command prompt, type:
set service <name> -monThreshold <Value><!--NeedCopy-->
Example:
set service Service-HTTP-1 -monThreshold 100<!--NeedCopy-->
To set the monitor threshold value on a service by using the GUI
- Navigate to Traffic Management > Load Balancing > Services, and open a service.
- In Advanced Settings, select Thresholds & Timeouts, and select Monitor Threshold.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论