Netscaler Load Balancer

Version 3

    The aim of this wiki is to provide guidance configuring Netscaler load balancers to work adequately with JBoss AS/EAP.

    Configuring Sticky Sessions

    Netscaler load balancer supports sticky sessions using cookie persistence. This is the recommended configuration:

    add lb vserver "<name>" HTTP <ip-address-of-jboss-instance> <port> 
      -persistenceType COOKIEINSERT -timeout 0 -redirectURL "<error-url>" 
      -cltTimeout 180 -downStateFlush DISABLED 
    

     

    For example:

    add lb vserver "my-jboss" HTTP 192.168.2.3 8080 
      -persistenceType COOKIEINSERT -timeout 0 -redirectURL "http://error.mydomain.com" 
      -cltTimeout 180 -downStateFlush DISABLED