Server Maintenance Mode to Suspend All Services?
Hi All
I had a server run out of disk space earlier today and while it is currently being fixed, I went looking for an option to suspend the entire server or put it in a maintenance mode. But I cannot find anything.
I have stopped apache and exim from an ssh session while I add-in a new drive, but I expect there are other services that will be still interacting with external users or internally for logging etc.
While it is too late for this time around, but is there a function to present a 'Maintenance Mode' for an entire server and not just a single account?
Thanks
-
Hi @thowden cPanel does not have a maintenance mode as you're suggesting though you can stop services such as. If you'd like to see this as part of the product I'd urge you to open a feature request using the link in my signature. Once open reply here with the link so that others may vote on it. Thanks! 0 -
How is this in 2022 not a feature... It would be far easier to be able to put something like a nice Migration message or Maintainance message while transferring clients between hardwares, etc than just DEAD site like block port 80 443..etc 0 -
With WordPress Toolkit, you can easily put a site in maintenance mode with the details here: Transfer Tool | cPanel & WHM Documentation) there are proxies setup on the Source machine that will direct traffic over to the Destination system, so no downtime happens as part of the migration work. 0 -
Hi It was an issue that occurred for me a few years back and has not been needed since. The lack of comments from anyone else for 3 years also indicates that as a feature even if it did exist, it would rarely be used and I am certain there are more important tasks for the dev team. @cPRex, the two tools suggested are helpful but mainly for single sites. My original issue was looking for a maintenance mode at the server level. @Steini, I did a quick search and I found your feature request from 2 years ago, which has 9 'likes' in that time. Probably insufficient interest to get the dev team to consider spending time on it. If anyone is reading this thread and likes the idea of a maintenance mode at server level, then head over to the feature requests area at 0 -
For what my 2 cents are worth, this is what a company status pages are for. 0 -
Hi Agreed for the purpose of announcing outages, estimates of duration, etc.... but for a client hitting up a server connection for any service on a server, it would still be preferable to have a 'polite' - 'My name is Server and I have failed you, temporarily' type message that could link to the status pages for more info. Particularly for the smaller hosts that are trying to manage everything themselves. 0 -
Hi It was an issue that occurred for me a few years back and has not been needed since. The lack of comments from anyone else for 3 years also indicates that as a feature even if it did exist, it would rarely be used and I am certain there are more important tasks for the dev team. @cPRex, the two tools suggested are helpful but mainly for single sites. My original issue was looking for a maintenance mode at the server level. @Steini, I did a quick search and I found your feature request from 2 years ago, which has 9 'likes' in that time. Probably insufficient interest to get the dev team to consider spending time on it. If anyone is reading this thread and likes the idea of a maintenance mode at server level, then head over to the feature requests area at for $i in cat /path/to/list ; do /usr/local/cpanel/scripts/suspendacct $i Something like that, everyone 100's and 100's of the accounts got all suspended, but to them it was "Migration time", so they waited patiently, everyone was suspended, we ended up, doing The transfer and gave ourselves 6-8 hours, so no stress, we transfer everything over in suspended state, then unsuspend every account using similar for loop, and then we went through the genuine suspended list, and replicated that manually all 20-30 accounts suspended.. and after that it was just replace the IP part etc, shut down the other server, pickup the IP like you normally do, arp it to the server and boom like magic all sitse back up. PS: This was far from ideal but this is my methodto the madness of maintaining order during my migrations of 800+ accounts.
0
Please sign in to leave a comment.
Comments
7 comments