Network Router User Manual
Web OS 10.0 Application Guide
Chapter 15: Content Intelligent Switching
389
212777-A, February 2002
Header Hash Load Balancing
Web OS allows you to hash on any selected HTTP header. To configure the Web switch for
load balancing based on header hash, perform the following procedure:
1. Ensure that the switch has already been configured for basic SLB:
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.
For information on how to configure your network for SLB, see Chapter 6, “Server Load Bal-
ancing.”
2. Enable header hashing.
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 headerhash
Select Operation: none
Enter new HTTP header name: User-agent
Enter new hash length [1-255]: 25
>> # /cfg/slb/group 1/metric <hash|minmiss>