MongoDB -what's the safest and most efficient way to change from Master-Slave to ReplicaSet?

Posted by SecondThought on Server Fault See other posts from Server Fault or by SecondThought
Published on 2012-06-07T09:13:36Z Indexed on 2012/06/07 10:42 UTC
Read the original article Hit count: 423

I now have two mongo servers with a Master-Slave configuration (all read-writes are done with the Master, the Slave is just a cold backup) serving a pretty demanding web app. I want to switch to ReplicaSet of 3 servers - I have these 3 already configured and working (still not connected to the web app). Just wondering what's the most efficient way (shortest down-time required, and lossless transfer of all data) to transfer all the data from the master/slave to the RS.

© Server Fault or respective owner

Related posts about replication

Related posts about mongodb