Forum Discussion
Parveez_70209
Nov 06, 2013Nimbostratus
Irules Data-Group
Hi,
Need your assistance into this topic related to Irule Based on Data-Groups:
Currently we have total 120 Virtual-Servers( 60 HTTP profiles + 60 HTTPS Profiles) created into the Load-Balancer ...
IheartF5_45022
Nov 07, 2013Nacreous
Parveez,
I'm still confused as the poolnames chosen for the /iss_static path are all different and you say "3.We want to keep constant the pool marked against iss_static", however as far as the a/b/c examples immediately above, if your naming standard is consistent and as you show above, then I don't think you need a data-group at all to map from your virtual name to your pool name. You can just use the following;-
if {[catch {pool "pool_[string map {"-VS-HTTP" "_http" } [virtual]]}]} {
log local0. "pool [string map {"www." "pool-" } [virtual]] not configured"
}
By the way;-
elseif { $http_uri starts_with "/" }
is ALWAYS going to evaluate to 1 as all paths start with "/".
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