Performing slb based on alias port state – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual
Page 92
76
Brocade Virtual ADX Server Load Balancing Guide
53-1003247-01
Multiple port binding
2
To display statistics for the separate real IP addresses, enter the following command at any
command prompt.
The lines highlighted in bold indicate the separate HTTP port numbers. The two HTTP lines for real
server 1 (r1) indicate that an alias is in use. The first line lists the alias port number, and the
second line lists the actual port number used by the real server. Even though the same port
number is used on the real server, the Brocade Virtual ADX display distinguishes the traffic for the
two virtual IP addresses.
NOTE
The state of the alias HTTP port is always the same as the state of the actual HTTP port used in the
packets the Brocade Virtual ADX sends to the real server. The state is shown in the Ms (Master port
state) column in the show server real display. Refer to
“Displaying real server information and
Performing SLB based on alias port state
To perform SLB based on an alias port state, enter commands such as the following.
Virtual ADX(config)#server virtual-name-or-ip v1 10.10.1.151
Virtual ADX(config-vs-v1)#port 8080
Virtual ADX(config-vs-v1)#no port 8080 translate
Virtual ADX(config-vs-v1)#port 8080 use-alias-port-state
Syntax: [no] port number use-alias-port-state
Virtual ADX(config)#show server real
Real Servers Info
========================
State(St) - ACT:active, ENB:enabled, FAL:failed, TST:test, DIS:disabled,
UNK:unknown, UNB:unbind, AWU:await-unbind, AWD:await-delete
HLD:held-down
Name: r1
State: Active Cost: 0 IP:10.95.7.1:1
Mac: 0000.855d.e2cd Weight: 1/1 MaxConn: n/a
Src-nat (cfg:op) = 0: 0 Dest-nat-(cfg:op) = 0: 0
Port St
Ms CurConn TotConns Rx-pkts Tx-pkts Rx-octet Tx-octet Reas
180 ENB
2 0 0 0 0 0 0 0
http ENB
0 0 0 0 0 0 0 0
Keepalive: Disabled, status code(s) default (200-299, 401)
HTTP URL: "HEAD /"
defaulunbnd 0 0 0 0 0 0 0 0
Server Total 0 0 0 0 0 0 0
Name: r2 IP: 10.0.2.200 : 1 State: 3 Wt: 1 Max-conn: n/a
Src-nat (cfg:op) = 0: 0 Dest-nat-(cfg:op) = 0: 0
Port St
Ms CurConn TotConns Rx-pkts Tx-pkts Rx-octet Tx-octet Reas
http ENB
2 0 0 0 0 0 0 0
Keepalive: Disabled, status code(s) default (200-299, 401)
HTTP URL: "HEAD /"
defaul UNB 0 0 0 0 0 0 0 0
Server Total 0 0 0 0 0 0 0