Forum Discussion
Thanadon_Wattan
Nimbostratus
Jul 06, 2005Can i-Rule use pool to map to virtual server?
Hi all, I'm newbie in F5 v.9. I'm facing with some problem about Virtual Server.
I have 2 VS in F5 10.10.10.30 and 10.10.20.30 and both using the different pool (named pool01 and pool02 in the same subnet of each VS relatively).
the problem occurs when I try to create another pool (called pool03 that have 1 member that is 10.10.20.30 <== this is VS IP of the second VS).
I try to mapping if the request uri is /web I write in i-rule like this:
request_uri [HTTP::uri]
if {(request_uri starts_with "/web")} {
pool pool03
}
when I request to /web , nothing is returned.
what's wrong? or Can the i-rule forward the request to another VS?
Thank you in advance for any idea comment or answer.
- JRahm
Admin
Try this:when HTTP_REQUEST { if { [HTTP::uri] starts_with "/web" } { use pool pool03 } }
log "The URI is [HTTP::uri]"
- drteeth_127330Historic F5 AccountNo. A pool cannot contain a virtual server as a member. Why not redirect back to the virtual server instead?
- Thanadon_Wattan
Nimbostratus
Thank you for answers.
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