03-19-2003 09:19 AM
I'm doing some testing with a CSS11500 in a one-armed configuration.
I need to ensure that users will stick to the same web server for a period of about 8 hours. I know this can be accomplished with sticky sourceip, but wanted to try arrowpoint-cookies to see how that worked. I believe I have everything configured correctly, but for some reason, I'm not getting any arrowpoint-cookies. Load-balancing is occurring round-robin and there are never any arrowpoint cookies in my Temp Internet Files folder.
Does anyone have any clues?
Config below:
------------------------------------------------
!************************** CIRCUIT **************************
circuit VLAN1
ip address 192.168.200.100 255.255.255.0
no redirects
!************************** SERVICE **************************
service adcwps1p
ip address 158.52.157.197
string css_adcwps1p
active
service adcwps3p
ip address 158.52.157.195
keepalive type none
string css_adcwps3p
active
!*************************** OWNER ***************************
owner WHR_Portal
content Employee_Portal
vip address 192.168.200.106
add service adcwps1p
add service adcwps3p
advanced-balance arrowpoint-cookie
arrowpoint-cookie expiration 00:08:00:00
arrowpoint-cookie expire-services
active
!*************************** GROUP ***************************
group Portal_Servers
vip address 192.168.200.106
portmap number-of-ports 57216
add destination service adcwps1p
add destination service adcwps3p
active
03-21-2003 06:30 AM
is the clock correctly set on the CSS ?
Could you capture a sniffer trace on the client and see if the CSS
sent something.
Gilles.
03-21-2003 11:28 AM
Gilles-
Thanks for your reply. The clock is correctly set and is using sntp to keep time synchronized.
I did a sniffer trace like you asked, and I see the page being served from my VIP. I don't, however, see any arrowpoint-cookies. There is a cookie being set, but it is being set by my source server and, unfortunately, does not provide unique information for stickiness.
Below is part of the TCP decode from the sniffer trace:
GET /wps/WhrWasLogin HTTP/1.1
Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, application/x-shockwave-flash, */*
Accept-Language: en-us
Accept-Encoding: gzip, deflate
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.0.3705)
Host: portal.whirlpool.com
Connection: Keep-Alive
Cookie: WhrCredZmlzYmVnYzswMDAyQjM0MUU3NDg$=5EEB7C1E3A48E3B8
HTTP/1.1 200 OK
Date: Fri, 21 Mar 2003 19:12:59 GMT
Server: IBM_HTTP_Server/1.3.12.6 Apache/1.3.12 (Unix)
Pragma: no-cache
Cache-Control: no-cache="set-cookie,set-cookie2"
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Set-Cookie: sesessionid=0001DV51K5P5GZ40PGFTEV3AKJY;Path=/
Keep-Alive: timeout=30
Connection: Keep-Alive
Transfer-Encoding: chunked
Content-Type: text/html;charset=8859_1
Content-Language: en
03-23-2003 01:48 AM
obviously there is no cookie from the CSS.
What software version do you use ?
Could you try to remove the extra commands :
- arrowpoint-cookie expiration
- arrowpoint-cookie expire-services
(just to see if it makes any difference)
Gilles.
03-23-2003 07:29 AM
I tried removing the extra commands with no effect.
Below is the output of the "show version" command:
CSS11150# show version
Version: ap0500063 (5.00 Build 63)
Flash (Locked): 5.00 Build 33
Flash (Operational): 5.00 Build 33
Type: PRIMARY
Licensed Cmd Set(s): Standard Feature Set
Thanks again for your help!
03-21-2003 12:05 PM
We ran into the same issue (unable to find the cookie file on the client PC).
A work around is to configure your client browser to prompt for acceptance of cookies and when the prompt comes up, click the "details" button to view the cookie content (you should be able to find the "string" you configured for your arrowpoint_cookie keepalive).
refer to conversation http://forums.cisco.com/eforum/servlet/NetProf?page=netprof&CommCmd=MB%3Fcmd%3Ddisplay_location%26location%3D.ee8c82e
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