session stickiness for one server

Unanswered Question
May 2nd, 2007
User Badges:

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,

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Gilles Dufour Wed, 05/02/2007 - 05:09
User Badges:
  • 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.

hassan_oudeh Wed, 05/02/2007 - 06:29
User Badges:

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

Gilles Dufour Wed, 05/02/2007 - 07:49
User Badges:
  • Cisco Employee,

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.

Actions

This Discussion