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. And see here for current known issues.

Migration STICKY from CSM to ACE

Hi all!

I have a little worried about sticky in CSM and the CSM2ACE tool dodn't help me.

I see the following config on the CSM:

sticky 10 netmask 255.255.255.255 address   both timeout 240

That is translated to:

sticky   ip-netmask 255.255.255.255 address both 10
  timeout 240

That's the easy part.

Then, I have the following

**************************************************************************

policy POLICY1
  sticky-group 10
  serverfarm FARM1

!

**************************************************************************

and:

**************************************************************************

vserver VSERVER1
  .....
  sticky 10
...
!

**************************************************************************

Or

**************************************************************************

vserver CLEAR_VIP443
...
  sticky 30 group 100
...

!

**************************************************************************

I don't have clear how to translate to ACE and what's the meaning of the policy command.

Can anyone help me?

Thanks!

5 REPLIES
Cisco Employee

Migration STICKY from CSM to ACE

Hi David,

This is the usage guideline for "Policy":

Policies establish rules for balancing connections to servers. They can contain URL maps, cookie maps, header maps, client groups, sticky groups, DSCP values, and server farms. The order in which policies are linked to a virtual server determines the precedence of the policy. When two or more policies match a requested URL, the policy with the highest precedence is selected.

Policy is like a slb policy which can be associated with "vserver(vip)" like policy-map first match. Sticky can also be defined directly under vserver as shown above in your question.

Regards,

Kanwal

Migration STICKY from CSM to ACE

So if I understad you, apply the sticky on the VSERVER or int the POLICY above is the same?

Whats the meaning of the "group" command in the sticky on the vserver?

Migration STICKY from CSM to ACE

Hi Kanwal.

Do you know how to migrate a SSL sticky from CSM to ACE?

Thanks in advance!

Cisco Employee

Migration STICKY from CSM to ACE

HI David,

Group means that you configure a sticky (method, ip etc) and bind it with a policy or vserver. Group can be associated with multiple vservers and policies.

http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/csm/4.2.x/configuration/guide/csm_4_2.pdf

Visit configuring additional features and options and have a look at sticky configuration and explantions. That shall clear things out.

Regards,

Kanwal

Cisco Employee

Migration STICKY from CSM to ACE

Hi David,

Here's an example configuration:

This example shows how to configure a sticky group and associate it with a policy:

Router(config-module-csm)#

sticky 1 cookie foo timeout 100

Router(config-module-csm)#

serverfarm pl_stick

Router(config-slb-sfarm)#

real 10.8.0.18

Router(config-slb-real)#

inservice

Router(config-slb-sfarm)#

real 10.8.0.19

Router(config-slb-real)#

inservice

Router(config-slb-real)#

exit

Router(config-slb-sfarm)#

exit

Router(config-module-csm)#

policy policy_sticky_ck

Router(config-slb-policy)#

serverfarm pl_stick

Router(config-slb-policy)#

sticky-group 1

Router(config-slb-policy)#

exit

Router(config-module-csm)#

vserver vs_sticky_ck

Router(config-slb-vserver)#

virtual 10.8.0.125 tcp 90

Router(config-slb-vserver)#

slb-policy policy_sticky_ck

Router(config-slb-vserver)#

inservice

Router(config-slb-vserver)#

exit

Regards,

Kanwal

740
Views
0
Helpful
5
Replies
CreatePlease to create content