We are upgrading our software which is going to require an update to our MongoDB database. We plan on doing it by making a copy of the existing ReplicaSet with a new name and making our updates to the new one and then switching when everything is ready. Both of these ReplicaSet will be on the same servers.
So our current production database is a ReplicaSet across 3 servers and is on Mongo-a, Mongo-b and Mongo-c We want to have our new (soon to be production) database spread over these same three servers
I've already created the new standalone database under its new name (Did mongodump from the Primary and then Restored it as a standalone under its new name on same volume as the Primary). What I want to do now is change this new database from a standalone to a ReplicaSet without impacting the original Production ReplicaSet
I found - Convert a Standalone to a Replica Set http://docs.mongodb.org/manual/tutorial/convert-standalone-to-replica-set/
But this example just shows a single ReplicaSet and I just want to make sure that the procedure would still work with two databases on the same servers. In the example the name of the ReplicaSet to be converted from a standalone is one of the mongo startup options ( --replSet ) . Would that option need both the original and new ReplicaSrt names or just the new one to be converted from Standalone ?
The version of MingoDB we are running is 2.6.5 and this is being done on Ubuntu 12.04
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/d4bfd120-1f20-4965-8d74-7ad020a0d637%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Paul,
It's *not* possible to have a single mongod process access more than one data directory nor be a member of more than one replica set.
To put it another way, a *mongod* can ONLY be a member of ONE replica set.
Asya
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: http://www.mongodb.org/about/support/.
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/20817ebc-bb2a-4dad-ab45-474de175f55b%40googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "mongodb-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mongodb-user/opQuX2qbzio/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mongodb-user...@googlegroups.com.
To post to this group, send email to mongod...@googlegroups.com.
Visit this group at http://groups.google.com/group/mongodb-user.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/CAOe6dJBrMA1Mu%2B5_FbisxsR9DNNQjHimJXkaf2SAyeAbzdntYw%40mail.gmail.com.