Web OS 10.0 Application Guide
Chapter 16: Persistence
n
431
212777-A, February 2002
4.
Select the appropriate load-balancing metric for the real server group.
n
If embedding an IP address in the cookie, select
roundrobin
or
leastconns
as the
metric.
n
If you are not embedding the IP address in the cookie, select
hash
as the metric in con-
junction with a cookie assignment server.
While you may experience traffic concentration using the
hash
metric with a cookie
assignment server, using a
hash
metric without a cookie assignment server will cause
traffic concentration on your real servers.
5.
Enable cookie-based persistence on the virtual server service.
In this example, cookie-based persistence is enabled for service 80 (HTTP).
Once you specify
cookie
as the mode of persistence, you will be prompted for the following
parameters:
n
Cookie-based persistence mode:
insert
,
passive
or
rewrite
n
Cookie name
n
Starting point of the cookie value
n
Number of bytes to be extracted
n
Look for cookie in the URI [e | d]
If you want to look for cookie name/value pair in the URI, enter
e
to enable this option. To
look for the cookie in the HTTP header, enter
d
to disable this option.
>> # /cfg/slb/group 2/metric hash
(Select hash as server group metric)
>> # /cfg/slb/virt 1/service 80/pbind
Current persistent binding mode: disabled
Enter cookie|sslid|disable persistence mode: cookie
Enter insert|passive|rewrite cookie persistence mode [i/p/r]: p
Enter cookie name: CookieSession1
Enter starting point of cookie value [1-64]: 1
Enter number of bytes to extract [0-64]: 8
Look for cookie in URI [e|d]: d
Set multiple response count [1-16]: 1
Содержание 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...