Forum Discussion
Sorry Page when all the pools associated with the Application is down
This is the Irule I'm using:
when HTTP_REQUEST { if {[active_members [LB::server pool]] == 0} { switch [HTTP::uri] { "/h_abc.gif" { HTTP::respond 200 content [ifile get "h_abc_gif"] } "/" { HTTP::respond 200 content [ifile get "maintenance_wo_closebtn"] } } } }
This sorry page is a HTML page with images embedded.
I tried to replace the when HTTP_Request with when LB_Selected but it gives error. 01070151:3: Rule [/Common/user-maintenance_rule] error: /Common/user-maintenance_rule:4: error: [command is not valid in current event context (LB_SELECTED)][HTTP::respond 200 content [ifile get "h_abc_gif"] ]
Recent Discussions
Related Content
* 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