cancel
Showing results for 
Search instead for 
Did you mean: 

Redirect traffic after node rate limit has been reached

Gabriel_Basson
Nimbostratus
Nimbostratus

Good Evening

 

How do you rate-limit each node to the amount of connections that it can handle and then if it has reached the limit, how do you redirect the dropped connections to a "Sorry Server" ?

 

Please advise

 

Kind Regards

 

1 REPLY 1

Hi Gabriel Basson,

 

https://techdocs.f5.com/kb/en-us/products/big-ip_ltm/manuals/product/ltm-implementations-11-6-0/36.h...

https://clouddocs.f5.com/api/irules/active_members.html

when HTTP_REQUEST { if { [active_members [LB::server pool]] < 1 } { HTTP::respond 200 Content "Sorry Server Busy" } }