Patch upgrade procedure#
Patch upgrades within the same minor release require no changes to
harbor.yml. Download the new patch installer, copy your existing
harbor.yml, and re-run the installer.
-
Connect to the host running MSR over SSH.
ssh <USER>@<MSR-HOST-IP> -
Rename the MSR old version directory.
mv msr msr-<PREVIOUS-PATCH-VERSION> -
Download the target MSR installer package.
Locate the
.tgzinstaller package for the latest MSR release at Mirantis Packages. The release is available as a single bundle and is suitable only for offline installations.wget https://s3-us-east-2.amazonaws.com/packages-mirantis.com/msr/msr-offline-installer-<VERSION>.tgz -
Extract the package.
tar xvf msr-offline-installer-<VERSION>.tgz -
Navigate to the extracted folder.
cd msr -
Copy the
harbor.ymlfile used for the current installation to the newly extracted folder.cp -p <PATH-TO-MSR-OLD-DIRECTORY>/harbor.yml . -
Stop running MSR services.
cd <PATH-TO-MSR-OLD-DIRECTORY> docker-compose down -
Run the new installer.
cd msr-offline-installer-<TARGET-VERSION> sudo ./install.shIf your deployment includes Trivy for vulnerability scanning, pass the
--with-trivyflag:sudo ./install.sh --with-trivy