Configuring a backup persistence method

The NetScaler Load Balancer uses the backup persistence option when the primary persistence fails. For example, the primary persistence type is set to Cookie Insert, and backup persistence is set to Source IP. When the client browsers do not support cookies, Source IP persistence is used. To set the backup persistence option to Source IP, you must set the primary persistence to Cookie Insert.

If the traffic comes from behind a Network Address Translation (NAT) device or proxy, the traffic appears to come from a single source IP address and cannot be distributed evenly.

Backup persistence has a time-out value that you can set when the primary persistence type is set to COOKIEINSERT or RTSP session ID persistence, and the backup persistence type is set to SOURCEIP.

The NetScaler uses the backup persistence if the cookie or RTSP session ID is missing in the header.

To set backup persistence for a virtual server by using the NetScaler command line

At the NetScaler command prompt, type:
set lb vserver <vserverName> -persistenceType <PersistenceType> -persistenceBackup <BackupPersistenceType>
Example
set lb vserver Vserver-LB-1 -persistenceType CookieInsert -persistenceBackup SourceIP

To set backup persistence for a virtual server by using the configuration utility

1. In the navigation pane, expand Load Balancing, and then click Virtual Servers.
2. In the details pane, select the virtual server for which you want to configure backup persistence (for example, Vserver-LB-1), and then click Open.
3. The Configure Virtual Server (Load Balancing) dialog box, click the Method and Persistence tab.
4. In the Persistence list, select COOKIEINSERT and in the Time-out text box, type the time-out value (for example, 20).
5. In the Backup Persistence list, select the backup persistence that you want to configure (for example, SOURCEIP).
6. In the Backup Time-out and Netmask text boxes type the backup time-out value and netmask (for example, 20 and 255.255.255.255).
7. Click OK.




Download the Citrix Load Balancer here




The Citrix Community is powerful!