Forum Discussion
Matt_Breedlove_
Nimbostratus
Apr 21, 2011Concurrency with multiple VS using a single global var
In the scenario of having three different VS's simultaneously taking traffic on their respective ports....a port 443 VS, port 8080 VS, and port 8181 VS. All VS's have the same IP. Each V...
hoolio
Cirrostratus
Apr 22, 2011Hi 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
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