Displaying current sticky gslb sessions – Brocade Virtual ADX Global Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 72

Advertising
background image

62

Brocade Virtual ADX Global Server Load Balancing Guide

53-1003245-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.

In the example, the default sticky "Age" is 5 minutes (62 - 57 = 5). All Sticky GSLB sessions are
identified by the following three static numbers that do not change: 10.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.

Syntax: show session detail [index]

The index variable is the index of sticky GSLB session.

The client from 10.1.1.0 queries the hostname www.example1.com, and the ADX device returns
the address 10.1.1.10. The VIP that returned the answer is at 10.1.1.11.

Brocade#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

10.0.0.5

10.1.1.10

5

80

0

000000 n/a SLB1 H

1

10.0.0.5

10.1.1.30

5

80

0

000000 n/a SLB1 H

2

10.1.1.0

255.0.255.0

7

8

57 000000 n/a GSLB_3H

3

10.1.1.6

10.0.0.1

1

1

60 000000 n/a SLB1 H

4

10.1.1.7

10.0.0.1

1

1

60

000000 n/a SLB1 H

5

10.0.0.5

10.1.1.10

5

21

0 000000 n/a SLB1 H

6

10.0.0.5

10.1.1.30

5

21

0 000000 n/a SLB1 H

7

10.0.0.5

10.1.1.11

5

53

0 000000 n/a SLB1 H

8

10.0.0.5

10.1.1.40

5

53

0 000000 n/a SLB1 H

Virtual ADX#show session detail 2

Session at index: 2

sticky GSLB session for client 10.1.1.0

query name www.gslb.com: selected IP 10.1.1.10 by 10.1.1.11

Advertising