Forum Discussion
TravisActon_133
Nimbostratus
Sep 13, 2013Simple iRule for pool selection no longer working
We have had this iRule set for a very long time then suddenly it is no longer working. Can someone give it a glance over?
If a user goes to test.com we have it going to its default pool however ...
Kevin_Stewart
Employee
Sep 14, 2013The iRule looks fine, but I would probably, at a minimum, enable a OneConnect profile and/or explicitly set the pool for each uri/path condition. Example:
when CLIENT_ACCEPTED {
set default_pool [LB::server pool]
}
when HTTP_REQUEST {
if { [string tolower [HTTP::uri]] starts_with "/digitalassetmanagement" } {
pool digital
} else {
pool $default_pool
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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