beautypg.com

Configuring real and virtual servers – Brocade Virtual ADX Server Load Balancing Guide (Supporting ADX v03.1.00) User Manual

Page 285

background image

Brocade Virtual ADX Server Load Balancing Guide

269

53-1003247-01

Sample configurations

5

NOTE

For more information about offsets, refer to

“Explanation of offsets”

on page 265.

9. Specify default action for client requests that do not match any other rules. Send such

requests to the Web server with ID 1026.

Virtual ADX(config-csw-mypolicy)#default forward 1026

Syntax: default forward server-id

Configuring real and virtual servers
To configure the real and virtual servers, follow these steps.

1. Define a real server (1) with an IP address.

Virtual ADX(config)#server real web1 10.1.1.1

Syntax: server real real-server ip-address

2. Define a real HTTP port on the real server.

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

Syntax: port http

3. Define a real server (2) with an IP address.

Virtual ADX(config-rs-web1)#server real web2 10.1.1.2

Syntax: server real real-server ip-address

4. Define a real HTTP port on the real server and exit.

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

Virtual ADX(config-rs-web2)#exit

Syntax: port http

Syntax: exit

5. Define a virtual server with an IP address.

Virtual ADX(config)#server virtual-name-or-ip csw-vip 10.1.1.100

Syntax: server virtual-name-or-ip vip-name ip-address

6. Define a virtual HTTP port on the virtual server.

Virtual ADX(config-vs-csw-vip)#port http

Syntax: port http

7. Bind HTTP ports on real servers web1 and web2 to the virtual port HTTP.

Virtual ADX(config-vs-csw-vip)#bind http web1 http web2 http

Syntax: bind http real-server http vip-name