I created a new iRule, which we can use for ‘controlled blackout’ conditions on our server i.e. under certain catastrophic conditions to do with our database server, we allow users who are logged in to continue and new users to not log in based on some packet inspection of POSTS in a new iRule. The details are here: http://devcentral.f5.com/Default.aspx?tabid=53&view=topic&postid=30684
This works well in our perf environment, and we are due to move it to production soon.
However QA noticed something which they say they cannot reproduce.
When the condition occures, we switch the iRule from the browser UI via:
Go to the virtual server → Resources → iRules → click Manage button.
Here we send the old iRule to Available and enable the new rule. Once the conditions have passed, we switch back to the old (normal) rule again.
This works, but QA says that one time, the new rule did not take effect. They were not able to reproduce it however. Perf too noticed this one time, but were not able to reproduce it later. (Both times, they toggled the rules another time and things worked). I could not access their logs at the time.
Since I am not able to reproduce this condition myself: Is there a possibility that an iRule change for a virtual server may not take effect under certain conditions? Or could this be something to do with my iRule itself? In that case how did toggling the rule a second time work? I would normally have run some tests and tried to figure this out with logs, but I haven’t been able to replicate this condition and hence the question.
This is not a big issue - if this is known behaviour - I will document that we need to switch the iRule twice in production (in case switching it one time does not work). Want to know if I should do this or investigate this issue further?
Thanks,
Sriram