summaryrefslogtreecommitdiff
path: root/debian/mongos.1
blob: 6fdca07463b72d892a3a87f05656dcd2e6a60195 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
.TH MONGOS "1" "June 2009" "10gen" "Mongo Database"
.SH "NAME"
mongos \- the Mongo sharding server
.SH "SYNOPSIS"
\fBmongos [\fIOPTIONS\fR]\fR
.SH "DESCRIPTION"
.PP
\fBmongos\fR
is used to setup, configure, and get information about sharded databases.
.SH "EXAMPLES"
.PP
.B ./mongod --port 9999 --dbpath /data/db/a # first server
.PP
.B ./mongod --port 9998 --dbpath /data/db/b # second server
.PP
.B ./mongos --configdb localhost:9999 # mongos
.PP
starts three servers to set up sharding
.SH "OPTIONS"
.TP
.B \-\-help
show usage information
.TP
.B \-h, \-\-help
show this usage information
.TP
.B \-\-version
show version information
.TP
.B \-f, \-\-config arg
configuration file specifying additional options
.TP
.B \-v, \-\-verbose
be more verbose (include multiple times for more verbosity
e.g. -vvvvv)
.TP
.B \-\-quiet                quieter output
.TP
.B \-\-port arg             specify port number
.TP
.B \-\-bind_ip arg
comma separated list of ip addresses to listen on - all local ips by
default
.TP
.B \-\-logpath arg
log file to send write to instead of stdout - has to be a file, not
directory
.TP
.B \-\-logappend
append to logpath instead of over-writing
.TP
.B \-\-pidfilepath arg
full path to pidfile (if not set, no pidfile is created)
.TP
.B \-\-keyFile arg
private key for cluster authentication (only for replica sets)
.TP
.B \-\-unixSocketPrefix arg
alternative directory for UNIX domain sockets (defaults to /tmp)
.TP
.B \-\-fork
fork server process

.SH "SHARDING OPTIONS"
.TP
.B \-\-configdb arg
1 or 3 comma separated config servers
.TP
.B \-\-test
just run unit tests
.TP
.B \-\-upgrade
upgrade meta data version
.TP
.B \-\-chunkSize arg
maximum amount of data per chunk
.TP
.B \-\-ipv6
enable IPv6 support (disabled by default)
.TP
.B \-\-jsonp
allow JSONP access via http (has security implications)
.SH "COPYRIGHT"
.PP
Copyright 2007\-2011 10gen
.SH "SEE ALSO"
For more information, please refer to the mongos page in the MongoDB manual, available at http://dochub.mongodb.org/core/mongosmanpage
.SH "AUTHOR"
Kristina Chodorow