Forum Discussion
cjunior_138458
Altostratus
Dec 16, 2015LTM Policy and iRule together
We have a customer that uses LTM policy because he need more friendly visibility than a iRule script acknowledgment, though, there are hard features that need to be done in iRules and it can cause so...
Kai_Wilke
MVP
Dec 16, 2015Hi Cjunior,
Using LTM-Policies to set a TCL variables, which would then trigger a certain iRule script blocks will work and using
[info exist]
to check for its existence is ideal. But dont forget that these TCL variables are connection based, so make sure they will get an proper [unset]
(as you did in your example).
Also keep in mind that
[event disable all]
is connection based, so you have to make sure the connection is getting closed to reenable iRule processing again. You may also want to use LTM Policies to enable the event processing on each request by creating a TCL expression [event enable all]
.
Update: Removed misleading information
Cheers, Kai
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