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.

New Member

Looking for basic cfg for CSM 4.2(2) with sticky

Hi All,

I'm relatively new to CSMs and I'm attempting to fathom-out the differences between sticky & persistence.

However, all I really need at this stage is a basic, frills-free, cfg (if anyone has one) for one vserver and two real-servers, that provides users with stickiness to the same server. I don't think 'persistence rebalance' is required but do I need to configure a sticky-group?

I thought that maybe sticky-cookie is on by default? Or in other words does the CSM provide a stickiness method by default?

An easy question, I'm sure, but I'm running in circles with no test facilities available.

Many thx

David

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Looking for basic cfg for CSM 4.2(2) with sticky

************ SRC IP based based persistence *******************

sticky 10 netmask 255.0.0.0 timeout 5

serverfarm APP1-Servers

nat server

no nat client

probe HTTP-APP1

real 1.1.1.1

inservice

real 1.1.1.2

inservice

vserver APP1-VSERVER

virtual 10.10.10.1 tcp WWW

sticky 5 group 10

serverfarm APP1-Servers

persistent rebalance

inservice

************ cookie based persistence *******************

sticky 15 cookie Mycookie timeout 5

serverfarm APP1-Servers

nat server

no nat client

probe HTTP-APP1

real 1.1.1.1

inservice

real 1.1.1.2

inservice

vserver APP1-VSERVER

virtual 10.10.10.1 tcp WWW

sticky 5 group 15

serverfarm APP1-Servers

persistent rebalance

inservice

************** Cookie Insert *********************

sticky 17 cookie APP1Cookie insert timeout 30

serverfarm APP1-Servers

nat server

no nat client

real 1.1.1.1

inservice

real 1.1.1.2

inservice

vserver APP1-VSERVER

virtual 10.10.10.1 tcp WWW

sticky 5 group 17

serverfarm APP1-Servers

persistent rebalance

inservice

A good example you can find at

http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/csm/4.2.x/configuration/guide/cfgxpls.html#wp1007597

HTH

Syed Iftekhar Ahmed

2 REPLIES

Re: Looking for basic cfg for CSM 4.2(2) with sticky

************ SRC IP based based persistence *******************

sticky 10 netmask 255.0.0.0 timeout 5

serverfarm APP1-Servers

nat server

no nat client

probe HTTP-APP1

real 1.1.1.1

inservice

real 1.1.1.2

inservice

vserver APP1-VSERVER

virtual 10.10.10.1 tcp WWW

sticky 5 group 10

serverfarm APP1-Servers

persistent rebalance

inservice

************ cookie based persistence *******************

sticky 15 cookie Mycookie timeout 5

serverfarm APP1-Servers

nat server

no nat client

probe HTTP-APP1

real 1.1.1.1

inservice

real 1.1.1.2

inservice

vserver APP1-VSERVER

virtual 10.10.10.1 tcp WWW

sticky 5 group 15

serverfarm APP1-Servers

persistent rebalance

inservice

************** Cookie Insert *********************

sticky 17 cookie APP1Cookie insert timeout 30

serverfarm APP1-Servers

nat server

no nat client

real 1.1.1.1

inservice

real 1.1.1.2

inservice

vserver APP1-VSERVER

virtual 10.10.10.1 tcp WWW

sticky 5 group 17

serverfarm APP1-Servers

persistent rebalance

inservice

A good example you can find at

http://www.cisco.com/en/US/docs/interfaces_modules/services_modules/csm/4.2.x/configuration/guide/cfgxpls.html#wp1007597

HTH

Syed Iftekhar Ahmed

New Member

Re: Looking for basic cfg for CSM 4.2(2) with sticky

Thx Syed,

That's very helpful.

186
Views
0
Helpful
2
Replies