Skip to content

Commit 2b42f3c

Browse files
author
Sam Kleinman
committed
minor hostname clarification
1 parent 61950ec commit 2b42f3c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

source/tutorial/reconfigure-replica-set-with-unavailable-members.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ Reconfigure by "Breaking the Mirror"
143143

144144
This option selects a surviving :term:`replica set` member to be the
145145
new :term:`primary` and to "seed" a new replica set. In the following
146-
procedure, the new primary is ``A``. All other members will resync
146+
procedure, the new primary is ``db0.example.net``. All other members will resync
147147
from this member.
148148

149149
1. Stop the surviving :program:`mongod` instances. To ensure a clean shutdown, use
@@ -158,15 +158,15 @@ from this member.
158158
:program:`mongod` instance.
159159

160160
#. Move the data directories (i.e. :setting:`dbpath <mongod --dbpath>`)
161-
for all the members except ``A``, so that all the members except ``A``
161+
for all the members except ``db0.example.net``, so that all the members except ``db0.example.net``
162162
have empty data directories. For example:
163163

164164
.. code-block:: sh
165165

166166
mv /data/db /data/db-old
167167

168168
#. Move the data files for ``local`` database (i.e. ``local.*``) so
169-
that ``A`` has no local database. For example
169+
that ``db0.example.net`` has no local database. For example
170170

171171
.. code-block:: sh
172172

@@ -175,15 +175,15 @@ from this member.
175175

176176
#. Start each member of the replica set normally.
177177

178-
#. Connect to ``A`` in a :program:`mongo` shell and run :method:`rs.initiate()`
178+
#. Connect to ``db0.example.net`` in a :program:`mongo` shell and run :method:`rs.initiate()`
179179
to initiate the replica set.
180180

181181
#. Add the other set members using :method:`rs.add()`. For example, to
182-
add a member running on ``example.net`` at port ``27017``, issue
182+
add a member running on ``db1.example.net`` at port ``27017``, issue
183183
the following command:
184184

185185
.. code-block:: javascript
186186

187-
rs.add("example.net:27017")
187+
rs.add("db1.example.net:27017")
188188

189-
These members will resync and copy all data from ``A``.
189+
These members will resync and copy all data from ``db0.example.net``.

0 commit comments

Comments
 (0)