Forum Discussion
Samir
May 25, 2019MVP
Try below iRule, which will you to solve issue.
when LB_FAILED {
if { [active_members POOL-NAME] < 1 } {
# Log and direct the client to Maintenance Page
HTTP::respond 200 content {
<html><head><title>Apology Page</title></head><body>
<center> We are sorry, but the site you are looking for is temporarily under maintenance.<br>
----------- <br>
Please try after sometime or contact your system administator</center>
</body></html>
}
}
}
- AlanRodMay 27, 2019Nimbostratus
Good day Samir,
Thanks for your help.
We used the iRule and changed "POOL-NAME" with our client's Pool, applied the iRule to our client's Virtual Server but when disabling our client's Node (for testing purposes) the Apology Page does not load. Is there something we are missing?
- SamirMay 27, 2019MVP
Just forcefully disable node. It will work..