Skip to content

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.

  1. Connect to the host running MSR over SSH.

    ssh <USER>@<MSR-HOST-IP>
    
  2. Rename the MSR old version directory.

    mv msr msr-<PREVIOUS-PATCH-VERSION>
    
  3. Download the target MSR installer package.

    Locate the .tgz installer 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
    
  4. Extract the package.

    tar xvf msr-offline-installer-<VERSION>.tgz
    
  5. Navigate to the extracted folder.

    cd msr
    
  6. Copy the harbor.yml file used for the current installation to the newly extracted folder.

    cp -p <PATH-TO-MSR-OLD-DIRECTORY>/harbor.yml .
    
  7. Stop running MSR services.

    cd <PATH-TO-MSR-OLD-DIRECTORY>
    docker-compose down
    
  8. Run the new installer.

    cd msr-offline-installer-<TARGET-VERSION>
    sudo ./install.sh
    

    If your deployment includes Trivy for vulnerability scanning, pass the --with-trivy flag:

    sudo ./install.sh --with-trivy