Antoine_80417
May 27, 2013Nimbostratus
active_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 pool is a pool used to load balance OCSP request toward our OCSP responders.
The irule is as follows :
when CLIENT_ACCEPTED {
if { [active_members [LB::server pool]] < 1 || [active_members pool-OCSP] < 1 } {
do something
} else {
do something else
}
}
What is weird is that when the pool-OSCP has available members and the application pool has no available members, the virtual server state will be displayed as "Up". It's quite disturbing... Any idea on how to force the virtual state server back to "Down" ?
Thanks
Antoine