Forum Discussion
Rodolphe_AUBINE
Nimbostratus
Sep 21, 2010PB Dispatch HTTP request to another POOL on URI analysis
Hi,
I have one Virtual Serveur VS1 wich use default POOL1 for simple http resquest GET / POST.
I need to extract some request which contains "../pattern/..." and send to another POOL2 (which is not used bye another VS)
The simple IRule which is actived on VS1, is :
when HTTP_REQUEST {
if { [HTTP::uri] contains "mypattern" } {
log "[HTTP::uri] forwarded to pool POOL-2"
pool POOL-2
}
}
The Irule is OK with some uniq espaced resquets the good pool is choiced "default POOL1 or specific POOL2 if the URI contains "mypattern")
But, when I send massive GET or POST to this VS1, mixing with or without pattern, from an unique IP adress and an unique software client (browser, shell sender,...), I noticed that if the forward to POOL2 is done, the next "near" requests are also forwarder to POOL2, even if their URI doesn't match "mypattern".
Question : Is there a "session" or "sticky" mechanism which forward some request to POOL2, without logging and trigger bye the Irule... ? if yes, what is the common criteria between requests ? ip ? elapsed time ?....
Thanks in advance,
Rodolphe AUBINEAU.
- Chris_Miller
Altostratus
You might have to use OneConnect to ensure every single request is being evaluated. - Rodolphe_AUBINE
Nimbostratus
Thanks for your response. - Chris_Miller
Altostratus
I assume you're using a Standard type Virtual Server? If you're using ASM, I assume you're using an HTTP profile...simply select the default OneConnect profile too and you should be set. - hoolio
Cirrostratus
As Chris suggests, a OneConnect profile should be available on ASM standalone as well as LTM.
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