Forum Discussion
ML_108504
Nimbostratus
Apr 13, 2009iRule Editor can't find default_pool
Hi folks, I'm experimenting with some simple iRules (I thought) from devcentral examples. When I check the following iRule in the Editor it complains with:
line 5: [can't find pool] [pool defa...
hoolio
Cirrostratus
Apr 15, 2009It might be nice to get the default pool of the VIP using a special command, but 'LB::server pool' does tell you this if you check in CLIENT_ACCEPTED.
I'm not sure what you're trying to accomplish with 'event disable'. That's going to prevent your iRule from firing the HTTP_REQUEST event on subsequent requests on the same TCP connection. I assume a bot and non-bot probably aren't going to be making requests over the same TCP connection. But if they did, disabling the event would prevent you from changing the pool from whatever pool was selected previously. You could use return (Click here) to exit that event in that iRule.
Aaron
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