Forum Discussion
Macaron
Sep 07, 2017Nimbostratus
f5 maintenance page when LB_Failed using iFiles
Hi, I Created an HTML maintenance page and want to call it in iRule using iFiles. I am not using HTTP profile with VIP. Can someone please help how can I call maintenance page using iFile.
My iRul...
P_K
Sep 07, 2017Altostratus
Try this
when LB_FAILED {
if {[active_members [LB::server pool]] <1 } {
HTTP::respond 200 content [ifile get "Maintenance_Page_Name"] }
}
Note: You should upload your html file onto BigIP before calling it using iFile.
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects