I’m having some issues with this one, and haven’t been able to put together anything useful.
We have been requested to look into limiting the connections (http) to nodes. The setup is fairly straightforward, and I’d probably be able to tweak one of the example scripts off of Codeshare, but we are using pools for more than one VIP, and also on occasion nodes in more than one pool which seems to rule out limiting connections per VIP or pool?
Is there a way that we can somehow monitor and manage a maximum connection limit to each node, and serve a maintenance page or redirect to a maintenance pool for overflow? I would expect this would need to be tracked via session cookie or something, to differentiate between current and new clients.
Eg. server limit 250 connections, new connection number 251 gets redirected to a “Too many users, please try again later” page or overflow pool.
I did have a look at that one, though I don’t think default limits will work as described, as they want to be able to hand off to a specific server or “downpage” once the node limit is reached.
I essentially need a way to track NODE connections and limit, regardless of VIP connection numbers.
You could test by setting a connection limit on the node to 1, configuring an iRule which logs something in the LB_FAILED event and then make two connections to the VIP.