Feature #5585
openMinimize downtime on rccontrol upgrade
0%
Description
rccontrol upgrade <instance>
stops the instance, downloads the tarball, installs it, and starts the upgraded instance.
As I want to minimize the downtime of my server when I upgrade it, I want the download to happen while the instance is still running. Instead of using the handy rccontrol upgrade <instance>
, my workflow is now:
- cd .rccontrol/cache
- rccontrol upgrade --offline
- wget
- rccontrol upgrade --offline
It would be nice if rccontrol upgrade <instance>
would perform the download before it stops the server.
Note: downloads are generally pretty fast for us (~1 minute), and if I had the guarantee it would always be this duration I would not bother. But for the 4.18 upgrade, for some reason our download speed from our server machine was super slow (wget estimated 30 minutes), and as rccontrol does not give a feedback of the download progress, my instance was stopped for 20 minutes with no apparent progress from rccontrol before I decided to kill it.