Forum Discussion
Jan_Rockstedt_4
May 03, 2012Nimbostratus
Use data group or not
Hi all,
I am new on LTM, so
sorry for stupid questions.
We want to setup one public ip number no SSL, redirect them to different internal
h...
ib_37889
May 03, 2012Nimbostratus
Jan,
Personally , I'd go with an irule without datagroups etc.
From your example it looks like you want to use vhosts as a key so the irule will be like
switch [HTTP::host ] {
"www.aa.com" { pool aa ; return }
"www.bb.com" { pool bb ; return}
}
with 1.1.1.1 as node xxx
with in pool aa node xxx on port 8181 , pool bb node xxx port 8182 etc....
If on the other hand you want to allow others access to your data groups and not the irules ....
You still have to define nodes and pools, and, you'll have to check the host/url against every data-group untill there is a match
if { [ class match [HTTP::host] equals ] } {
} elseif { [ class match [HTTP::host] equals ] } {
The same thing can be done with uri's
IB
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