Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ action:
**Command Line**

If using the command line parameters, start the :program:`mongod` with
the ``--configsvr``, and ``--replSetName`` parameters.
the ``--configsvr``, and ``--replSet`` parameters.
language: sh
code: |
mongod --configsvr --replSetName <setname> --dbpath <path>
mongod --configsvr --replSet <setname> --dbpath <path>
post: |
Include additional settings as appropriate to your deployment.
For more information on startup parameters, see the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ action:
**Command Line**

If using the command line parameters, start the :program:`mongod` with
the ``--keyFile``, ``--configsvr``, and ``--replSetName`` parameters.
the ``--keyFile``, ``--configsvr``, and ``--replSet`` parameters.
language: sh
code: |
mongod --keyFile <path-to-keyfile> --configsvr --replSetName <setname> --dbpath <path>
mongod --keyFile <path-to-keyfile> --configsvr --replSet <setname> --dbpath <path>
post: |
Include additional settings as appropriate to your deployment.
For more information on startup parameters, see the
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -185,14 +185,14 @@ action:

If using the command line parameters, for a config server replica
set, start the :program:`mongod` with the ``-keyFile``,
``--configsvr``, and ``--replSetName`` parameters.
``--configsvr``, and ``--replSet`` parameters.

.. code-block:: sh

mongod --keyFile <path-to-keyfile> --configsvr --replSetName <setname> --dbpath <path>
mongod --keyFile <path-to-keyfile> --configsvr --replSet <setname> --dbpath <path>

If using a mirrored config server deployment, omit the
``--replSetName`` parameter.
``--replSet`` parameter.

.. code-block:: sh

Expand Down Expand Up @@ -244,10 +244,10 @@ action:
**Command Line**

If using the command line parameters, start the :program:`mongod` and
specify the ``--keyFile`` and ``--replSetName`` parameters.
specify the ``--keyFile`` and ``--replSet`` parameters.
language: sh
code: |
mongod --keyfile <path-to-keyfile> --replSetName <setname> --dbpath <path>
mongod --keyfile <path-to-keyfile> --replSet <setname> --dbpath <path>
post: |
For more information on startup parameters,
see the :program:`mongod` reference page.
Expand Down