Forum Discussion
Rusty_Hale_8009
Nimbostratus
Apr 02, 2007Need redirect to different pool
I know that I have seen an iRule which says if the primary pool hass no active memebers, then send to another pool (kinda like a maintenance page). I searched the forums and code shares and could not find what I am looking for. Can someone point me in the general direction please? Thanks in advance.
- hoolio
Cirrostratus
You can check to see that there is at least one node in the pool marked up using active_members (Click here😞when LB_SELECTED { if {[active_members my_pool] < 1}{ no nodes available, so set a new pool, send a redirect or send another HTTP response ... } }
[active_members [LB::server pool]] < 1
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