Forum Discussion
Andrew_Watson_1
Feb 24, 2014Nimbostratus
Pool selection with uri rewrite for Ellucian Banner
Hello!
I am fairly new to the f5 and LBs in general. We have several back end servers that are currently serving multiple websites on different TCP ports. We are looking to load balance these ...
- Feb 25, 2014
Sorry forgot the sample datagroup;
ltm data-group internal dg_path_list { records { "/forms" { data "pool pl_foo.com_8888" } "/reports" { data "pool pl_foo.com_9002" } "/SSB" { data "rewrite /test" } } type string }
Kevin_Stewart
Feb 25, 2014Employee
Start with something like this:
when HTTP_REQUEST {
switch -glob -- [string tolower [HTTP::uri]] {
"/forms/*" {
pool pool_8888
}
"/reports*" {
pool pool_9002
}
"/ssb/*" {
pool pool_9010
HTTP::uri [string map -nocase {"/ssb/" "/test/"} [HTTP::uri]]
}
"/banneroh*" {
pool pool_9003
}
}
}
where each of the pools above (ex. pool_9003) would contain and load balance both servers (BE1 and BE2). The [string map ] function for the "/ssb/*" URI simply replaces /ssb/ in the URI with /test/. This is a transparent rewrite, so the client won't see it.
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