Forum Discussion
Antoine_80417
Nimbostratus
May 27, 2013active_members change Virtual Serverstate
Hello,
I want to check the status of two pools in an iRule that is associated to a virtual server. The first pool is the application pool that is configured on the virtual server, the second poo...
Antoine_80417
Nimbostratus
May 28, 2013Found a solution... I put the health monitor used in the OCSP pool on the nodes, and in my iRule I check the node state instead of the pool state :
when CLIENT_ACCEPTED {
set active_members_ocsp 0
if { [LB::status node "10.10.10.10" up] || [LB::status node "10.10.10.20" up] } {
set active_members_oscp 1
}
if { $active_members_ocsp > 0 && [active_members [LB::server pool]] > 0 } {
do something
} else {
do something else
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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