Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

CSM problem with header/cookie size and policy

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

1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: CSM problem with header/cookie size and policy

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.

1 REPLY
Cisco Employee

Re: CSM problem with header/cookie size and policy

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.

266
Views
0
Helpful
1
Replies
CreatePlease to create content