Forum Discussion
hooleylist
Apr 22, 2011Cirrostratus
Hi Matt,
Which LTM version are you doing this on? In any version, I think access to the global variable will be serialized. Maybe others can confirm/correct this.
However, using a global variable will prevent a virtual server from being processed via CMP on multiple TMM instances. If you're on a version and platform which support CMP, it would be better to use the session table or subtable to store the variable. Here's an example for using the session table. See the links for details on CMP.
http://devcentral.f5.com/wiki/default.aspx/iRules/CMP_v10_compatible_counters_using_the_session_table.html
Aaron