beautypg.com

Tracking primary ports, Track port group function – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 60

background image

44

Brocade Virtual ADX Server Load Balancing Guide

53-1003247-01

Application port grouping

2

Tracking primary ports

You can configure the Brocade Virtual ADX to send all client requests for a specific set of TCP or
UDP ports to the same real server as a “primary” TCP or UDP port grouped with the other ports.

The primary TCP or UDP port can be grouped with up to four additional TCP or UDP ports. Once the
Brocade Virtual ADX sends a client request for the primary port to a real server, all subsequent
requests from the client for ports grouped with the primary port go to the same real server. For a
configuration example and more information, refer to

“TCP/UDP application groups configuration

example”

on page 47.

Note that if any primary port is down for a real server, any track ports on that real server are not
considered for load balancing.

NOTE

You must configure all the grouped ports to be “sticky” and bind them to all real servers involved.

NOTE

If a client requests one of the ports that follows the primary port before requesting the primary port
itself, the Brocade Virtual ADX does not make the connection sticky. Only after the client requests
the primary port does the Brocade Virtual ADX make subsequent requests from the client for that
port or ports that track the primary port sticky.

NOTE

For servers that use passive FTP in a DSR configuration, configure the FTP ports to be both sticky
and concurrent.

To configure a TCP or UDP application group, enter the following commands.

Virtual ADX(config)#server virtual-name-or-ip v1 10.157.22.1

Virtual ADX(config-vs-v1)#port 80 sticky

Virtual ADX(config-vs-v1)#port 23 sticky

Virtual ADX(config-vs-v1)#port 69 sticky

Virtual ADX(config-vs-v1)#track 80 23 69

Virtual ADX(config-vs-v1)#bind 80 r1 80 r2 80

Virtual ADX(config-vs-v1)#bind 23 r1 23 r2 23

Virtual ADX(config-vs-v1)#bind 69 r1 69 r2 69

These commands configure HTTP (port 80), Telnet (port 23), and TFTP (port 69) to

be sticky.

Syntax: [no] track primary-port TCP/UDP-port [TCP/UDP-port [TCP/UDP-port [TCP/UDP-port]]]

Track port group function

In a track port group, the Brocade Virtual ADX sends client requests for applications within a group
of ports to the same real server, regardless of which application the client requests first.

Up to eight ports can be grouped together using the track port group function. However, a port can
be part of only one track port group. For a configuration example and more information, refer to

“TCP/UDP application groups configuration example”

on page 47.

Note that if any service port is down for a real server, the track port groups on that real server are
not considered for load balancing.