Forum Discussion
George_33482
Mar 10, 2012Nimbostratus
iRule pool selection after checking
Hello,
Kindly i need some assistance to complete part of the iRule. i have a LC and i want to select a pool member based on source address. But first i want to check if the pool member is ...
Ian_Smith
Mar 11, 2012Ret. Employee
Try something like:
set p my_pool_name
set m my_pool_member_ip:port
if { [active_members $p] > "0" } {
if { [lsearch -exact [active_members -list $p] $m] } {
pool $p member $m
} else {
pool $p
}
}
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