cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
468
Views
0
Helpful
3
Replies

session stickiness for one server

hassan_oudeh
Level 1
Level 1

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 3

Gilles Dufour
Cisco Employee
Cisco Employee

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.

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

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.

Getting Started

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: