Hi All, I am going to Upgrade a Sharded Cluster Mongodb 3.2.7 to 3.2.13(community edition) on RHEL 6.6 through Ansible.
As per the Mongodb Doc recommendations --
1> Stop Metadata Changes(any operation which changes the metadata) during the Upgrade
2> Stop Balancer
3> Back up the config Database(Optional)
4> Upgrade the secondary members of the replica set one at a time.
5> Restart the member and wait for the member to recover to SECONDARY state before upgrading the next secondary member.
6> Step down primary using rs.stepDown()
7> Shut down the stepped-down primary and upgrade
8> Restart the stepped-down primary.
9> Upgrade the config servers one at a time in reverse order of the configDB or --configdb setting for the mongos.
10> Upgrade the mongos instances one by one.
11> Re-enable the balancer.
Does step 9 hold still true for 3.2.7 to 3.2.13?
Or
we only can follow the steps (4,5,6,7,8) of shard server up-gradation?
Also, I would appreciate if anyone is having Ansible playbooks for MongoDB upgrade and could share with me. Or any reference for MongoDB upgrade through Ansible.
Regards
Pravin