cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
464
Views
0
Helpful
1
Replies

CSM-S Sticky Problem with cookie

pat1848
Level 1
Level 1

Hi

I have a problem with the CSM-S module. I configured the following thing to achieve session persistency with cookies.

module ContentSwitchingModule 8

!

vlan 2341 client

description ** pdivers-in **

ip address 172.29.98.16 255.255.255.0 alt 172.29.98.17 255.255.255.0

gateway 172.29.98.1

!

vlan 2347 server

description ** pdivers-lb **

ip address 172.29.98.16 255.255.255.0 alt 172.29.98.17 255.255.255.0

!!

probe HTTP http

recover 3

interval 5

failed 10

!

!

serverfarm 2340

nat server

no nat client

real 172.29.98.100

inservice

real 172.29.98.101

inservice

probe HTTP

!

sticky 10 cookie SESSION insert timeout 10

!

vserver 2340

virtual 172.29.98.220 tcp www

serverfarm 2340

sticky 10 group 10

persistent rebalance

inservice

So it's quite a simple configuration. The strange thing: with the show sticky group 10 command i don't get any entry in the table after i did a "get Request" to the server, but the Browser receives the cookie "SESSION". In addition a sniff showed that i'm sending the cookie "SESSION".

Does anybody have a cloue, why my sticky table stays empty.

By the way, if i try stickiness with source IP, they show up in the sticky table and it works fine.

Release is 2.1(2)

Cheers

patrick

1 Reply 1

irisrios
Level 6
Level 6

The commands in this mode require the sticky feature in your user role.

To create a sticky group for cookie stickiness, enter:

host1/Admin(config)# sticky http-cookie cisco.com GROUP3

Review Cisco Networking for a $25 gift card