Forum Discussion
tminfw2
Nimbostratus
Dec 26, 2014APM profile with OCSP Authoring and Clientless mode configured, but need to reload page
Situation:
we have 2 F5 boxes lined after each other:
the first one handles APM, ASM and LTM
the second handles LTM (mainly used as a loadbalancer)
On the first box, we have a vir...
Michael_Jenkins
Cirrostratus
Dec 26, 2014You could try to add some logging in your iRule just to verify where things are going and what the URI is. Then from the CLI (using PuTTY or some other SSH client and command
tail -f /var/log/ltm), or the log section of the F5 admin site, and see what gets logged to verify you're getting the right routing.
when HTTP_REQUEST {
log local0. "URI: [HTTP::uri]"
if { [HTTP::uri] starts_with "/xxx/" } {
log local0. " Routing to IP_address_VS2"
node IP_address_VS2 80
} else {
log local0. " Routing to IP_address_VS3"
node IP_address_VS3 80
}
}
you could also loop and log the cookies that exists for the request if those matter on the back end.
log local0. " Cookies:"
foreach cookie [HTTP::cookie names] {
Log the cookie name and value
log local0. " $cookie: '[HTTP::cookie value $cookie]'"
}
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