beautypg.com

Displaying information about fast aging – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 254

background image

238

Brocade Virtual ADX Server Load Balancing Guide

53-1003247-01

Sample show commands

4

When the number of available sessions drops below the value specified for the random-threshold
variable, sessions are aged out randomly, without regard to session age, until the number of free
sessions exceeds the threshold. The value specified for the random-threshold variable is expressed
as a percentage of the maximum number of sessions available on the Brocade Virtual ADX. The
value specified for the random-threshold variable can be from 1 through 30 percent. The default is
0 percent (disabled).

NOTE

Even though the max-idle-time value is not used with the random-age threshold, you must still
specify a value for the max-idle-time variable when configuring the random threshold to enable the
fast session aging feature.

Displaying information about fast aging

Two fields in the output of the show server sessions command display information about the
sessions subject to fast aging.

The following is an example of the output from the show server sessions command. The fields
related to fast session aging are highlighted in bold.

Syntax: show server sessions

If the fast-age threshold is configured, the command displays both the total number of sessions
that were aged out because of the free sessions dropping below the fast-age threshold, and the
number of sessions that were aged out in the last 60 seconds.

If the random threshold is configured, the command also displays the total number of sessions that
were aged out at random because the number of free sessions dropped below the random
threshold, along with the number of sessions that were aged out randomly in the last 60 seconds.

Clearing statistics counters for fast session aging

To clear the statistics counters for fast session aging, enter the following command.

Virtual ADX(config)#clear server fast-age-counters

Syntax: clear server fast-age-counters

This command resets the "Fast-aged : total" counter and corresponding "last 60 sec" counter as
displayed by the show server sessions command.

Virtual ADX#show server sessions

Avail. Sessions = 524282 Total Sessions = 524288

Total C->S Conn = 0 Total S->C Conn = 0

Total Reassign = 0 Unsuccessful Conn = 0

Fast-aged : total = 0 last 60 sec = 0

Random-aged : total = 0 last 60 sec = 0

Server State - 1:enabled, 2:failed, 3:test, 4:suspect, 5:grace_dn, 6:active

Real Server State CurrConn TotConn TotRevConn CurrSess PeakConn

rs1 1 0 0 0 0 0

rs2 1 0 0 0 0 0