Configure persistence types that do not require a rule
To configure persistence on a virtual server by using the CLI
set lb vserver <name> -PersistenceType <type> [-timeout <integer>]
show lb vserver
set lb vserver Vserver-LB-1 -persistenceType SOURCEIP -timeout 60
show lb vserver
| persistence type | Default value | Minimum value | Maximum value |
|---|---|---|---|
| Cookie insert/group cookie insert | 2 | 0 | 1440 |
| Other persistence types | 2 | 2 | 1440 |
-
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
-
Navigate to Traffic Management > Load Balancing > Virtual Servers, and open the virtual server.
-
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.