beautypg.com

Defining a virtual server (vip) – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 36

background image

20

Brocade Virtual ADX Server Load Balancing Guide

53-1003247-01

Configuring basic SLB

2

Virtual ADX(config-rs-Web2)#exit

Virtual ADX(config)#server real Web3 10.95.55.23

Virtual ADX(config-rs-Web3)#port http

Virtual ADX(config-rs-Web3)#port dns

Virtual ADX(config-rs-Web3)#exit

Virtual ADX(config)#server real Web4 10.95.55.24

Virtual ADX(config-rs-Web4)#port http

Virtual ADX(config-rs-Web4)#port dns

Virtual ADX(config-rs-Web4)#exit

Syntax: [no] server real [name] ip-address

Syntax: [no] port tcp/udp-port

The server name can be any alphanumeric string of up to 42 characters.

After you have defined the real server, you can refer to it using its name or IP address, and modify
its configuration.

Virtual ADX(config)#server real Web1

Virtual ADX(config-rs-Web1)#port ftp

Virtual ADX(config-rs-Web1)#exit

Virtual ADX(config)#server real 10.95.55.21

Virtual ADX(config-rs-Web1)#port ftp

Virtual ADX(config-rs-Web1)#exit

Virtual ADX(config)#no server real Web1

NOTE

If a real server is not reachable from the Brocade Virtual ADX at Layer 2 (does not respond to ARP
requests from the Brocade Virtual ADX), then define it as a remote server.

NOTE

Optionally, if you have a one-armed topology, you may need to enable source NAT along with
source-ip to ensure that return traffic flows through the Brocade Virtual ADX.

Defining a virtual server (VIP)

After you define the actual Web server’s physical addresses (real server), you then need to
configure the external Web server address on the switch. The external Web server is the virtual
server.

It is the IP address or server name to which client browsers send requests. Add the TCP or UDP
application ports the Brocade Virtual ADX will load balance. These should be the same application
ports you specified for the real servers.

To define the virtual name and address that is the access point for the company's Web site and the
supported service, enter commands such as the following.

Virtual ADX(config-rs-Web4)#server virtual-name-or-ip www.altergo.com 10.95.55.1

Virtual ADX(config-vs-www.altergo.com)#port http

Syntax: [no] server virtual-name-or-ip [name] ip-address

Syntax: [no] port tcp/udp-port