This article describes how to configure the Responder feature to display user specific message when the rate limit for active connections exceeds on a NetScaler appliance.
You can configure the Spillover feature to resolve such an issue. Refer to CTX127915 – How to Configure the Static Spillover Feature of a NetScaler Appliance to Control the High Volume Surge Queue to configure the Spillover feature on a NetScaler appliance.
Note: If you do not want to configure the Spillover feature, you can configure the Responder feature to avoid this scenario.To configure the Responder feature to display user specific messages when the rate limit for active connections exceeds on an appliance, complete the following procedure:
Run the following command from the command line interface of the appliance, to create a content switching virtual server:
add cs vserver cs-citrix-80 HTTP 10.102.70.81 80 -cltTimeout 180
Run the following command to create a service:
add service s[1-5] 10.201.213.[1-5] HTTP 80 -maxClient 200
Run the following command to create a Load Balancing virtual server:
add lb vserver lb-cs-citrix-80 HTTP 0.0.0.0 0 -persistenceType NONE -cltTimeout 180
Run the following command to bind the Load Balancing virtual server to the Content Switching virtual server:bind cs vserver cs-citrix-80 -lbvserver lb-cs-citrix-80
Run the following command to bind the service to the Load Balancing virtual server:
bind lb vserver lb-cs-citrix-80 s[1-5]
Run the following command to create a Responder action:
add responder action rsact1 respondwith "\"HTTP/1.1 503 Server Busy\r\n\r\n\""
Run the following command to create a limit selector to provide a PIXL expression to be used by the limitIdentifier:
add stream selector rsel1 CLIENT.IP.SRC
Run the following command to create a limit identifier to provide a threshold value for the active connections:add ns limitIdentifier rslm1 -threshold 1000 -mode CONNECTION -selectorName rsel1
Run the following command to create a Responder policy:
add responder policy rspol1 "SYS.CHECK_LIMIT(\"rslm1\")" rsact1
Run the following command to bind the responder policy to the Load Balancing virtual server:
bind lb vserver lb-cs-citrix-80 -policyName rspol1 -priority 1 -gotoPriorityExpression END