Forum Discussion

Pete_Paiva_7147's avatar
Icon for Nimbostratus rankNimbostratus
Jul 11, 2012

iRule 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-


Pool 2-






1. I connect to VIP (ex:


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's avatar
    Icon for Cirrocumulus rankCirrocumulus


    Check out lb::server with activemembers query for a good starting point.





    Hope this helps,


  • You can also use a single pool with priority group activation. You can check the LTM config guide for your version for details.



  • i might be lost. just wondering if it is not what health monitor does.