Riverstone Networks WICT1-12 Network Router User Manual


 
Riverstone Networks RS Switch Router User Guide Release 8.0 22-13
Web Hosting Configuration Load Balancing
The network shown above can be created with the following load-balance commands:
If no application verification options are specified, the RS will do a simple TCP handshake to check that the application
is “up.” Some applications require specific commands for proper closure of the connection. The following command
shows an example of how to send a specific string to close a connection on a server:
Virtual IP Address Ranges
ISPs who provide web hosting services for their clients require a large number of virtual IP addresses (VIPs). The
l
oad-balance create vip-range-name
and
load-balance add host-to-vip-range
commands were
created specifically for this. An ISP can create a range of VIPs for up to an entire class C network with the
load-balance create vip-range-name
command. Once the vip-range is in place, the ISP can then create the
corresponding secondary addresses on their destination servers. Once these addresses have been created, the ISP can
add these servers to the vip-range with the l
oad-balance add host-to-vip-range
command. These two
commands combined help ISPs take advantage of web servers like Apache that serve different web pages based on the
destination address in the HTTP request.
load-balance create group-name quick-www virtual-ip 207.135.89.16 virtual-port 80
protocol tcp
load-balance create group-name quick-ftp virtual-ip 207.135.89.16 virtual-port 21
protocol tcp
load-balance create group-name quick-smtp virtual-ip 207.135.89.16 virtual-port 25
protocol tcp
load-balance add host-to-group 10.1.1.1 group-name quick-www port 80
load-balance add host-to-group 10.1.1.2 group-name quick-ftp port 21
load-balance add host-to-group 10.1.1.3 group-name quick-smtp port 25
load-balance set group-options quick-smtp acv-quit quit