Forum Discussion
Wasim_Khan_1422
Nimbostratus
Jan 28, 2014Can i bring a webpage (node) up/down using irules?
Web Administrator ability to take Web Page Up/Down
IheartF5_45022
Nacreous
Jan 28, 2014Agree with all comments above, however to answer the question regarding an iRule to perform this function, there a command LB::DOWN which marks the currently selected pool member down, however the result of this is that the monitor is immediately fired and if all is well will bring the node back up again immediately.
We do what Arie suggested above, and change the contents of a file /platform/mode.jsp from "normal" to "maintenance" (for a hard shutdown) and "transition" (for a soft shutdown);-
ltm monitor http bpweb_http_mode.jsp {
defaults-from http
interval 5
recv "normal"
recv-disable "transition"
send "GET /platform/mode.jsp\r\n\r\n"
time-until-up 0
timeout 16
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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