Forum Discussion

Tim_Carpita's avatar
Tim_Carpita
Icon for Nimbostratus rankNimbostratus
Aug 27, 2019
Solved

How to Setup 1 vip pointing to two Pools

In an effort to streamline our monthly patching we want to put 20 webservers into pool A and 20 webservers in pool B. During normal operation all pools take load however during maintenance we would drain Pool A on monday, Tuesday patch the webservers then re-enable Pool A. Repeat for pool B. The gui doesn't allow adding multiple pools, only a default pool. According to the documentation it would require an iApp. My question: what is the best way to accomplish this task?

  • Hello Tim.

    You have many ways to configure this. One idea which comes to my mind right now is to have 3 pools.

    • Pool_A: 20 webservers
    • Pool_B: 20 webservers
    • Pool_C: 20 + 20 webservers

    You can use a table variable to define what pool to use in every moment. Initially this variable is set to Pool_C, and depending on the status of Pool_A and Pool_B you can switch the pool selection.

    ​This is one approach which can give some idea to develop your own scenario.

    REF - https://devcentral.f5.com/s/articles/Especial-Load-Balancing-Active-Passive-Scenario-II

     

    Also, another idea is to use VIP-Tarjeting-VIP to set one VIP which has one pool with two nodes in RR (VIP_A and VIP_B). This is another approach which can help.

    REF - https://devcentral.f5.com/s/articles/especial-load-balancing-active-pasive-scenario-1199

     

    KR,

    Dario.

  • Hello Tim.

    You have many ways to configure this. One idea which comes to my mind right now is to have 3 pools.

    • Pool_A: 20 webservers
    • Pool_B: 20 webservers
    • Pool_C: 20 + 20 webservers

    You can use a table variable to define what pool to use in every moment. Initially this variable is set to Pool_C, and depending on the status of Pool_A and Pool_B you can switch the pool selection.

    ​This is one approach which can give some idea to develop your own scenario.

    REF - https://devcentral.f5.com/s/articles/Especial-Load-Balancing-Active-Passive-Scenario-II

     

    Also, another idea is to use VIP-Tarjeting-VIP to set one VIP which has one pool with two nodes in RR (VIP_A and VIP_B). This is another approach which can help.

    REF - https://devcentral.f5.com/s/articles/especial-load-balancing-active-pasive-scenario-1199

     

    KR,

    Dario.

    • Tim_Carpita's avatar
      Tim_Carpita
      Icon for Nimbostratus rankNimbostratus

      Thanks Dario. I was able to successfully implement the Active/Passive Scenario. It's working well.

       

      Tim

      • Dario_Garrido's avatar
        Dario_Garrido
        Icon for Noctilucent rankNoctilucent

        Great, glad to hear this!

         

        BTW, I would appreciate if you mark the answer as "the best" or give me some upvotes.

         

        KR,

        Dario.