Shard
Deploy MongoDB – Replication – Sharding
This page describe how to deploy MongoDB with Replication and Sharding. Replication (Replica Set) Create the necessary data directories for each member by issuing a command similar to the following: mkdir -p /srv/mongodb/rs0-0 /srv/mongodb/rs0-1 /srv/mongodb/rs0-2 Start your mongod instances in their own shell windows by issuing the following commands: First member: mongod –port 27017 –dbpath […]