Forum Discussion

Gcardinal_34604's avatar
Gcardinal_34604
Icon for Nimbostratus rankNimbostratus
Mar 02, 2015

change status on a pool member to "forced offline" mode on specific http header

Hello

 

With a big 11.6 ip We have an application where a servers are at 100% of cpu and memory with 300 sessions (sessions on a server use multiple tcp tcp connections). Sessions have an average of 4 minutes. The connections are very intensive (fast and large numbers). The server can indicate a parameter in the http header where the number of session raise 250 sessions. Could I use an Icall to put the pool member in "Forced offline" where that parameter come from th server. For exampe: on HTTP_reponse if http header contain "Saturate" then force the pool member in forced offline status. The advantage is the current connections will not be cut off. My user will stay connect to the server. I can load balance to another server the traffic. There will be no news connections sent up until the number of session goes under 250.

 

I don't know about Icall but I found nothing to do with an irule.

 

1 Reply

  • what about the alternative: use a monitor that checks if server is saturated or not? If saturated, it will be marked as down. No new session will be sent to that server and active connections will be kept (if you do not reselect in "Action on Down") until finished.

     

    "When a pool member fails to respond, as configured, to a health monitor, the system marks that pool member down, and continues to monitor it to determine when the member becomes available again. While a pool member is marked down, the system does not send any new connections to that pool member."