Forum Discussion

Anas_Marabha_30's avatar
Anas_Marabha_30
Icon for Nimbostratus rankNimbostratus
Jan 03, 2017

iRULE for redirection

Dears,, I hope get help in my case. I try to define iRULE on LTM F5 the version is BIG-IP v11.4.0. the function of iRULE will be to check if the connections on VS reach specific number it will redirect the next connections to other VS. once the number of connections on first VS reduced the first VS resume receiving new connections.

 

Best Regards

 

5 Replies

  • I'm trying to think why you'd want to do this ?

     

    Would your application handle a redirect ?

     

    From the information we have, I would suggest it'd be more efficient to use a pool with PAG and node limits.

     

  • the reason to use this approach because we have two nodes in pool member but our application can handle maximum number of connections 10,000 connection after that the extra connections was reset. instead of reset we need to redirect the extra connection to other VS that have awareness message that the application are overloaded.

     

  • Still I can't see a use case for an iRule.

     

    I'd amend the pool to contain 2 sets of pool members. And use connect limits for Load balancing.

     

  • Dear the idea here when all nodes in the pool reach the limit how I can redirect the extra connections to awareness message (other VS)?

     

  • Does the 2nd VS have pool with pool members that will handle connections or just redirect ?

     

    If redirect is what you are seeking, why not just set connection limits per pool member and then use an iRule to redirect when the pool members reach the limit ?