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
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.