Hi,
My app now is using standalone mongodb in production environment, I want to convert it to a Replica Set. Lookup the document, it has some solution to do it.
1. Refer to
http://docs.mongodb.org/v2.2/tutorial/convert-standalone-to-replica-set/, convert it to Replica set and add member to new Replica set.
2. Build a new Replica set, dump old data and restore to new Replica set. But it will take some time to dump data.
For first solution, I have some doubt.
1. my standalone mongodb has production data, convert it to replica set, will it lose data?
2. If operation failed, can it recover?
3. Any other risk for this solution?
Thanks,
Linbo