beautypg.com

Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 54

background image

38

Brocade Virtual ADX Server Load Balancing Guide

53-1003247-01

Sticky and concurrent connections

2

Allowing sticky ports
You can configure the Brocade Virtual ADX to continue using a sticky port (a persistent connection)
even if you have entered a command to unbind the port or the port is disabled.

When you unbind an application port from a server, the Brocade Virtual ADX temporarily places the
port in the aw_unbnd (awaiting unbind) state. If you delete an application port, the Brocade Virtual
ADX temporarily places the port in the aw_del (awaiting delete) state. These temporary states allow
open sessions on the port to be completed before the port is unbound or removed.

By default, when the Brocade Virtual ADX receives a new request associated with a sticky port in
the aw_unbnd state, the Brocade Virtual ADX establishes the session on another real server, not
the real server from which you are unbinding the port.

You can configure the Brocade Virtual ADX to accept new sessions for the same real server for a
sticky port, even under the following conditions:

The real server port is in the aw_unbnd state.

The real server port is in the aw_del state.

The real server port is disabled.

To do so, enter the following command.

Virtual ADX(config)#server allow-sticky

Syntax: [no] server allow-sticky [refresh-age]

The refresh-age option resets the age of a sticky session on the port whenever a new connection
associated with the sticky port is established. This parameter ensures that the session stays up
indefinitely until it is no longer needed.

By default, the Brocade Virtual ADX does not reset the age of the session when new connections
are established. Instead, the session times out after the sticky age expires.

If you use refresh-age, the Brocade Virtual ADX resets the age of the session to the value of the
sticky age. For example, if the sticky age is five minutes (the default), when the Brocade Virtual ADX
establishes a new session on the sticky port, the Brocade Virtual ADX resets the age time for the
session to five minutes. Each time the Brocade Virtual ADX receives another connection request
associated with the sticky session, the Brocade Virtual ADX resets the session age again.

Increasing the sticky-age per VIP longer than 60 minutes

Several applications require sticky age to be longer than the 60 minute global maximum that is
configured using the server sticky-age command as described in

“Setting the sticky age”

on

page 37. This might occur where a client connects in the morning and requires connectivity
throughput the day.

There are also situations where you may want to configure a different value per virtual server. The
following command allows you to apply a multiplier value to the global sticky-age value for a
specific virtual server.

Virtual ADX(config)#server virtual-name-or-ip vs1 10.10.10.10

Virtual ADX(config-vs-vs1)#sticky-age-multiplier 5

Syntax: sticky-age-multiplier multiplier-value