Site persistence in GSLB using stickiness

1

Syntax: [no] sticky

NOTE

No special CLI commands need to be issued on the site ServerIron ADX.

Allowing sticky sessions for a specific prefix length

You can allow sticky sessions for a specific prefix length (not all hosts). For added granularity of the sessions, specify the prefix length for the client IPs. The default is 32 bits.

To allow sticky sessions for a specific prefix length, enter commands such as the following:

SLB-Ctrl-ServerIronADX(config)#gslb-host-policy test SLB-Ctrl-ServerIronADX(config-gslb-host-policy-test)#sticky 24

Syntax: [no] sticky { <prefix-length> ipv6-prefix-length <prefix-length>}

The variable<prefix-length>specifies the IPv4 prefix length. The default is 32 bits.

The ipv6-prefix-lengthparameter specifies that an IPv6 prefix length. The default is 128 bits.

NOTE

ServerIron ADX does not support the synchronization of sticky sessions across BPs. With sticky prefix-length configured, DNS requests from clients on the same subnet go to different BPs and different sticky sessions will be created on different BPs. However, each individual client will receive the same specific domain-IP that it received in its previous DNS request.

Configuring the sticky GSLB session life time

The Sticky GSLB session life time (age) prevents sessions from hanging for extended periods of time. Sometimes clients do not accept DNS servers, thus creating stale sessions. Use the sticky age command to make session resources available to other clients. By default, idle sessions are timed out after five minutes.

To configure the Sticky GSLB session life time (age), enter commands such as the following:

SLB-Ctrl-ServerIronADX(config)#gslb-host-policy test SLB-Ctrl-ServerIronADX(config-gslb-host-policy-test)#stick age 5

Syntax: [no] sticky age <value>

The <value> is the number of minutes before sticky session is cleared.

ServerIron ADX Global Server Load Balancing Guide

67

53-1002437-01

 

Page 79
Image 79
Brocade Communications Systems 12.4.00 manual Allowing sticky sessions for a specific prefix length, Syntax no sticky