Forum Discussion

teemo_13's avatar
teemo_13
Icon for Cirrus rankCirrus
Mar 01, 2023

TPS-Based redirection of traffic to other virtual server

We would like to inquire if it is possible to dynamically route traffic to 2 different VS based on the TPS it is receiving.

Basically 2 sources will initially go to 1 VS, then if a certain TPS threshold is reached, the traffic will be redirected to the other VS. Is this possible? via iRule maybe?

  • You can configure and point users to an intermediary VS with an associated pool containing two members: your two mentioned VS. In these two VS, configure your connection limit or connection rate limit as per your requirement. If you want an active/backup scenario for your two VS you need to configure also priority group in the pool.

    • Paulius's avatar
      Paulius
      Icon for MVP rankMVP

      teemo_13 definitely what Amine_Kadimi said. Another option is if you have a BIG-IP DNS license you can use health monitors on it to respond with specific destinations based on information it receives from that health monitor but it definitely wont be as responsive to connection limits as the virtual server option would be.

    • teemo_13's avatar
      teemo_13
      Icon for Cirrus rankCirrus

      Does this mean that I need to put another VS in front of my 2 existing VS? Another F5 device perhaps?

       

      • Paulius's avatar
        Paulius
        Icon for MVP rankMVP

        teemo_13 I believe you can balance back to the same F5 but you will have to enable SNAT on the first virtual server that accepts the initial request.