Skip to content

Commit e8eefb5

Browse files
author
Sam Kleinman
committed
DOCS-1089: clarification to replica set initiation process
1 parent c7e5612 commit e8eefb5

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

source/tutorial/deploy-geographically-distributed-replica-set.txt

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -161,14 +161,16 @@ To deploy a geographically distributed three-member set:
161161
:term:`control script` to manage this process based on this
162162
command. Control scripts are beyond the scope of this document.
163163

164-
#. Open a :program:`mongo` shell connected to this host:
164+
#. Open a :program:`mongo` shell connected to *one* of the
165+
:program:`mongod` instances:
165166

166167
.. code-block:: sh
167168

168169
mongo
169170

170-
#. Use :method:`rs.initiate()` to initiate a replica set consisting of
171-
the current member and using the default configuration:
171+
#. Use the :method:`rs.initiate()` method on *one* member to initiate
172+
a replica set consisting of the current member and using the
173+
default configuration:
172174

173175
.. code-block:: javascript
174176

source/tutorial/deploy-replica-set.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,7 @@ The examples in this procedure create a new replica set named ``rs0``.
9191
:option:`--replSet <mongod --replSet>`.
9292

9393
#. Open a :program:`mongo` shell and connect to the first
94-
:program:`mongod` instance. In a new shell
95-
session, enter the following:
94+
:program:`mongod` instance, with the following command:
9695

9796
.. code-block:: sh
9897

0 commit comments

Comments
 (0)