68 ServerIron ADX Global Server Load Balancing Guide
53-1002437-01
Site persistence in GSLB using stickiness
1
Displaying current sticky GSLB sessions
To display current Sticky GSLB sessions, rconsole into a barrel processor (BP) and enter the
following command.
2/3 #show session all 0
Session Info:
Flags - 0:UDP, 1:TCP, 2:IP, 3:INT, 4:INVD, H: sessInHash, N: sessInNextEntry
Index Src-IP Dst-IP S-port D-port Age Next Serv Flags
===== ====== ====== ====== ====== === ==== ==== =========
0 0.0.0.5 100.1.1.10 5 80 0 000000 n/a SLB1 H
1 0.0.0.5 100.1.1.30 5 80 0 000000 n/a SLB1 H
2 100.1.1.0 255.0.255.0 7 8 57 000000 n/a SLB3 H
3 100.1.1.6 0.0.0.1 1 1 60 000000 n/a SLB1 H
4 100.1.1.7 0.0.0.1 1 1 60 000000 n/a SLB1 H
5 0.0.0.5 100.1.1.10 5 21 0 000000 n/a SLB1 H
6 0.0.0.5 100.1.1.30 5 21 0 000000 n/a SLB1 H
7 0.0.0.5 100.1.1.11 5 53 0 000000 n/a SLB1 H
8 0.0.0.5 100.1.1.40 5 53 0 000000 n/a SLB1 H
In the example, the default sticky "Age" is five minutes (62-57 = 5). All Sticky GSLB sessions are
identified by the following three static numbers that do not change: 255.0.255.0 (Dst-IP), 7
(S-port), and 8 (D-port). Obviously, the client IP (Src-IP) will always change.
Syntax: show session all [<offset>]
The <offset> is the start session number to print.
To show detailed information about the Sticky GSLB session, enter the detail 2 option.
2/3 #show session detail 2
Session at index: 2
sticky GSLB session for client 100.1.1.0
query name www.gslb.com: selected IP 100.1.1.10 by 100.1.1.11
Syntax: show session detail [index]
Index: the index of sticky GSLB session
The client from 100.1.1.0 queries the hostname www.gslb.com, and the ServerIron ADX returns the
address 100.1.1.10. The VIP that returned the answer is at 100.1.1.11.