Forum Discussion
Katherine_G_106
Nimbostratus
Nov 03, 2006Variable or function to return name of current pool?
Good afternoon,
I have been writing a few simple iRules & a call to F5 support directed me to DevCentral. This looks like a super resource!
Now for my question: I am working on a generi...
Nov 03, 2006
the LB::server value will return the name of the currently selected pool. So you could write a generic iRule like this
when HTTP_REQUEST {
if { [active_members [LB::server] ] < 1 } {
HTTP::redirect http://my.maint.page.com
}
}I believe "[LB::server pool]" will return the pool name as well.
-Joe
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
