Upgrade on Swarm

To upgrade to a later patch version, you must include a reference to the values.yaml file when running the msr-installer image.

  1. SSH into a manager node on the Swarm cluster in which MSR is running.

  2. Verify that you have the values.yaml file that you generated to install and modify your MSR deployment.

  3. Obtain a list of the worker nodes along with their node IDs, noting the IDs of the nodes on which MSR is installed:

    docker node ls --format "{{ .ID }}" --filter "role=worker"
  4. Edit the values.yaml file to specify the list of worker nodes on which MSR is installed.

  5. Upgrade MSR, specifying a node ID for each node on which MSR is installed:

    docker run \
      --rm \
      -it \
      -v /var/run/docker.sock:/var/run/docker.sock \
      -v <path-to-values.yml>:/config/values.yml \
      registry.mirantis.com/msr/msr-installer:<new-msr-version> \
  6. Review the status of the deployed services:

    docker stack services msr