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 that you generated to install and modify your MSR deployment.

  3. Obtain a list of non-manager 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. 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> \
      upgrade \
      --node <node-id>
  5. Review the status of the deployed services:

    docker stack services msr