Cabletron Systems SMARTSWITCH ROUTER 9032578-05 User Manual
Page 266

Chapter 17: Web Hosting Configuration Guide
240
SmartSwitch Router User Reference Manual
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.ctron.com. The system administrator configures the networks so that the SSR
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
SSR 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 SSR will search from
the beginning of the file up to the 25th character for the start of the string “OK.”
Router
Internet
10.1.1.1
10.1.1.2
10.1.1.3
10.1.1.4
www.ctron.com
Web requests
to www.ctron.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.ctron.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 ctron-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 ctron-www port 80
load-balance set group-options ctron-www acv-command “GET /test.html” acv-reply
“OK” read-till-index 25