Forum Discussion
kridsana
Cirrocumulus
Nov 10, 2022Is there Limitation of irule "virtual".. can we do it like this?
Hi We have BIG-IQ and BIG-IP AWAF. I see that BIG-IQ application dashboard is show only 1 application per virtual server. But in BIG-IP AWAF.. we config it as 1 virtual server 100 application (mul...
JRahm
Admin
Nov 10, 2022yep, this is a common scenario and works great. I'm not sure about a top-end limitation, you'd need to test. But with the iRule, if there more than a handful of hosts/policies, I'd recommend a data-group to map host header->virtual so you can keep the iRule logic light. Something like:
when HTTP_REQUEST {
set vip_target [class match -value -- [HTTP::host] equals host2vipmap_dg]
if {$vip_target ne ""} {
virtual $vip_target
} else { reject }
}
with a data-group set up like:
ltm data-group internal host2vipmap_dg {
records {
abc.example.com {
data VS_abc.example.com
}
}
type string
}Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
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