Forum Discussion
brad_scherer_11
Nimbostratus
Jun 23, 2009Error in VDI Deployment guide iRule
In this guide:
www.f5.com/pdf/deployment-guides/vmware-vdi-dg.pdf
The iRule on page 8 throws the attached error when I try to save it. I am running v 9.4.5 hotfix 2.
Could someone please validate this rule and or provide a working version of it.
- hoolio
Cirrostratus
Hi Brad,when HTTP_REQUEST { if { [HTTP::cookie exists "JSESSIONID"] } { log local0. "Client [IP::client_addr] sent cookie [HTTP::cookie "JSESSIONID"]" set jsess_id [string range [HTTP::cookie "JSESSIONID"] 0 31] persist uie $jsess_id log local0. "uie persist $jsess_id" } else { log local0. "no JSESSIONID cookie, looking for tunnel ID" set jsess [findstr [HTTP::uri] "tunnel?" 7] if { $jsess != "" } { log local0. "uie persist for tunnel $jsess" persist uie $jsess } } } when HTTP_RESPONSE { if { [HTTP::cookie exists "JSESSIONID"] } { set jsess_cookie [HTTP::cookie "JSESSIONID"] persist add uie [HTTP::cookie "JSESSIONID"] log local0. "persist add uie [HTTP::cookie "JSESSIONID"] server: [IP::server_addr] client: [IP::client_addr]" } } when LB_SELECTED { log local0. "Member [LB::server addr]" }
- brad_scherer_11
Nimbostratus
That was it Hoolio. Thanks for the quick response! You Rock!
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