beautypg.com

Enabling group sticky failover – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 58

background image

42

Brocade Virtual ADX Server Load Balancing Guide

53-1003247-01

Sticky and concurrent connections

2

3. Identify what server the sticky session is pointed to. In the example below, the sticky session

was originated from the client 10.30.1.1 to the VIP 10.40.1.10 using real server rs1. All the
traffic to/from the client is being load balanced across the group (group-id 1 1) to which the
real server rs1 belongs. Enter the show session all 0 command (at the BP console) such as the
following.

.

NOTE

In most cases, an "S-port" of value "0" indicates a sticky session. Regardless of the source port
(S-port) of the connection, the sticky session will stick to Src-IP 10.30.1.1, Dst-IP 10.40.1.10, and
D-port 80 in the example.

To clear a sticky session, use the clear server session command.

Enabling group sticky failover

Normal Group Sticky behavior sends connections to a group of servers. When an entire server
group is unreachable, Group Sticky Failover sends connections to a different reachable group. The
sticky session is removed from the unreachable group; a connection request is forwarded to a new
group, and a new sticky session is then formed with that group.

To enable group sticky failover, enter commands such as the following.

Virtual ADX(config)#server virtual-name-or-ip vip1 10.40.1.10

Virtual ADX(config-vs-vip1)#predictor round-robin

Virtual ADX(config-vs-vip1)#port http sticky

Virtual ADX(config-vs-vip1)#port http group-sticky

Virtual ADX(config-vs-vip1)#port http group-sticky-failover

Virtual ADX(config-vs-vip1)#bind http rs1 http rs2 http rs3 http rs4 http

Virtual ADX(config-vs-vip1)#bind http rs5 http

Use the required port http group-sticky-failover command in addition to port http sticky and port
http group-sticky commands. The group-sticky-failover option alone will not work.

Syntax: port type group-sticky-failover

NOTE

You can also apply the server sticky-age command to a sticky group.

Virtual ADX#rconsole 1 1

Virtual ADX 1/1#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.30.1.1 10.40.1.10 0 80 59 000000 rs1 SLB3 H