22-12 Riverstone Networks RS Switch Router User Guide Release 8.0
Load Balancing Web Hosting Configuration
The following is an example of how to configure a simple verification check where the RS 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 RS 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.
Figure 22-3 Load balancing with multiple virtual groups
load-balance set group-options abccompany-www acv-command GET /test.html acv-reply
OK read-till-index 25
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
 *

4 J* 
'

J* ')J*
&>*.
J*
0
 )J*

')J*
 )J*