@@ -143,7 +143,7 @@ Reconfigure by "Breaking the Mirror"
143
143
144
144
This option selects a surviving :term:`replica set` member to be the
145
145
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
147
147
from this member.
148
148
149
149
1. Stop the surviving :program:`mongod` instances. To ensure a clean shutdown, use
@@ -158,15 +158,15 @@ from this member.
158
158
:program:`mongod` instance.
159
159
160
160
#. 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 ``
162
162
have empty data directories. For example:
163
163
164
164
.. code-block:: sh
165
165
166
166
mv /data/db /data/db-old
167
167
168
168
#. 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
170
170
171
171
.. code-block:: sh
172
172
@@ -175,15 +175,15 @@ from this member.
175
175
176
176
#. Start each member of the replica set normally.
177
177
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()`
179
179
to initiate the replica set.
180
180
181
181
#. 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
183
183
the following command:
184
184
185
185
.. code-block:: javascript
186
186
187
- rs.add("example.net:27017")
187
+ rs.add("db1. example.net:27017")
188
188
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