whisperer
Apr 25, 2013MVP
Virtual Statement String Processing
Having some issues with the 'virtual' statement within a v9 iRule. The code basically includes the following pertinent statements:
when HTTP_REQUEST {
set app_pool [LB::server pool]
virtual "${app_pool}_SOME_STRING"
unset app_pool
}
The error then seen in logs is the following:
TCL error:
HTTP_REQUEST - Failed listener_lookip: virtual line 1 invoked from within virtual ${app_pool}_SOME_STRING
In this case, lets assume the following:
Pool Name: "my_app"
VIP: "my_app_SOME_STRING"
Thusly, the Pools and VIPs exist....
Perhaps I have either (a) wrong syntax somewhere or (b) the 'app_pool' variable is not being set properly?