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

Why Stikyness does not work?

Hi,

I have three server that each one two instance as requestor.So I have six requestor. And responder side again three server and each one has two instance.So there are six service defined for them.

I wanna use cookie based sticky. In order to do it I defined rule and set strings and configuration etc. (You can see below)

My Need: Each requestor instancefrom a requestor instance must be forwarded to same responde rinstance always.

Fact:But when I control responder side logs I see that unwanted requests fall down to instances. It seems like leakage.

Configuration:

service msisdn-9001-1

ip address A.B.C.X

protocol tcp

port 9001

keepalive type tcp

keepalive port 9001

string mhpa03Wap01

active

service msisdn-9001-2

ip address A.B.C.Y

protocol tcp

port 9001

keepalive type tcp

keepalive port 9001

string mhpa04Wap01

active

service msisdn-9001-3

ip address A.B.C.Z

protocol tcp

port 9001

keepalive type tcp

keepalive port 9001

string mhpa08Wap01

active

service msisdn-9002-1

ip address A.B.C.X

protocol tcp

port 9002

keepalive type tcp

keepalive port 9002

string mhpa03Wap02

active

service msisdn-9002-2

ip address A.B.C.Y

protocol tcp

port 9002

keepalive type tcp

keepalive port 9002

string mhpa04Wap02

active

service msisdn-9002-3

protocol tcp

port 9002

keepalive type tcp

keepalive port 9002

ip address A.B.C.Z

string mhpa08Wap02

active

owner TEST

content test

add service msisdn-9001-1

add service msisdn-9001-2

add service msisdn-9001-3

url "/*"

protocol tcp

port 9005

vip address A.B.C.Q

add service msisdn-9002-1

add service msisdn-9002-3

add service msisdn-9002-2

advanced-balance cookies

string prefix "weblogic="

string eos-char ";"

string range 1 to 1000

active

group TEST

add destination service msisdn-9001-1

add destination service msisdn-9001-2

add destination service msisdn-9001-3

add destination service msisdn-9002-1

add destination service msisdn-9002-2

add destination service msisdn-9002-3

vip address A.B.C.Q

active

Does anybody have an idea why some request goes to wrong responder?

  • Application Networking
1 REPLY
Cisco Employee

Re: Why Stikyness does not work?

the config looks good.

We would need a trace on frontend and backend showing the problem to find out what is wrong.

Is there a proxy involved ?

Are there persistent connections ?

Are clients changing the cookie during one connection ?

The trace would definitely answer all these questions and the others I may have.

Gilles.

271
Views
0
Helpful
1
Replies