Technical Forum
Ask questions. Discover Answers.
cancel
Showing results for 
Search instead for 
Did you mean: 
Custom Alert Banner

TPS-Based redirection of traffic to other virtual server

teemo_13
Cirrus
Cirrus

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?

7 REPLIES 7

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.

@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.

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

 

@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.

Yes, three VS all on the same device. The first is called the intermediary VS and it's the one facing your customers and which is load balancing to your two others called internal VS, those two can have any IP address even from a subnet not in your network, I usually use 203.0.113.0/24. 

Based on this, we will be using iRule and not the normal VS as a Pool config?

No iRule needed. The two VS will be members of the pool associated to the first VS. F5 will handle this part of the flow internally