For more information regarding the security incident at F5, the actions we are taking to address it, and our ongoing efforts to protect our customers, click here.

Forum Discussion

zafer's avatar
zafer
Icon for Nimbostratus rankNimbostratus
Mar 20, 2014

pool member down when we see error code 5XX

i found some rules but it does not solve the my problem. we have 2 apache server and 2 application server. i want set down the apache server when i got error message from it. error message will come from application server topolology like this apache 1 --> app1 apache 2 --> app2 we load balance the apache and admin want set apache when application send 503 error code

 

i tried some rule it use LB::down and member goes inactive but when application available it does not change state to up

 

regards zafer

 

3 Replies

  • one option is to reverse the logic of a HTTP monitor and put a regex in the response section.

     

    check the "reverse" option in the http monitor and if the response matches then the member will be marked down as apposed to up.

     

    thanks B

     

  • Why not use an HTTP monitor instead of an iRule? If the servers are up, they should return a 200 message (or something similar). Then if you aren't receiving that, mark the node down.

     

  • zafer's avatar
    zafer
    Icon for Nimbostratus rankNimbostratus

    503 message comes from application, we load balance only apache and i guess we need transparent monitor?