10-16-2008 05:40 PM
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
Solved! Go to Solution.
10-16-2008 10:01 PM
************ 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
HTH
Syed Iftekhar Ahmed
10-16-2008 10:01 PM
************ 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
HTH
Syed Iftekhar Ahmed
10-19-2008 03:04 PM
Thx Syed,
That's very helpful.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide