ADC

Configure automatic state transition based on percentage health of bound services

您可以配置一个负载均衡的虚拟服务器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 automatic state transition for a virtual server and verify the configuration:

set lb vserver  -healthThreshold  show lb vserver  

To configure percentage based automatic state transition by using the GUI

  1. Navigate to Traffic Management > Load Balancing > Virtual Servers, and open a virtual server.
  2. 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-STATE show snmp alarm 

To enable the ENTITY-STATE alarm by using the GUI

  1. Navigate to System > SNMP > Alarms.
  2. Select ENTITY-STATE and, in the Action list, select Enable.
Configure automatic state transition based on percentage health of bound services