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?
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).
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?
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.
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).
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?
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.