Forum Discussion
iRule still active but detached?
Hi,
I'm experiencing weird behaviour of iRule attached to a VIP. It's simple irule redirecting traffic to a pool based on client's IP and certain URI match. Nothing sophisticated. The iRule worked like once or twice during tests. Now i'm unable to get it stable. F5 seems to be running and parsing one of the versions I've checked previously, no matter what I change in the iRule. The iRule seems to work (!) even when I detach it from VIP. What is the reason of such behavior? Do I have to do some magic to reinitialize irule after every iRule trigger or something? How to get iRule mechanism to "apply" changes made to iRule immediately after updating the iRule? I'm running 10.2.4 HF5 software.
3 Replies
the basic behaviour is that the iRule stays active for the session. so if you update it but don't close browser it will keep using the old one. things like proxies might complicate this.
- Tomeq_93315
Nimbostratus
We tried closing browser and assuring that no session is hitting the old iRule. It's still active for some time (more or less TCP session timeout time). Is there a way to check for such condition and do a workaround?
that sounds like a session remains active for some reason or you are looking at the wrong thing. you can check the session table and perhaps delete it (wouldn't try this on production).
tmsh show sys conntmsh delete sys conn
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* 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