cancel
Showing results for 
Search instead for 
Did you mean: 

Running old iRules after an upgrade

Tom_Schaefer
Altostratus
Altostratus

We updated to a newer version of 14 and noticed something which has me questioning my sanity. I have an iRule that acts like a DNS proxy to internal servers. I noticed this morning it was returning an old address (old as in one I changed 3 months ago). I verified on a system that the address being returned was the old one. I then went into the iRule and simply added a space and resaved it, then it started working correctly.

 

I have seen this behavior before where simply saving the iRule again seems to change what is running.

 

Are old versions of the iRules kept around somewhere and could possibly be pointed to until I do that save and the current one runs?

 

I realize this sounds bizarre but the only place that returned the old IP address was the iRule (no hosts file, etc) and as soon as I did that save, it started returning the new address.

 

Thanks, Tom

1 REPLY 1

PeteWhite
F5 Employee
F5 Employee

iRules are compiled into bytecode and run by tmm, they are cached and this is updated when they are changed and saved