User Manual

Load Balancing
348 Enterasys X-Pedition User Reference Manual
Configuration Examples
This section shows examples of load balancing configurations.
Web Hosting with One Virtual Group and Multiple Destination Servers
In the following example, a company web site is established with a URL of www.enterasys.com.
The system administrator configures the networks so that the X-Pedition forwards web requests
among four separate servers, as shown below.
The network shown above can be created with the following load-balance commands:
The following is an example of how to configure a simple verification check where the X-Pedition
will issue an HTTP command to retrieve an HTML page and check for the string “OK”:
Router
Internet
10.1.1.1
10.1.1.2
10.1.1.3
10.1.1.4
www.enterasys.com
Web requests
to www.enterasys.com
Virtual IP Address:
207.135.89.16
Web requests
forwarded to
one of the servers
Domain Name Virtual IP TCP Port
Real Server
IP
TCP Port
www.enterasys.com 207.135.89.16 80 10.1.1.1 80
10.1.1.2 80
10.1.1.3 80
10.1.1.4 80
load-balance create group-name enterasys-www virtual-ip 207.135.89.16 virtual-port 80 protocol tcp
load-balance add host-to-group 10.1.1.1-10.1.1.4 group-name enterasys-www port 80
load-balance set group-options enterasys-www acv-command “GET /test.html” acv-reply “OK” read-till-index 25