Forum Discussion
JoshuaMessenger
Nimbostratus
Feb 27, 2015How would I use a Table as a global cross tmm variable to be CMP compliant?
I've been asked to handle load-balancing and automatic fail over between an active / passive CIFS / NFS storage system. I have the user_conf setup to monitor the ltm logs and trigger bash scripts on...
Max_Q_factor
Cirrocumulus
Feb 27, 2015Replace your
static:: with a class lookup from:
CMP Compatibility: Global Variables
Not CMP compatible:
set val "$::www_redir https://${host}:${port}[HTTP::uri]\r\n$::www_opts"
CMP compatible (v9.x):
set val "[findclass "www_redir" global_vars " "] https://${host}:${port}[HTTP::uri]\r\n[findclass "www_opts" global_vars " "]"
To support this lookup, you will need to add a new class w/ the appropriate values for each key:
class global_vars { “www_redir xxxxxx” “www_opts xxxxxx” }
Note: In 9.4.4 and higher, when referencing the class with the findclass or matchclass commands you should not use :: or $:: prefixHelp guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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