Forum Discussion
uni
Altocumulus
16 years agoTesting for the pool name
Is it possible to test what pool is assigned to a virtual? Something along the lines of
if { pool == myPool }
hoolio
Cirrostratus
16 years agoHi Stephen,
You can use LB::server to get the name of the VIP's default pool:
http://devcentral.f5.com/Wiki/default.aspx/iRules/lb__server
when CLIENT_ACCEPTED {
Save the name of the VIP's default pool
set default_pool [LB::server pool]
}
Aaron
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
