Home > mlaunch

General Parameters
--help prints help
--version prints version
--verbose increases verbosity
--dir specify directory for dbpath(s)

init Command

Required Parameters (choose one)
--single creates stand-alone node
--replicaset creates replica set

Replica Set Parameters
--nodes number of nodes
--arbiter add arbiter
--name change replica set name

Sharding Parameters
--sharded create shards
--config number of config servers
--mongos number of mongos nodes

Authentication Parameters
--auth enable auth
--username change default user
--password change default password
--auth-db change default database for user
--auth-roles change default roles for user

Optional Parameters
--port start port for setup
--binarypath specify path for binaries

stop Command
kill Command
start Command
restart Command
list Command