lanceleroux_533
Sep 04, 2008Nimbostratus
JSessionID URI Persist
I have created an IRULE to do URI JSessionID balancing for the application only (/mosAppWar)
So far our server and LTM logs indicate that this is not being respected.
Anyone have any ideas as to what I am doing wrong?
Thank you,
IRULE:
when HTTP_REQUEST {
if { [HTTP::uri] contains "/mosAppWar" }{
set jsess [findstr [HTTP::uri] "jsessionid" 11 ";"]
if { $jsess != "" } {
persist uie $jsess
}
pool Application_Pool
log local0. "QA2 Server: [LB::server addr] jsessionid $jsess Query: [HTTP::uri][HTTP::query]"
return
}
else {
pool Static_Pool
return
}
}
LOGS:
Sep 4 11:26:08Server: 10.70.10.84 jsessionid B2058030EE36EC09B45C.2 Query: /mosAppWar/MosSystem/AJAXDispatching;jsessionid=B2058030EE36EC09B45C.2pgIWorkQueue_btProceed=loadtarget
Sep 4 11:26:08Server: 10.70.10.78 jsessionid B2058030EE36EC09B45C.2 Query: /mosAppWar/MosSystem/AJAXDispatching;jsessionid=B2058030EE36EC09B45C.2pgIWorkQueue_btProceed=loadtarget
Sep 4 11:26:08Server: 10.70.10.78 jsessionid B2058030EE36EC09B45C.2 Query: /mosAppWar/MosSystem/AJAXDispatching;jsessionid=B2058030EE36EC09B45C.2pgIWorkQueue_btProceed=loadtarget