mongodb - setting up config server setup for mongo query router -


i using mongo v3.2 - have config replica set 2 shard replica sets running. when try launch mongos (query router) test config file setting below, error copied below - ideas on how fix this?

sharding:    configdb: config-set0/127.0.0.1:27019,127.0.0.1:27020,127.0.0.1:27021 

error

unrecognized option: sharding.configdb 

i can see setting in mongodb docs @ url below: https://docs.mongodb.com/manual/tutorial/deploy-shard-cluster/

ensure process being launched mongos , not mongod if intent run process query router (and not config server or shard).


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -