top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

MongoDB: Config server shared between sharded clusters

0 votes
210 views

I have a sharded MongoDB cluster, with config serever configured as a replica set of 4 nodes. All cluster components use MongoDB v. 3.4.6.

I would like to add another cluster using separate storage shards from the first one, but I would like to use the same config server RS for both of them.

Is such configuration possible, or should I use separate RS for the other cluster config server?

posted Aug 8, 2017 by anonymous

Looking for an answer?  Promote on:
Facebook Share Button Twitter Share Button LinkedIn Share Button

Similar Questions
0 votes

Why use three config server in MongoDB and whats mechanism is used for the tree config server to implement the High availability and load balance?

0 votes

I want to connect a particular MONGODB database to c# application using Web.config.
Please tell me how to do it?

+1 vote

I am creating a sharded cluster with a 2 node config server replicaset.Due to some reason, the config server replicaset did not get created/setup properly.At this time, I started a mongos process configured to connect to this CSRS and on that box, I see lot of mongos processes getting created

Why wouldnt the mongos process just fail instead of keeping re-spawning and trying to connect to the CSRS? Related to this, how do we check (from an external script) that the CSRS is up & available before starting a mongos process?

The docs (https://docs.mongodb.com/manual/tutorial/troubleshoot-sharded-clusters/#sharding-config-servers-and-availability ) do mention that the CSRS should be available when you first initiate a sharded cluster, but does not mention how to do it.

+1 vote

I am in the process of migrating a replica set from a data center to AWS, but when I checked the settings, I noticed that the Sharding is not enabled, yet they are using 3 MongoS / Routers and 3 MongoC / Config servers - So since Sharding is not used in the current system, would it be safe to migrate the replica sets and not use MonogoS nor MongoC ? Can the users connect directly to Mongo database replica set without using MongoS ?
Or should I use at least 1 MongoS and 1 MongoC config server ?

...