Macaron
Sep 13, 2017Nimbostratus
Displaying maintenance page from the F5 using ifile and irule
Hi All, I am trying to display maintenance page using iFile and iRule but it is not working. I am currently on version 11.5.3 HF1. I created an HTML maintenance page and import it via File Management and added to iFiles. Whenever I try to hit the VIP from browser, maintenance page does not come up. I am using following iRule:
when HTTP_REQUEST {
if { [active_members [LB::server pool]] == 0 }{
HTTP::respond 200 content "[ifile get my_maintenance_File]" noserver Cache-Control no-cache Connection Close
}
}