cancel
Showing results for 
Search instead for 
Did you mean: 

Health performance Irule with multi APIs to check and redirect if there is an issue

Saivny
Nimbostratus
Nimbostratus

Hi F5 Community ,

 

i have been asked to put a health performance irule to check multi APIs on same backend pool there are 100s of API that sit on these BE servers but when top 5 see that there is lag then we will need to redirect traffic to other pool.

 

when http_response {

clientside {set rtt [tcp::rtt]}

if ($rtt < 1600 ) {

pool poolx

}

else

{

log "compress rtt=$rtt"

pool your pool2

}

}

 

above is for all the responses on the Virtual server i was wondering if we can add some variables and loops to check 5 APIs rtt and then take a decision on it.

 

if any one has already done it please help me out here.

 

 

1 REPLY 1

It might be possible if you create 5 unique pools to the same backend and monitor the rtt to these pools seperately. For example see the iRule that is being used for Exchange deployments.

 

0691T00000F7iB7QAJ.png