Quantcast
Channel: StackExchange Replication Questions
Viewing all articles
Browse latest Browse all 17268

Can 2 MongoDB instances running on the same server point to the same data folder ?

$
0
0

I am in the process of upgrading my MongoDB replica set from 2.6 to 3.2. We are planning to create another replica set on the same set of machines as an option to fallback in case something goes wrong. In this context, I am trying to find out if the new mongod instance that i would install (on each of these servers to form a replica set) can point to the already existing data files folder being used by the live mongod instance ? Or do i have to take a dump and restore via mongodump/mongorestore ?

Thank you !!


Viewing all articles
Browse latest Browse all 17268

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>