01-21-2014 03:57 AM
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:
That's the easy part. Then, I have the following ************************************************************************** | ||||
|
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!
01-21-2014 06:43 AM
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
01-23-2014 02:15 AM
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?
01-24-2014 04:17 AM
Hi Kanwal.
Do you know how to migrate a SSL sticky from CSM to ACE?
Thanks in advance!
01-24-2014 08:23 AM
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.
Visit configuring additional features and options and have a look at sticky configuration and explantions. That shall clear things out.
Regards,
Kanwal
01-24-2014 08:26 AM
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 100Router(config-module-csm)#
serverfarm pl_stickRouter(config-slb-sfarm)#
real 10.8.0.18Router(config-slb-real)#
inserviceRouter(config-slb-sfarm)#
real 10.8.0.19Router(config-slb-real)#
inserviceRouter(config-slb-real)#
exitRouter(config-slb-sfarm)#
exit
Router(config-module-csm)#
policy policy_sticky_ckRouter(config-slb-policy)#
serverfarm pl_stickRouter(config-slb-policy)#
sticky-group 1Router(config-slb-policy)#
exit
Router(config-module-csm)#
vserver vs_sticky_ckRouter(config-slb-vserver)#
virtual 10.8.0.125 tcp 90Router(config-slb-vserver)#
slb-policy policy_sticky_ckRouter(config-slb-vserver)#
inserviceRouter(config-slb-vserver)#
exitRegards,
Kanwal
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: