Hi Scott,
I can't think of a simple way to stop monitoring the pool if the available pool member count drops to one. And if you could do this, how would you know if any of the other pool members had come back to life?
You could add one or more pool members to a second pool and not configure a monitor on that pool. You could then use an iRule which checks if the main pool has no available members and then selects the second pool.
The rule could be something like:
when CLIENT_ACCEPTED {
Check if the VS's default pool has no active members
if { [active_members [LB::server pool]] == 0 } {
Select the second pool
pool standby_pool
}
}
Aaron