ADC

Configure persistence types that do not require a rule

To configure persistence, you must first set up a load balancing virtual server, as described in Setting Up Basic Load Balancing. You then configure persistence on the virtual server.

To configure persistence on a virtual server by using the CLI

At the command prompt, type the following commands to configure persistence and verify the configuration:

set lb vserver <name> -PersistenceType <type> [-timeout <integer>]

show lb vserver  
<!--NeedCopy-->

Example:

set lb vserver Vserver-LB-1 -persistenceType SOURCEIP -timeout 60

show lb vserver
<!--NeedCopy-->

Timeout is the time period for which a persistence session is in effect. The timeout default and minimum values (in minutes) vary based on the persistence type as listed in the following table.

persistence type Default value Minimum value Maximum value
Cookie insert/group cookie insert 2 0 1440
Other persistence types 2 2 1440

Note

  • Group cookie insert persistence type can be set on the load balancing group.
  • For IP-based persistence, you can also set the persistMask parameter.
  • The persistence type by default is set to NONE.

To configure persistence on a virtual server by using the GUI

  1. Navigate to Traffic Management > Load Balancing > Virtual Servers, and open the virtual server.
  2. In the Persistence section, choose the persistence type that meets your requirement. The most suitable persistence type for the virtual server is available as option buttons. Other persistence types that are applicable to the specific virtual server type can be selected from the Others list.

Note Prior to Citrix ADC release 12.0 build 56.20, all persistence types are available in a single Persistence drop-down list without any option buttons.

Configure persistence types that do not require a rule