![Nortel Web OS 10.0 Скачать руководство пользователя страница 384](http://html1.mh-extra.com/html/nortel/web-os-10-0/web-os-10-0_application-manual_1707274384.webp)
Web OS 10.0 Application Guide
384
n
Chapter 15: Content Intelligent Switching
212777-A, February 2002
Configuring Cookie-Based Preferential Load Balancing
To configure cookie-based preferential load balancing, perform the following procedure.
1.
Before you can configure header-based load balancing, ensure that the switch has already
been configured 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.
For information on how to configure your network for SLB, see
2.
Turn on URL parsing for the virtual server.
where
sid
= cookie name
1
= offset (the starting position of the value to be used for hashing)
6
= length (the number of bytes in the cookie value)
d
= looks for the cookie in the cookie header instead of the URI (disables searching for cookie
in the URI)
3.
Define the cookie values.
Since a session cookie does not exist in the first request of an HTTP session, a default server or
“
any
” server is needed to assign cookies to a “None” cookie HTTP request.
>> # /cfg/slb/virt 1
>> Virtual Server 1 # service 80
>> Virtual Server 1 http Service # httpslb cookie
Enter Cookie Name: sid
Enter the starting point of the Cookie value [1-64]: 1
Enter the number of bytes to extract [1-64]: 6
Look for Cookie in URI [e|d]: d
>> # /cfg/slb/layer7/slb/add "Gold"
>> # add "Silver"
>> # add "Bronze"
Содержание Web OS 10.0
Страница 26: ...Web OS 10 0 Application Guide 26 n Basic Switching Routing 212777 A February 2002...
Страница 116: ...Web OS 10 0 Application Guide 116 n Web Switching Fundamentals 212777 A February 2002...
Страница 168: ...Web OS 10 0 Application Guide 168 n Chapter 6 Server Load Balancing 212777 A February 2002...
Страница 216: ...Web OS 10 0 Application Guide 216 n Chapter 8 Application Redirection 212777 A February 2002...
Страница 288: ...Web OS 10 0 Application Guide 288 n Advanced Web Switching 212777 A February 2002...
Страница 420: ...Web OS 10 0 Application Guide 420 n Chapter 15 Content Intelligent Switching 212777 A February 2002...
Страница 440: ...Web OS 10 0 Application Guide 440 n Chapter 16 Persistence 212777 A February 2002...
Страница 470: ...Web OS 10 0 Application Guide 470 n Chapter 17 Bandwidth Management 212777 A February 2002...
Страница 474: ...Web OS 10 0 Application Guide 474 n Glossary 212777 A February 2002...