Forum Discussion

Koalan_365603's avatar
Koalan_365603
Icon for Nimbostratus rankNimbostratus
Nov 08, 2018
Solved

Select secondary pool member if the health monitor fails on the main pool members

Hi, I don't know if you understand my title but anyway let me further explain:

 

So let's say

 

VIP = 1.1.1.1:443 POOL = 2.2.2.1:443 and 2.2.2.2:443

 

But 2.2.2.1:443 is the main pool member - where all traffic should only goes to that pool member unless when the health check mark it as down, it is the only time the traffic will pass to 2.2.2.2:443, and when 2.2.2.1:443 becomes online or marked as up again, the traffic will go back to it.

 

Can you share any iRule or steps I can do to make this happen? Thanks!

 

  • Without irule you can achieve this... If you have more then 2 members in group then apply priority group activation method in pool.

     

    If you have only 2 members in pool, then increase ratio of primary member like 5 and secondary keep default. In this case all the traffic will go to higher ratio first ..

     

3 Replies

  • Without irule you can achieve this... If you have more then 2 members in group then apply priority group activation method in pool.

     

    If you have only 2 members in pool, then increase ratio of primary member like 5 and secondary keep default. In this case all the traffic will go to higher ratio first ..

     

    • Koalan_365603's avatar
      Koalan_365603
      Icon for Nimbostratus rankNimbostratus

      So if the pool member with higher priority goes down, the traffic will go to the secondary right? Then if it goes online again, it will go back to the main pool member?