Forum Discussion
THE-F5_253023
Nimbostratus
Dec 03, 2016Request irule for select pool
Is there idea write irule for this case ?
if source client ip 1.1.1.1 select to pool A and then another source client to pool B
but i want a condition , if pool A status down Client IP 1.1.1.1 switch to pool B
and when pool A fallback is to available [Pool A up] The client 1.1.1.1 switch back to pool A
Thank a lot for the any answer
1 Reply
- M_2
Altocumulus
Hello John,
Not pretty sure,can you try the below irule or tweak it any thing is wrong.
when CLIENT_ACCEPTED { if { [IP::addr [IP::client_addr] equals 1.1.1.1] } { if { [active_members poolA] >= 1 } { pool poolA } else { pool poolB } } else { pool poolB } } SAM
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