Forum Discussion
Pete_Paiva_7147
Nimbostratus
13 years agoiRule to determine what pool the VIP should send traffic to?
I'm looking to create an iRule that would look at the status of a pool and send VIP traffic to it.
For example:
Pool 1-1.1.1.1
Pool 2- 1.1.1.2
1. I connect to VIP (ex: testing.mysite.com)
2. If pool 1 is down, send traffic to pool 2
3. And the same for the reverse, if pool 2 is down, send traffic to pool 1
Any assistance would be greatly appreciated - Thanks!
3 Replies
- nathe
Cirrocumulus
Pete
Check out lb::server with activemembers query for a good starting point.
https://devcentral.f5.com/wiki/irules.LB__server.ashx
Hope this helps,
N - hoolio
Cirrostratus
You can also use a single pool with priority group activation. You can check the LTM config guide for your version for details.
Aaron - nitass
Employee
i might be lost. just wondering if it is not what health monitor does.
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