cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
420
Views
0
Helpful
2
Replies

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

dlongworth
Level 1
Level 1

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

************ 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

View solution in original post

2 Replies 2

************ 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

Thx Syed,

That's very helpful.