Configure automatic state transition based on percentage health of bound services 编辑
Configure automatic state transition based on percentage health of bound services
You can configure a load balancing virtual server to automatically transition from the UP state to the DOWN state if the percentage of active services falls below a configured threshold. For example, if you bind 10 services to a load balancing virtual server and configure a threshold of 50% for that virtual server, it transitions from UP to DOWN if six or more services are DOWN. When the percentage health rises above the threshold value, the virtual server returns to the UP state.
You can also enable an SNMP alarm called ENTITY-STATE if you want the Citrix ADC appliance to notify you when the percentage health of bound services causes a virtual server to change state.
To configure percentage based automatic state transition by using the CLI
At the command prompt, type the following commands to configure an automatic state transition for a virtual server and verify the configuration:
set lb vserver <name> -healthThreshold <positive_integer>show lb vserver <name><!--NeedCopy-->
To configure percentage based automatic state transition by using the GUI
- Navigate to Traffic Management > Load Balancing > Virtual Servers, and open a virtual server.
- In Advanced Settings, select Traffic Settings, and set a Health Threshold.
To enable the ENTITY-STATE alarm by using the CLI
At the command prompt, type the following commands to enable the ENTITY-STATE SNMP alarm and verify the configuration:
enable snmp alarm ENTITY-STATEshow snmp alarm<!--NeedCopy-->
To enable the ENTITY-STATE alarm by using the GUI
- Navigate to System > SNMP > Alarms.
- Select ENTITY-STATE and, in the Action list, select Enable.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论