Forum Discussion

Ganesh_Ramamoor's avatar
Ganesh_Ramamoor
Icon for Nimbostratus rankNimbostratus
Dec 11, 2005

disabling a member

I'm looking for a way to disable a member (and close all the existing connections to the server) as soon as a problem is detected on a server machine, so that none of the subsequent requests - even from the current client connections - are sent to that server. I have a health monitor running but the lowest resolution on that is 1 second and I would like the server to be disabled sooner (in the order of a few milliseconds). I tried disabling the member using the bigpipe command to do disable the session for that particular member. But that only diverts all requests from new client connections and does not close the existing connections with that server.

 

Is there a way to do it by using an iRule? When the problem is detected, I can send a message which can trigger the iRule, but how can I close all the connections to that server in the iRule? Or is there an easier way to do this?

 

 

Thanks in advance.

 

  • drteeth_127330's avatar
    drteeth_127330
    Historic F5 Account
    At present, pool member status cannot be changed from an iRule. However, this feature is scheduled for an upcoming release.

     

     

    If the service check does not provide sufficient resolution, then you might try writing an iControl application to force the pool member down. bigpipe would work as well. To close the existing connections, you need to set the "action on svcdown" attribute on the pool to reset. Good luck!