Forum Discussion
vanandtara_1411
Jan 13, 2014Nimbostratus
LB::status not returning session_disabled status
Hello,
I have the following irule:
when LB_FAILED {
switch -glob [LB::status] {
"session_disabled" {
switch -glob [HTTP::uri] {
"/maintenance_img.png" {
...
vanandtara_1411
Jan 13, 2014Nimbostratus
Sorry, i added the
HTTP::respond 200 content [LB::status]
at the end of the above code just for debugging.
Alternatively, i could set a variable to toggle the maintenance page at the beginning of the irule, but i didn't want to have operators change irules for maintenance and just set the nodes to disabled in the pools. Logically, it would only display the maintenance page if this variable was set else it would just load a "loading" or "sorry will be right back" page when (active members [LB::server pool]] < 1).
Cheers! and TY again!
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