Upgrading mongo image version to 3.6.
Additionally updated docker swarm schema to 3.7.
Important: if you are upgrading AET from the version that used mongo 3.2, please read carefully upgrade notes before migrating.
Upgrade notes
Backup your data!
Upgrade to mongo image 3.4 first (set image: mongo:3.4 in aet-swarm.yml and deploy - docker stack deploy -c aet-swarm.yml aet). Wait until AET stack will be up.
Upgrade to mongo image 3.6 (set image: mongo:3.6 in aet-swarm.yml and deploy - docker stack deploy -c aet-swarm.yml aet). Wait until AET stack will be up.
Set setFeatureCompatibilityVersion flag to 3.6 (read more in MongoDB upgrade notes), run:
Upgrading mongo image version to
3.6
. Additionally updated docker swarm schema to3.7
.Important: if you are upgrading AET from the version that used mongo
3.2
, please read carefully upgrade notes before migrating.Upgrade notes
3.4
first (setimage: mongo:3.4
in aet-swarm.yml and deploy -docker stack deploy -c aet-swarm.yml aet
). Wait until AET stack will be up.27017
for mongo run:This should say
{ "featureCompatibilityVersion" : "3.2", "ok" : 1 }
.setFeatureCompatibilityVersion
flag to3.4
(read more in MongoDB upgrade notes), run:You should see:
{ "ok" : 1 }
3.6
(setimage: mongo:3.6
in aet-swarm.yml and deploy -docker stack deploy -c aet-swarm.yml aet
). Wait until AET stack will be up.setFeatureCompatibilityVersion
flag to3.6
(read more in MongoDB upgrade notes), run:You should see:
{ "ok" : 1 }