diff --git a/source/tutorial/deploy-replica-set.txt b/source/tutorial/deploy-replica-set.txt index 0582178aa61..c7532a08d4b 100644 --- a/source/tutorial/deploy-replica-set.txt +++ b/source/tutorial/deploy-replica-set.txt @@ -79,16 +79,20 @@ The examples in this procedure create a new replica set named ``rs0``. .. code-block:: sh - mongod --port 27017 --dbpath /srv/mongodb/rs0-0 --replSet rs0 - mongod --port 27018 --dbpath /srv/mongodb/rs0-1 --replSet rs0 - mongod --port 27019 --dbpath /srv/mongodb/rs0-2 --replSet rs0 + mongod --port 27017 --dbpath /srv/mongodb/rs0-0 --replSet rs0 --smallfiles --oplogSize 128 + mongod --port 27018 --dbpath /srv/mongodb/rs0-1 --replSet rs0 --smallfiles --oplogSize 128 + mongod --port 27019 --dbpath /srv/mongodb/rs0-2 --replSet rs0 --smallfiles --oplogSize 128 This starts each instance as a member of a replica set named ``rs0``, each running on a distinct port. If you are already using - these ports, you can select different ports. See the documentation - of the following options for more information: :option:`--port - `, :option:`--dbpath `, and - :option:`--replSet `. + these ports, select different ports. + + The :setting:`smallfiles` and :setting:`oplogSize` + options are used for testing, not for production, and + reduce the disk space that each + :program:`mongod` uses. For more information on these and other + configuration options, see + :doc:`/reference/configuration-options`. #. Open a :program:`mongo` shell and connect to the first :program:`mongod` instance, with the following command: