Nortel Networks 212777 Network Router User Manual


 
Web OS 10.0 Application Guide
Chapter 17: Bandwidth Management
463
212777-A, February 2002
URL-Based Bandwidth Management Example
In this example, you will assign bandwidth based on URL paths. For URL-based server load
balancing, a user has to first define strings to monitor. Each of these strings is attached to real
servers, and any URL with the string is load balanced across the assigned servers.
NOTE The complete procedure to configure URL-based SLB is described in Chapter 7,
Content Intelligent Switching of the Web OS Application Guide.
The best way to achieve URL-based bandwidth management is to assign a contract to each
defined string. This allocates a percentage of bandwidth to the string or URL containing the
string.
To configure the switch for URL-based bandwidth management, perform the following steps:
NOTE Refer to the Web OS Command Reference, Chapter 7, for more information on how to
create a contract.
1. Define a load-balancing string for URL-based server load balancing. For example, add
the string alteon.
To see the URL path ID assigned for the string alteon, execute the cur command:
2. Allocate bandwidth for each string.
To implement this, assign a BWM contract to a defined string.
>> # /cfg/slb/layer7/lb/add alteon
>> Server Load Balance Resource# cur
Number of entries: 2
1: any, cont 1024
2: alteon, cont 3
>> Server Load Balance Resource# cont <URL path ID> <BWM Contract number>