Angel_Martinez_
Nov 19, 2010Nimbostratus
LB::server pool
Hi
I've this iRule running in two different boxes:
rule iRule_Sorry_Redirect {
when LB_FAILED {
if { [active_members [LB::server pool]] < 1 } {
HTTP::fallback "http://sorry-[HTTP::header host]"
}
}
}
On 6800 9.4.8 HF4 box is set up for 27 Virtuals without any problem at the /var/log/ltm. And the statistics says:
RULE iRule_Sorry_Redirect
+-> LB_FAILED 5042 total 0 fail 0 abort
But on the 6900 also 9.4.8 HF4 is only set up for 1 Virtual with this continous message at the log file:
Nov 19 08:47:18 tmm1 tmm1[2141]: 01220001:3: TCL error: iRule_Sorry_Redirect - no such pool Failed Tcl_pool_GetFromObj: pool (line 1) invoked from within "active_members [LB::server pool]"
RULE iRule_Sorry_Redirect
+-> LB_FAILED 269 total 269 fail 0 abort
It could be related with the CMP feature? On BIG-IP 6800 boxes CMP is not supported meanwhile on BigIP 6900 is working with this feature by default. I can read this from the 9.4.8 Release Notes:
Global variable in iRule and CMP (CR93820)
In this release, if an iRule containing a global variable is removed from a virtual server, the virtual server is eligible for full Clustered Multi-Processing (CMP), rather than remaining relegated to a single Traffic Management Microkernel (TMM).
So am I using a Global variable at my iRule ¿? any idea about my problem ¿?
Thanks in advanced.