cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1135
Views
0
Helpful
5
Replies

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 5

Kanwaljeet Singh
Cisco Employee
Cisco Employee

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

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?

Hi Kanwal.

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

Thanks in advance!

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

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

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: