choose pool
3 TopicsiRule to redirect application to pool and change url
When setting up a f5 irule, I am trying to do the following: When an external url is hit, redirect to an internal pool of servers based on a url. Example: external= I want this to map to server pool of urls: server1.com:8080/application or server2.com:8080/application or server3.com:8080/application I need it to only direct if the server url is up. Does anyone have an idea? Basicly going to ww.abc.com/test redirect/proxies to server2.com:8080/application/test. and redirect/proxies to server2.com:8080/application. This is what I have so far: when HTTP_REQUEST { switch -glob [string tolower [HTTP::path]] { "/application*" { pool This_abc.com_WEB-R_8080 snatpool WEB-R_SNAT_Pool } } }264Views0likes1CommentSnatpool and Pool Selction based on URI
Hi Guys, Stuck here, been trying to work out an irule, for snatpool and pool selection based on a uri We have an existing irule which works on another environment (like for like) however on the new enviroment for some reason it does not work, we have a url we connect to, then by clicking on a tab it should redirect us to another pool based on the uri we selected, but just times out and say refused to connect. This is the irule: I had configured the logging commands and it states it does not match the uri, however this same irule works on the old environment going to the same uri when HTTP_REQUEST { HTTP::header remove sm_user if { [string tolower [HTTP::uri]] starts_with "/dn" } { pool AC } else { SSL::disable serverside HTTP::header insert WL-Proxy-SSL true pool AC-A } }508Views0likes8CommentsChoose pool based on HTTP Response
Is there any way to select a pool based on HTTP response? For example: the default pool is responding on different URIs with different redirects. I don`t want the client to see that redirect, instead F5 to choose a different pool based on the redirect sent by the default pool. Is that possible?327Views0likes3Comments