Forum Discussion
theXfactor82_91
Nimbostratus
Mar 05, 2013Anybody have any luck configuring BlackBerry Social Network Application Proxy on LTMs???
Not having much luck getting this working on my 8400 LTM pair. The only information I received from our Design Group is a little snipit from a Blackberry document...
Configuring load bala...
theXfactor82_91
Nimbostratus
Mar 25, 2013We were able to get it working. I had to do two things to make it happen.
1. I changed the iRule from the one above to this..
when HTTP_REQUEST {
Log details for the request
set log_prefix "[IP::client_addr]:[TCP::client_port]"
log local0. "$log_prefix: Request to [HTTP::uri] with cookie: [HTTP::cookie value JSESSIONID]"
Check if there is a JSESSIONID cookie
if { [HTTP::cookie "JSESSIONID"] ne "" }{
Persist off of the cookie value with a timeout of 1 hour (300 seconds)
persist uie [string tolower [HTTP::cookie "JSESSIONID"]] 300
Log that we're using the cookie value for persistence and the persistence key if it exists.
log local0. "$log_prefix: Used persistence record from cookie. Existing key? [persist lookup uie [string tolower [HTTP::cookie "JSESSIONID"]]]"
} else {
Parse the jsessionid from the path. The jsessionid, when included in the URI, is in the path,
not the query string: /path/to/file.ext;jsessionid=1234?param=value
set jsess [findstr [string tolower [HTTP::path]] "jsessionid=" 11]
Use the jsessionid from the path for persisting with a timeout of 1 hour (300 seconds)
if { $jsess != "" } {
persist uie $jsess 300
Log that we're using the path jessionid for persistence and the persistence key if it exists.
log local0. "$log_prefix: Used persistence record from path: [persist lookup uie $jsess]"
}
}
}
when HTTP_RESPONSE {
Check if there is a jsessionid cookie in the response
if { [HTTP::cookie "JSESSIONID"] ne "" }{
Persist off of the cookie value with a timeout of 1 hour (300 seconds)
persist add uie [string tolower [HTTP::cookie "JSESSIONID"]] 300
log local0. "$log_prefix: Added persistence record from cookie: [persist lookup uie [string tolower [HTTP::cookie "JSESSIONID"]]]"
}
}
2. I enabled One Connect on the Virtual Server
We are still experiencing slow response times but I believe that to be on the BES Side of things as the lag is still there when bypassing the LTM.
One thing I'd like someone to confirm for me is when troubleshooting JSESSIONID Persistance should I not be able to see the info in the /var/log/ltm file???? What level of logging needs to be enabled to see any traffic???
Thanks for all the help on this everyone!!!
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
