Skip to content

DOCSP-17862 mongod standalone changes #5925

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
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
10 changes: 9 additions & 1 deletion source/reference/configuration-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4246,11 +4246,19 @@ LDAP Parameters

- Start this instance as a :term:`config server`. The instance
starts on port ``27019`` by default.


When you configure a MongoDB instance as
clusterRole ``configsvr`` you must also specify a
:setting:`~replication.replSetName`.

* - ``shardsvr``

- Start this instance as a :term:`shard`. The instance starts
on port ``27018`` by default.

When you configure a MongoDB instance as a
a clusterRole ``shardsvr`` you must also specify a
:setting:`~replication.replSetName`.


.. note::
Expand Down
24 changes: 13 additions & 11 deletions source/reference/program/mongod.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1898,14 +1898,16 @@ Sharded Cluster Options
``/data/configdb``, unless specified.

.. important::

Starting in 3.4, you must deploy config servers as a replica set.
The use of the deprecated mirrored :binary:`~bin.mongod` instances as
config servers (SCCC) is no longer supported.

The replica set config servers (CSRS) must run the
:doc:`WiredTiger storage engine </core/wiredtiger>`.


When starting a MongoDB server with ``--configsvr``, you must also
specify a :option:`--replSet <mongod --replSet>`.

The use of the deprecated mirrored :binary:`~bin.mongod` instances as
config servers (SCCC) is no longer supported.

The replica set config servers (CSRS) must run the
:doc:`WiredTiger storage engine </core/wiredtiger>`.

The :option:`--configsvr` option creates a local :term:`oplog`.

Do not use the :option:`--configsvr` option with :option:`--shardsvr`. Config
Expand Down Expand Up @@ -1945,9 +1947,9 @@ Sharded Cluster Options
``27018``.

.. important::
Starting in MongoDB 3.6, you must deploy shards as replica sets. See the :option:`--replSet`
option to deploy :program:`mongod` as part of a replica set.

When starting a MongoDB server with ``--shardsvr``, you must also
specify a :option:`--replSet <mongod --replSet>`.

Do not use the :option:`--shardsvr` with the
:parameter:`skipShardingConfigurationChecks` parameter. That is, if
Expand Down
11 changes: 11 additions & 0 deletions source/release-notes/5.1.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,17 @@ determines whether the temporary documents required for :ref:`retryable
<retryable-writes>` :dbcommand:`findAndModify` commands are stored in
the *side* collection (``config.image_collection``).

``Mongod`` Sharded Cluster And Config Server Changes
----------------------------------------------------

Starting in MongoDB 5.1, when starting a :binary:`mongod` with the
:option:`--configsvr <mongod--configsvr>` option you must also
specify a :option:`--replSet <mongod --replSet>`.

Starting in MongoDB 5.1, when starting a :binary:`mongod` with the
:option:`--shardsvr <mongod --shardsvr>` option you must also
specify a :option:`--replSet <mongod --replSet>`.

Report an Issue
---------------

Expand Down