Product Documentation

Configuring Automatic State Transition Based on Percentage Health of Bound Services

Aug 31, 2016

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 NetScaler 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 command line interface

At the command prompt, type the following commands to configure automatic state transition for a virtual server and verify the configuration:

  • set lb vserver <name> -healthThreshold <positive_integer>
  • show lb vserver <name>

To configure percentage based automatic state transition by using the configuration utility

  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 command line interface

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 configuration utility

  1. Navigate to System > SNMP > Alarms.
  2. Select ENTITY-STATE and, in the Action list, select Enable.