Skip to content

Commit 94c4d33

Browse files
DOCS-9792 Add authentication steps for replica set > sharded cluster conversion tutorial (#2344)
* WIP * WIP * WIP * more additions * WIP * fix indentation * fix indentation * fix shard server intro formatting * try different formatting * formatting * edits * step 4 * formatting * finalize new formatting * wording * wording * formatting * WIP * WIP * final first draft * copy fix * edits * more edits * fix broken ref * add Next Steps section * formatting for Before You Begin * add context for initial replica set * edits * fix spacing * wording * fix code block formatting * WIP review edits * WIP review edits * WIP * final review edits * table formatting * minimalism * clarifications * add periods at end of step titles * more edits * auth clarifications * wording * wording * more review edits * fix mongodump command * first pass at tabs * Fix formatting * more edits * add steps to mongosh command * more edits * WIP * wip * more edits * remove extra text * wip * more tabs * formatting * up to restart secondary as a shard * final review edits * ordering * formatting * remove extra text * adjust step 1 to use config files * fix keyfile yaml file * fix x509 yaml file * update step 3 to use config files * cleanup for steps 1 and 2 * adjust step 5a to use config files * more config file conversions and general tweaks * fix quotes for 'number' * add tip for balancer window * edit tip title * fix formatting * use setting instead of option * address Linda's comments * move bindIp warning * wording * final edits * address Linda's feedback * adjust step styling * fix indentation * typos and minor improvements * fix connection string formatting (at sign) * add tlsCertificateKeyFile file option to mongosh commands * single-sourcing * address review comments * add tabs for connect to primary step
1 parent 5f1eb5a commit 94c4d33

8 files changed

+1309
-92
lines changed

source/includes/fact-shardsvr-required.rst

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Include additional options as appropriate for your deployment, such as
2+
:setting:`net.tls.certificateKeyFilePassword` if your TLS certificate-key file is
3+
encrypted with a password.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Include additional options as appropriate for your deployment.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
The preceding command requires the :ref:`localhost exception
2+
<localhost-exception>` to perform administrative actions without
3+
authentication.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
If your deployment uses x.509 authentication, specify these
2+
:binary:`mongosh` options:
3+
4+
- :option:`--tls <mongosh --tls>`
5+
- :option:`--tlsCAFile <mongosh --tlsCAFile>`
6+
- :option:`--tlsCertificateKeyFile <mongosh --tlsCertificateKeyFile>`
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
.. warning::
22

3-
Before binding to a non-localhost (e.g. publicly accessible)
4-
IP address, ensure you have secured your cluster from unauthorized
5-
access. For a complete list of security recommendations, see
6-
:doc:`/administration/security-checklist`. At minimum, consider
7-
:ref:`enabling authentication <checklist-auth>` and
8-
:doc:`hardening network infrastructure </core/security-hardening>`.
3+
Before you bind your instance to a publicly-accessible IP address,
4+
you must secure your cluster from unauthorized access. For a complete
5+
list of security recommendations, see
6+
:ref:`security-checklist`. At minimum, consider
7+
:ref:`enabling authentication <checklist-auth>` and :ref:`hardening
8+
network infrastructure <network-config-hardening>`.

source/tutorial/backup-sharded-cluster-metadata.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _back-up-sharded-cluster-metadata:
2+
13
========================
24
Back Up Cluster Metadata
35
========================

0 commit comments

Comments
 (0)