I want to start over the configurations of replica, is it possible? How to reset it?
In group people saying to remove the database content, but are there any work around?
I have a fast Windows 7 PC with 8Gb RAM. I want to test this MongoDB replica set: http://www.mongodb.org/display/DOCS/Replica+Sets for my development. I dont want to buy 3 PCs though, as it's kind of expensive. Is there a way to use some kind of technology, like Hyper-V, to be able to set it up? If not, how many PC and what kind should I buy?
If you are running MongoDB on production environment it is essential that you setup a real time replication of your primary instance. Using replica set, you can also scale horizontally and distribute the read load across multiple mongodb nodes. This tutorial explains in detail on how to setup MongoDB replication.
Occasionally, when troubleshooting the health of a replica set, I'd like to filter out the heartbeat packets specifically, track them going out, and the subsequent reply (or lack thereof) without all the noise of the other data that is flowing between the sets.
Unfortunately, these packets are structured in much the same way as normal commands/queries and responses.
Will a delayed sync replica set member protect me from dropped database?
Will the drop database sync across members of a replica set immediately - or will I have the sync delay time to take the delayed member offline and save the data?
I have setup mongod replica consisted of 3 nodes + 1 delayed hidden node + arbiter.
I have setup DNS: primary and secondary internal DNS (bind) servers, so that I can reference nodes by normal FQDN name instead of IP address.
I have secondary DNS to handle requests while (if) primary is down.
I'd like to make a backup of a MongoDB replica set in a way that I can ensure the database consistency at the time when the backup starts. As the documentation says, --oplog flag to mongodump will copy also the oplog during the backup process.