04-24-2007 07:41 AM
Need assistance comming up with a soulution for session based Stickyness.
1.can this be based on the J-Session ID?
2.Can the CSS send a cookie and the clients stick to the same servers until the session expires and the cookie os removed?
3. Also can we set a timeout value for the cookie?
04-24-2007 10:16 AM
If servers are setting the cookies then you need something like this
Service webserver1
ip address 10.10.10.1
string server1 <-- server cookie value
active
Service webserver2
ip address 10.10.10.2
string server2 <-- server cookie value
active
Service webserver3
ip address 10.10.10.3
string server3 <-- server cookie value
active
content mycontent
vip address 12.12.12.12
add service webserver1
add service webserver2
add service webserver3
string prefix "JSESSIONID="
protocol tcp
port 80
url "/*"
advanced-balance cookies
sticky-inact-timeout 60 <-- Inactivity timeout value for cookie
active
The string prefix (that goes on the Content Rule) would need to match be the name of the
cookie string prefix "JSessionID="
Then the string on the services would need to match the value that is inserted on each
server:
Example:
Service webserver1
ip address 10.10.10.1
string server1
active
Then the cookies injected from server1 would need to look like this:
JSessionID=service1
That is how the CSS would then identify which server the cookie belongs to and how to send
it to it. If the JDSessionID values are random, then the CSS would not be able to match the values to a service.
04-25-2007 03:56 AM
arrowpoint-cookie is easier to implement.
Here is a link to some documentation.
If you need anything else, let us know.
Gilles.
04-25-2007 08:14 PM
This will only work for web traffic you can not use this for SSL traffic. CSS is unable to Decrypt the packet for inspection.
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