beautypg.com

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

Page 62

background image

46

Brocade Virtual ADX Server Load Balancing Guide

53-1003247-01

Application port grouping

2

Virtual ADX(config-real-server-r1) port 8082

Virtual ADX(config-rsr1) hc-track-group 80 8081 8082

In this example, the Brocade Virtual ADX now tracks health status for ports 80, 8081, and 8082. If
any of these ports is down. the combined health would be marked as failed and the Brocade Virtual
ADX will not use these ports for load balancing traffic.

Sample configuration

server real rs1 10.1.1.1

port http

port 8081

port 8082

hc-track-group http 8081 8082

Here is the output of the show hc-track-group-state command for this feature.

Syntax: show hc-track-group-state

NOTE

The output of the above command may be truncated. For a complete output display, use the show
hc-track-group-state detail command.

Here is an example output for the show hc-track-group-state detail command.

Virtual ADX#show hc-track-group-state detail

Status of health check track groups

Real Server: rs1

Track-group: 80 8080 8081 8082

State

: DOWN

Real Server: rs2

Track-group: 80 8080 8081 8082

State

: ACTIVE

Enabling track ports in a track port group to unbind

By default, when a lead port of track group is unbound, it goes to the unbind (UNB) state if there is
no connection on this port, although some connections on other ports of the track group exist.
When you configure the server track-group-unbind-wait-all command, it keeps the port lead port in
the await-unbind (AWU) state until no connection on any port of the track group exists.

To configure the Brocade Virtual ADX to allow track ports in a track port group to unbind gracefully
after the unbinding of the track group’s lead port, enter the following command:

Virtual ADX(config)#server track-group-unbind-wait-all

Syntax: [no] server track-group-unbind-wait-all

NOTE

If a port is the primary port of a track group, the port (primary port itself) cannot be unbound
immediately if there is any outstanding sessions for any ports in that track group.

Virtual ADX#show hc-track-group-state

Real Server track-group state

rs1 80 8081 8082

ACTIVE