Forum Discussion

Jose_Diaz_10600's avatar
Jose_Diaz_10600
Icon for Nimbostratus rankNimbostratus
Nov 08, 2006

Enable/Disable a Node Based on Page Error

Hi.

 

 

Recently, we buy a new F5 (GTM and LTM) to load balancing 4 web servers. I want to create a iRule or iControl script to disable a node when we somo critical pages return an error. For example, if I have a page that process the payment of a product and this page fail because a COM error, then I want to disable the node so no more order can't be create in this server.

 

 

What can I use? iRules or iControl? Did you have some sample code?

 

 

Thanks.

 

 

Jose
  • Deb_Allen_18's avatar
    Deb_Allen_18
    Historic F5 Account
    Hi Jose -

     

     

    Actually you should be able to use multiple HTTP ECV monitors with custom Send/Receive strings to mark the node DOWN on failure.

     

     

    See the LTM config guide for details:

     

    https://tech.f5.com/home/bigip-next/manuals/bigip9_2_2/bigip9_2_2config/BIG-IP_9_2_2ltm_guide-11-1.htmlwp1182621

     

    Click here

     

     

    HTH

     

    /deb