Forum Discussion
Subhajit1107_38
Apr 27, 2019Nimbostratus
Find pools ( via iRule) to VS mapping
Hi,
If the pools for a vs is associated via iRule like below, is there a command or script or way to get which pool is associated with what VS
when HTTP_REQUEST {
switch -glob [string tolower [H...
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]
}
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