Forum Discussion
enabling/disabling maintenance page IRULE remotely from browser or Script without having to login to the LTM
I have a question that I am assuming many on this forum may want to know or having similar objectives as I do.
Is there a way to remotely change an I-rule on an LTM for maintenance page purpose? I know one topic on this forum is to create a maintenance page I-rule that can be enabled or disabled via a connection to the LTM via the web browser (http://devcentral.f5.com/wiki/default.aspx/iRules/LTMMaintenanceWindow.html).
I have tried that and it does not work, or was not clearly shown how to run it. How is security controlled and if there is any other alternative in doing this?
How we do this on our end is to have a network admin login to the LTM and change the normal i-rule on a virtual server to the maintenance i-rule during our maintenance window. This limit us to one group and if we want anyone other than a network admin to do this task, we would have to give out an ID on the LTM.
Can I achieve this by:
1. Creating a script to do this(perl etc)? is there one already on this forum?
2. Can I connect to the LTM via a browser to do this (change i-rule) without using i-control?
Thanks again!
- The_Bhattman
Nimbostratus
Hi AH, - DM_5174
Nimbostratus
Hi Bhattman, - hoolio
Cirrostratus
A couple of other options for allowing the server admins to control which pool members receive connections (from a related post): - Michael_Yates
Nimbostratus
I wanted to do something similar to what you are asking for. I decided to take a slightly different approach. I hope it helps.System Maintenance NOTICE: This website down for system maintenance.
Maintenance Access Assistance Your IP Address is: [IP::client_addr] Please provide the IP Address listed above to the Support Team Representative assisting you with your maintenance window. This will allow the Representative to grant you override access to the maintenance page. Thank you.
Maintenance Access Status Website Maintenance is currently configured for your website. Day of the Week Maintenance is Schedule for: $target_day Scheduled Maintenance Start Time: $readable_start CST Scheduled Maintenance End Time: $readable_stop CST Current Time: [clock format [clock seconds] -format {%H:%M:%S}] CST If you have any questions please contact the Support Team Representative assisting you with your maintenance window. Thank you.
- Hey Michael, That's a good idea.. The only issue I would see is in real life maintenance windows run longer/shorter than expected.. How do you deal with that at your shop?
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