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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

CSM: Sticky timeout parameter: difference between sticky group and vserver

Hi,

Concerning the example in the CSM manual about configuration of stickiness:

What (or why) is exactly the difference between the timeout parameter (100 minutes):

sticky 12 cookie foo timeout 100 AND the sticky 50 group 12 in the vserver.

The timeout parameter is overruled in the vserver configuration. (100 -> 50)

For what could this be usefull?

Thank you!

Kind regards,

Wim

-----

This example shows how to configure a virtual server named barnett, associate it with the server farm

named bosco, and configure a sticky connection with a duration of 50 minutes to sticky group 12:

Router(config)# mod csm 2

Router(config-module-csm)# sticky 12 cookie foo timeout 100

Router(config-module-csm)# exit

Router(config-module-csm)#

Router(config-module-csm)# serverfarm bosco

Router(config-slb-sfarm)# real 10.1.0.105

Router(config-slb-real)# inservice

Router(config-slb-real)# exit

Router(config-slb-sfarm)#

Router(config-slb-sfarm)# vserver barnett

Router(config-slb-vserver)# virtual 10.1.0.85 tcp 80

Router(config-slb-vserver)# serverfarm bosco

Router(config-slb-vserver)# sticky 50 group 12

Router(config-slb-vserver)# inservice

Router(config-slb-vserver)# exit

Router(config-module-csm)# end

  • Application Networking
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Re: CSM: Sticky timeout parameter: difference between sticky gro

if you configure the group under a policy, there is no option for the timeout.

This is why the option exist under the stick-group.

In the vserver, you can overrid this timeout - so the timeout is per vserver.

If you want the same timeout, just configure the same value.

gdufour-cat6k-2(config-module-csm)#policy test1

gdufour-cat6k-2(config-slb-policy)#sticky-group ?

<1-255> sticky group ID

gdufour-cat6k-2(config-slb-policy)#sticky-group 12 ?

Gilles.

1 REPLY
Cisco Employee

Re: CSM: Sticky timeout parameter: difference between sticky gro

if you configure the group under a policy, there is no option for the timeout.

This is why the option exist under the stick-group.

In the vserver, you can overrid this timeout - so the timeout is per vserver.

If you want the same timeout, just configure the same value.

gdufour-cat6k-2(config-module-csm)#policy test1

gdufour-cat6k-2(config-slb-policy)#sticky-group ?

<1-255> sticky group ID

gdufour-cat6k-2(config-slb-policy)#sticky-group 12 ?

Gilles.

972
Views
5
Helpful
1
Replies