Subject: [mongodb-user] MongoDB 3.4 Sharded Cluster



Can someone show me simple step by step instructions of how to setup a MongoDB sharded cluster in Mongo 3.4.  From what I understand, Mongo 3.4 has a different way of setting it up compared to previous versions.  So far I tried the following but it doesn't seem to work.

mongod --configsvr --dbpath cfg0 --port 26050 --fork --logpath log.cfg0 --logappend
mongod --configsvr --dbpath cfg1 --port 26051 --fork --logpath log.cfg1 --logappend
mongod --shardsvr --replSet a --dbpath a0 --logpath log.a0 --port 27000 --fork --logappend --smallfiles --oplogSize 50
mongod --shardsvr --replSet a --dbpath a1 --logpath log.a1 --port 27001 --fork --logappend --smallfiles --oplogSize 50
mongos --configdb m034:26050,m034:26051,m034:26052 --fork --logapend --logpath log.mongos0
FailedToParse: mirrored config server connections are not supported; for config server replica sets be sure to use the replica set connection string
try 'mongos --help' for more information

--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
 
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/mongodb-user.
To view this discussion on the web visit
db-user/903dff47-3a34-407c-9ff9-368be0639c44%40googlegroups.com?utm_medium=email&utm_source=footer">https://groups.google.com/d/msgid/mongodb-user/903dff47-3a34-407c-9ff9-368be0639c44%40googlegroups.com
.
For more options, visit https://groups.google.com/d/optout.



Programming list archiving by: Enterprise Git Hosting