beautypg.com

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

Page 77

background image

Brocade Virtual ADX Server Load Balancing Guide

61

53-1003247-01

Configuring Direct Server Return

2

To implement the configuration shown in

Figure 13

, configure Brocade Virtual ADX devices A and B.

Because multiple VIPs are mapped to the same ports on the same real servers, TCP/UDP port
binding is used. Thus, port 180 on VIP2 on Brocade Virtual ADX A and on VIP1 on Brocade Virtual
ADX B is a logical port that is bound to port 80 on the real servers. For more information, refer to

“Multiple port binding”

on page 69.

Note the dsr parameter on the port commands that add the HTTP port (TCP port 80) to the VIPs. To
enable L2 DSR for additional TCP/UDP ports, use the dsr parameter for each port when you add
the port to a VIP.

NOTE

Be sure you configure all the real servers on both Brocade Virtual ADX devices, and bind the VIPs on
each Brocade Virtual ADX to all the real servers.

Configuring Brocade Virtual ADX A
Notice that all four real servers must be configured, and bound to the VIPs, on both Brocade Virtual
ADX devices. Notice also that two HTTP ports are added to each real server. This type of
configuration requires that you use the TCP/UDP port binding feature to bind the ports on the two
real servers to the same port on the virtual server. For information, refer to

“Multiple port binding”

on page 69.

To configure the real servers, enter the following commands.

Virtual ADXA(config)#server real-name Real_Server_1 10.0.0.1

Virtual ADXA(config-rs-Real_Server_1)#port http

Virtual ADXA(config-rs-Real_Server_1)#port 180

Virtual ADXA(config-rs-Real_Server_1)#exit

Virtual ADXA(config)#server real-name Real_Server_2 10.0.0.2

Virtual ADXA(config-rs-Real_Server_2)#port http

Virtual ADXA(config-rs-Real_Server_2)#port 180

TABLE 7

DSR configuration example

Brocade
Virtual ADX

Domain name

Virtual IP (VIP)
address

VIP’s TCP
port

Real IP address

Real Server TCP
port

A

www.abc.com

VIP1:
10.157.22.100

80

Real Server 1:
10.0.0.1

Real Server 2:
10.0.0.2

80

80

A

www.def.com

VIP2:
10.157.22.101

80

Real Server 1:
10.0.1.1

Real Server 2:
10.0.1.2

180

180

B

www.abc.com

VIP1:
10.157.22.100

80

Real Server 3:
10.0.0.1

Real Server 4:
10.0.0.2

180

180

B

www.def.com

VIP2:
10.157.22.101

80

Real Server 3:
10.0.1.1

Real Server 4:
10.0.1.2

80

80