Nortel Networks 212777 Network Router User Manual


 
Web OS 10.0 Application Guide
388
Chapter 15: Content Intelligent Switching
212777-A, February 2002
To configure URL hashing, perform the following procedure:
1. Before you can configure URL hashing, ensure that the switch has already been config-
ured for basic SLB with the following tasks:
n Assign an IP address to each of the real servers in the server pool.
n Define an IP interface on the switch.
n Define each real server.
n Assign servers to real server groups.
n Define virtual servers and services.
n Configure load-balancing algorithm for hash or minmiss.
n Enable SLB.
For information on how to configure your network for SLB, see Chapter 6, Server Load
Balancing.
n Define server port and client port.
2. Enable URL hashing.
Hashing is based on the URL, including the HTTP Host: header (if present), up to a maximum
of 255 bytes.
3. Set the metric for the real server group to minmisses or hash.
>> # /cfg/slb/virt 1
>> Virtual Server 1 # service 80
>> Virtual Server 1 http Service # httpslb urlhash
Enter new hash length [1-255]: 25
>> # /cfg/slb/group 1/metric <hash|minmiss>