teseladb dev

How to use teseladb dev, with its options and its examples.

Usage

teseladb dev [--nodes <n>] [--cores <n>] [--port <n>] [--setParameter enableTestCommands=1]

Description

Starts several nodes in a single process to develop and test. Node k listens on the client port plus k and prints one ready line per node.

Options

OptionDefaultDescription
--nodesNumber of nodes dev starts.
--coresthe logical coresNumber of cores, the same on every node.
--port27017Client port. With 0, the system picks one. In dev, node k listens on this port plus k.
--setParameterSets a server parameter in the name=value form.

Examples

Three nodes on your machine

Shell
teseladb dev --nodes 3

Exit codes

  • 0 The command finished correctly.
  • 1 The command failed while running; the error says why.
  • 2 The command was written wrongly, with an argument missing or an unknown option.

See also