mongodb - How start Mongo Instance in sharded cluster -


i want deploy sharded cluster using mongodb manual. first created 3 config servers. mongod --configsvr --dbpath /data/configdb1 --port 27019 , mongod --configsvr --dbpath /data/configdb2 --port 27019 , mongod --configsvr --dbpath /data/configdb3 --port 27019

but in second step start mongos instances find command mongos --configdb cfg0.example.net:27019,cfg1.example.net:27019,cfg2.example.net:27019

but can't understand meaning of

cfg0.example.net cfg1.example.net cfg2.example.net 

so please explain meaning of above command , how can use according hostname?

please check "deploy sharded cluster", cfg[0-3].example.net means hostnames of 3 config servers, each of mongos server should started config servers configured.


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -