06-17-2009 07:41 AM
Hi everybody,
I have a problem using slb-policy in vserver configuration. Requests with longer cookies will lead to a reset by the csm. But this only happens if there are one or more policies configured.
If there is no policy everything works fine.
I tried different software versions, all with the same result.
Does anyone of you have an ideas how to fix the problem?
regards,
Christoph
PS: Here is the configuration of my lab environment:
map PICTURES url
match protocol http url *pictures*
!
map AIRCRAFT url
match protocol http url *aircraft*
!
map HOMEBASE url
match protocol http url *homebase*
!
real SERVER1
address 10.10.10.101
inservice
real SERVER2
address 10.10.10.102
inservice
!
serverfarm AIRCRAFT
nat server
no nat client
real name SERVER1
inservice
real name SERVER2
inservice
!
serverfarm BUG
nat server
no nat client
real name SERVER1
inservice
real name SERVER2
inservice
!
serverfarm HOMEBASE
nat server
no nat client
real name SERVER1
inservice
real name SERVER2
inservice
!
serverfarm PICTURES
nat server
no nat client
real name SERVER1
inservice
real name SERVER2
inservice
!
policy PICTURES
url-map PICTURES
serverfarm PICTURES
!
policy AIRCRAFT
url-map AIRCRAFT
serverfarm AIRCRAFT
!
policy HOMEBASE
url-map HOMEBASE
serverfarm HOMEBASE
!
vserver BUG
virtual 10.10.10.52 tcp 0
vlan 101
serverfarm BUG
persistent rebalance
slb-policy AIRCRAFT
slb-policy HOMEBASE
slb-policy PICTURES
inservice
!
vserver NOBUG
virtual 10.10.10.53 tcp 0
vlan 101
serverfarm BUG
persistent rebalance
inservice
Solved! Go to Solution.
06-18-2009 12:37 AM
Try to increase the parse length to its maximum
gdufour-cat6k1(config-slb-vserver)#parse-length ?
<1-4000> maximum number of bytes to parse
This should help with large http header/cookie.
And if that's not enough, use the following variable to increase the parse length
gdufour-cat6k1(config-module-csm)#do sho mod csm 5 var | i PARSE
MAX_PARSE_LEN_MULTIPLIER 1
Gilles.
06-18-2009 12:37 AM
Try to increase the parse length to its maximum
gdufour-cat6k1(config-slb-vserver)#parse-length ?
<1-4000> maximum number of bytes to parse
This should help with large http header/cookie.
And if that's not enough, use the following variable to increase the parse length
gdufour-cat6k1(config-module-csm)#do sho mod csm 5 var | i PARSE
MAX_PARSE_LEN_MULTIPLIER 1
Gilles.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide