Skip to content

Commit e8f16ff

Browse files
committed
DOCS-8616: More CR Changes
1 parent b9bfc45 commit e8f16ff

4 files changed

+9
-13
lines changed

source/includes/steps-enable-authentication-in-shardcluster-nodowntime-auth-mongos.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ pre: |
3232
3333
db.getSiblingDB("admin").shutdownServer()
3434
35-
You can then restart the :program:`mongos specifying the path to the updated
35+
You can then restart the :program:`mongos` specifying the path to the updated
3636
config file using :option:`--config`.
3737
3838
.. example::

source/includes/steps-enable-authentication-in-shardcluster-nodowntime-transition-config.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,20 +47,20 @@ ref: restart-mongod
4747
title: "Restart the ``mongod`` with the new configuration file."
4848
pre: |
4949
50-
Connect to the :program:`mongod` and use the :method:`db.shutdownServer()`
51-
method against the ``admin`` database to safely shut down the
52-
:program:`mongod`.
50+
If upgrading the a :term:`secondary`, connect to the :program:`mongod` and
51+
use the :method:`db.shutdownServer()` method against the ``admin`` database
52+
to safely shut down the :program:`mongod`.
5353
5454
.. code-block:: javascript
5555
5656
db.getSiblingDB("admin").shutdownServer()
5757
58-
If you are performing this step on the :term:`primary`, you must first use
58+
If upgrading the :term:`primary`, connect to the :program:`mongod` and use
5959
the :method:`rs.stepDown()` method against the ``admin`` database to step
6060
down the primary and trigger an election. You can use the
6161
:method:`rs.status()` method to ensure the replica set elected a new primary.
6262
63-
Once you step down the primary, you shut it down using the
63+
Once you step down the primary, shut it down using the
6464
:method:`db.shutdownServer()` method against the ``admin`` database.
6565
6666
.. code-block:: javascript

source/includes/steps-enable-authentication-in-shardcluster-nodowntime-transition-mongos.yaml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,6 @@ ref: restart-mongos
4747
title: "Restart the ``mongos`` with the new configuration file."
4848
pre: |
4949
50-
Connect to the :program:`mongos` and use the :method:`db.shutdownServer()`
51-
method against the ``admin`` database to safely shut down the
52-
:program:`mongos`.
53-
5450
Restart one :program:`mongos` at a time to ensure that clients can connect
5551
to the sharded cluster. If your cluster has only one :program:`mongos`, this
5652
step results in downtime while the :program:`mongos` is offline.

source/tutorial/enforce-keyfile-access-control-in-existing-sharded-cluster-no-downtime.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,8 @@ sharded cluster, you must restart each :program:`mongod` instance without
244244
the :setting:`security.transitionToAuth` setting.
245245

246246
Perform these steps for each :program:`mongod` in the config server replica
247-
set, one member at a time. Work on the :term:`secondary` or members *first*,
248-
and the :term:`primary` *last*.
247+
set, one member at a time. Start with the :term:`secondary` members
248+
*first*, and the :term:`primary` *last*.
249249

250250
.. include:: /includes/steps/enable-authentication-in-shardcluster-nodowntime-auth-config.rst
251251

@@ -269,7 +269,7 @@ sharded cluster without the :setting:`security.transitionToAuth` setting.
269269
Repeat these steps for each shard replica set in the sharded cluster.
270270

271271
Perform these steps on one shard replica set at a time, and one member in the
272-
shard replica set at a time. Work on the :term:`secondary`
272+
shard replica set at a time. Start with the :term:`secondary`
273273
members *first*, and the :term:`primary` *last*.
274274

275275
.. include:: /includes/steps/enable-authentication-in-shardcluster-nodowntime-auth-shard.rst

0 commit comments

Comments
 (0)