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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

session stickiness for one server

Hi all,

i have 2 servers under one VIP,

if user accessed the VIP suppose it will go to the first server, after analysis i found that all requests came from the user went to that server, even for a long time waiting between these requests,

only if i closes the browser and open again it might go the the other server !

is this normal behavior or i have missed something ?

Thanks,

3 REPLIES
Cisco Employee

Re: session stickiness for one server

Hassan,

could be normal.

It really depends on your configuration.

We don't even know which device you are talking about.

So, could you please give us the config or just the vserver or content rule that you hit.

Thanks,

Gilles.

New Member

Re: session stickiness for one server

here is my config:

service Pre-BancsLinkSrvr-1

ip address 10.0.207.71

port 81

keepalive method get

keepalive type named PreBancs1Keepalive

active

service Pre-BancsLinkSrvr-2

ip address 10.0.207.72

port 81

keepalive method get

keepalive type named PreBancs2Keepalive

active

service SSLSlot2

type ssl-accel

slot 2

keepalive type none

add ssl-proxy-list BancsSSLProxyList2

compress enable

active

************************************

owner Pre-BancsLinkOwn

content Pre-BancsLinkContnt-HTTP1

advanced-balance arrowpoint-cookie

add service Pre-BancsLinkSrvr-1

add service Pre-BancsLinkSrvr-2

vip address 10.0.207.66

balance aca

protocol tcp

port 81

url "/*"

active

content SSLBancsLinkContnt-HTTPS1

vip address 10.0.207.66

add service SSLSlot2

protocol tcp

port 443

active

Thanks in advance

Cisco Employee

Re: session stickiness for one server

Hassan,

you have configured stickyness.

So this is normal.

In your config :

advanced-balance arrowpoint-cookie

So, the CSS will generate a cookie and send it to the client. The client will store it and send it back to the CSS with every new request. The CSS then uses it to select the same server as before.

Some browsers clear the cookie cache when you close it which explains why you get rebalanced when you close the browser.

Gilles.

234
Views
0
Helpful
3
Replies