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

MongoDb preparing for Sharded Clusters

$
0
0

We are currently setting up our mongodb environment for production. At the moment we only have one dedicated mongodb database server. We will expand this in the near future with a 2nd server and I already indicated to the management that for the ideal situation we should get a 3rd server as well.

Since I already know we're going to use sharding and replication in the near future I want to be prepared for it.

The idea I have now is to start now with the Development Configuration (as mongo's documentation names it).

Mongodb Development setup

Whenever our second server comes available I would like to expand this setup to a configuration with 2 configuration servers en 2 shards (replica sets). MongoDb Shared cluster

And of course when our third server comes available have the fully functional sharded cluster configuration.

While reading mongo's documentation I was getting triggered by the note that de Development setup should not be used in production.

MongoDb Development Configuration

Keeping in mind that we will add more servers soon, would it be a bad idea to already configure the Development Configuration already so we can easily add the 2nd server to the cluster when it comes available?


Viewing all articles
Browse latest Browse all 17268

Trending Articles



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