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!
nathe
2
Pete
Check out lb::server with activemembers query for a good starting point.
Hope this helps,
N
hoolio
3
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
4
i might be lost. just wondering if it is not what health monitor does.