Forum Discussion

Justin_Vander_Z's avatar
Justin_Vander_Z
Icon for Nimbostratus rankNimbostratus
Dec 26, 2018
Solved

Tell F5 to drain node from application

Is it possible to set a flag on an application server (jboss) that would tell the F5 to "take me out of the pool"? We control the AS but the administrator for our F5 is in a different department so rather than depending on the F5 Admin to drain a given node, we would like to be able to communicate to the F5 from the node itself that it should remove this node from the pool.

 

Once a node is removed, could we send another message from the AS back to the F5 to add the node back to the pool?

 

  • You could have a custom monitor check a file you have sitting on the node. You could have a that monitor set to have an enable and disable string.

     

    That way you could have a file on the node which you can modify to have the health check fail or pass, which would enable or disable that member.

     

    It could be an HTTP monitor with a send string like: GET /

     

    and a receive string as "up" and a receive disable string as "down"

     

    You could go and change the contents of the file the monitor is querying remotely and it would effect the status of the pool member.

     

    You can find more info HERE

     

    Hope that helps!

     

    -Dylan

     

1 Reply

  • You could have a custom monitor check a file you have sitting on the node. You could have a that monitor set to have an enable and disable string.

     

    That way you could have a file on the node which you can modify to have the health check fail or pass, which would enable or disable that member.

     

    It could be an HTTP monitor with a send string like: GET /

     

    and a receive string as "up" and a receive disable string as "down"

     

    You could go and change the contents of the file the monitor is querying remotely and it would effect the status of the pool member.

     

    You can find more info HERE

     

    Hope that helps!

     

    -Dylan