Project

General

Profile

Feature #5585

Minimize downtime on rccontrol upgrade

Added by Olivier Renaud 8 months ago. Updated 6 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
21.01.2020
Due date:
% Done:

0%

Estimated time:
Sorting:
Commit Number:

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.

History

#1 Updated by Marcin Kuzminski [CTO] 6 months ago

  • Status changed from New to Resolved

New version of installer now downloads packages before stopping processes.

Also available in: Atom PDF