Forum Discussion
Lee_Sutcliffe
Apr 27, 2019Nacreous
The iRule command
LB::server name
Will return the pool name associated with the virtual server processing the request.
For example, you can set the default pool name assigned to the virtual server in a variable, to be used elsewhere in your iRule.
when HTTP_REQUEST {
set poolName [LB::server name]
}