1MONGOS(1) Mongo Database MONGOS(1)
2
3
4
6 mongos - the Mongo sharding server
7
9 mongos [OPTIONS]
10
12 mongos is used to setup, configure, and get information about sharded
13 databases.
14
16 ./mongod --port 9999 --dbpath /data/db/a # first server
17
18 ./mongod --port 9998 --dbpath /data/db/b # second server
19
20 ./mongos --configdb localhost:9999 # mongos
21
22 starts three servers to set up sharding
23
25 --help show usage information
26
27 --port N
28 port on which to listen
29
30 --configdb DATABASE+
31 one or more databases to use as the configuration databases
32
33 -v+ verbosity
34
36 Copyright 2007-2009 10gen
37
39 For more information, please refer to the MongoDB wiki, available at
40 http://www.mongodb.org.
41
43 Kristina Chodorow
44
45
46
4710gen June 2009 MONGOS(1)