
Enterasys Xpedition User Reference Manual 261
Load Balancing
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 XP
will issue an HTTP command to retrieve an HTML page and check for the string “OK”:
The read-till-index option is not necessary if the file test.html contains “OK” as the first
two characters. The read-till-index option is helpful if the exact index of the acv-reply
string in the file is not known to the user. In the above example, the XP will search from
the beginning of the file up to the 25th character for the start of the string “OK.”
Web Hosting with Multiple Virtual Groups and Multiple Destination Servers
In the following example, three different servers are used to provide different services for
a site.
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
10.1.1.1
Router
Internet
Web requests
forwarded to
the server
www.quick.com
ftp.quick.com
User Queries:
www.quick.com
10.1.1.3
smtp.quick.com
10.1.1.2
ftp.quick.com
smtp.quick.com
Domain Name Virtual IP TCP Port
Real Server
IP
TCP Port
www.quick.com 207.135.89.16 80 10.1.1.1 80
ftp.quick.com 207.135.89.16 21 10.1.1.2 21
smtp.quick.com 207.135.89.16 25 10.1.1.3 25
Commentaires sur ces manuels