abailey_1418
Oct 01, 2010Nimbostratus
iRules Disable CMP for Virtual
I know IRules and CMP compatibility is a well-documented subject, but even after a lot of reading and input from tech support, I'm stuck on a couple of things. Maybe someone has some quick answers.
I've read that if an iRule contains a Global variable, that it will "demote" the virtual server or forwarding rule. Well, we have 9.4.7 code and the iRule contains the well-known $:: problem, and the forwarding rule in question exhibits the documented trait of CMP on a virtual server being disabled: tmm0 changes the source port of the connection sometimes. And this causes a few application problems for us.
The recommendation from tech support to remove the $:: has not fixed the issue. However, my question is more basic at this point than what is wrong with the rule: how is it that we can determine that the virtual server is being "demoted?" I get the impression -- though this may be totally wrong -- that a "bp virtual (virtual_S_name) cmp mode show" should show cmp as "single" if the iRule is doing one of the well-known issues like calling a global variable that breaks CMP functionality. But it does not show this, it show CMP as working for the virtual server.
So the question is, is there any direct way to tell if an iRule is breaking CMP for the virtual server using it?