Forum Discussion

PatPerron_18894's avatar
PatPerron_18894
Icon for Nimbostratus rankNimbostratus
Apr 17, 2015

Pool member timeout

Hi,

 

I'm migrating from HA Proxy to Big-IP LTM and I'm looking for a way to set a server respond timeout on the pool member.

 

On my old HA proxy I can set a server timeout on the backend part (equivalent to a pool on Big-IP) is there a way to set that kind of timeout on a pool or pool-membre?

 

Thank you.

 

Best!

 

Pat

 

  • Yes you will need to create a TCP profile for the purpose. Assign it under virtual server settings in advanced view. You can use this profile across multiple virtual servers if they have the same setting.

     

    You cannot configure it on a per pool, or per member basis.

     

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    You can set the server side tcp profile independently from the client-side. Is that enough? As for HTTP response time itself... I'm not sure you can. You'd have to assume that the TCP idle time would catch that (Which unless you do somethign strange like setting really short TCP keep alive intervals, should do it).

     

    H

     

  • Hi Hamish,

     

    Thanks for your answer. So I need to create a TCP profile for each "personalized" timeout and apply that to each VS that need it? Is there a way to configure it directly on a pool?

     

    Best!

     

    Pat

     

  • Yes you will need to create a TCP profile for the purpose. Assign it under virtual server settings in advanced view. You can use this profile across multiple virtual servers if they have the same setting.

     

    You cannot configure it on a per pool, or per member basis.

     

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus

    TCP profiles go on the virtual server. not the pool.

     

    If you have many many profiles to create, then I'd probably look at an iRule that sets them dynamically on the server-side connection, and drive it by a data group (i.e. A single iRule that looks up the timeout in a data group/class and sets it when the server-side connection it made).

     

    H

     

  • Hi guys,

     

    Thanks again.

     

    Simple question about iRules and data groupe, if I have about 200 Virtual Server, about 15 datagroupe and about 10000 connections by second, what is the cost of using iRules? Will that drain an high amount of ressources on my Big-IP?

     

    Thanks

     

    Pat

     

    • Hannes_Rapp's avatar
      Hannes_Rapp
      Icon for Nimbostratus rankNimbostratus
      iRules are in use for environments ten times the size of yours. Make sure they are optimally written which means - do not define variables unless you have to (memory consumption); In case of IF or other conditional statements, use the most likely to occur events at the top (processing time). It comes down to what you're doing with the iRules - if you want to parse HTTP response payload - I would not recommend that, anything else can be done quite efficiently.
    • nitass's avatar
      nitass
      Icon for Employee rankEmployee
      you may try to apply irule to small set of virtual servers and then check its performance. so, you will have an idea how much it costs. https://devcentral.f5.com/s/articles/intermediate-irules-evaluating-performance-20433