Skip to content

Commit c674b12

Browse files
committed
(DOCSP-39110): Backport DOCSP-38158 to v6.0. (#190)
@NameThatFollows, I drafted the following updates for Local Mode support for MongoDB Shell 2.0. <!-- Add a description of your PR here (optional) --> - [DOCSP-38158](https://jira.mongodb.org/browse/DOCSP-38158) - [STAGING](https://preview-mongodbcorryroot.gatsbyjs.io/ops-manager/DOCSP-38158/tutorial/configure-local-mode/#configure-mongodb-agents-to-use-remote--hybrid--or-local-downloads) - [LATEST BUILD LOG](https://workerpool-boxgs.mongodbstitch.com/pages/job.html?collName=queue&jobId=6633d9d8b67dbf804a64090f) - [ ] [Define](https://wiki.corp.mongodb.com/display/DE/Taxonomy+tagging+instructions) taxonomy [values](https://wiki.corp.mongodb.com/display/DE/Docs+Taxonomy) at top of page. - [ ] Add genre facets (tutorial or reference), as in this [example PR](10gen/cloud-docs#5042). - [ ] Add programmingLanguage (if necessary). - [ ] Add meta keywords (if necessary). - [ ] Resolve any new warnings or errors in the build. - [ ] Proofread for spelling and grammatical errors. - [ ] Check staging for rendering issues. - [ ] Confirm links are working.
1 parent b4ae26a commit c674b12

File tree

8 files changed

+120
-75
lines changed

8 files changed

+120
-75
lines changed

source/core/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _om-system-reqs:
2+
13
============================
24
|onprem| System Requirements
35
============================
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
This endpoint returns either a ``zip`` or ``.tar.gz`` compressed file based on your **fileFormat** parameter.
1+
This endpoint returns either a ``.zip`` or ``.tar.gz`` compressed file based on your **fileFormat** parameter.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
MongoDB Community and Enterprise Server installation binaries no longer
22
include the :dl:`MongoDB Database Tools <database-tools>`. You must
33
download and install the :dl:`MongoDB Database Tools <database-tools>`
4-
separately, in the ``TGZ`` format. Check the
4+
separately, in the ``.tgz`` format. Check the
55
:doc:`release notes </release-notes/application>` to determine
66
which version of the :dl:`MongoDB Database Tools <database-tools>` you
77
should install.

source/includes/steps-configure-local-mode.yaml

Lines changed: 37 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -84,38 +84,39 @@ content: |
8484
.. include:: /includes/head-database-backup-deprecated.rst
8585
8686
---
87-
title: "Download the required MongoDB archives."
87+
title: "Download the required binaries."
8888
stepnum: 2
8989
level: 4
9090
ref: download-binaries
9191
content: |
9292
93+
Review the list that you prepared, in the
94+
:ref:`om-determine-binaries` section before this
95+
procedure, of the binaries that you need to store locally and
96+
download.
97+
9398
Using a computer connected to the Internet, go to the
9499
:dl:`MongoDB Download Center <enterprise>` and download the MongoDB
95100
binary archives for the appropriate platforms and versions.
96101
97-
Binaries are stored as compressed archives (``TGZ`` for all platforms except Windows, and ``ZIP`` for Windows).
102+
Binaries are stored as compressed archives (``.tgz`` for all platforms except Windows, and ``.zip`` for Windows).
98103
99104
.. note::
100105
101106
If you download a binary archive using Microsoft Edge, the
102107
archive downloads with a ``.gz`` extension instead of a ``.tgz``
103108
extension. Change this file extension to ``.tgz`` before continuing.
109+
110+
a. Download the Community Server, Enterprise Server, or both.
104111
105-
If you do not have a list of which versions you require, return to
106-
the :guilabel:`Prerequisites` section of this tutorial and review
107-
the :guilabel:`Determine which Binaries to Store Locally and Download` section.
108-
109-
.. tabs::
112+
.. tabs::
110113
111-
tabs:
112-
- id: community
113-
name: Community Server
114-
content: |
114+
.. tab:: Community Server
115+
:tabid: community
115116
116117
To download MongoDB Community Server:
117118
118-
a. Go to the :guilabel:`MongoDB Download Center`.
119+
i. Go to the :guilabel:`MongoDB Download Center`.
119120
120121
#. Click :guilabel:`Servers` and then click
121122
:dl:`MongoDB Community Server <community>`.
@@ -132,27 +133,26 @@ content: |
132133
133134
#. In the :guilabel:`Package` dropdown menu, click the
134135
desired packaging for the download. By default, this
135-
menu displays an archive file format: ``ZIP`` for
136-
Windows, ``TGZ`` for all other platforms.
136+
menu displays an archive file format: ``.zip`` for
137+
Windows, ``.tgz`` for all other platforms.
137138
138139
#. Click :guilabel:`Download`.
139140
140141
To download an older version of the Community Server:
141142
142-
a. Click the :guilabel:`All Version Binaries` link to the
143+
i. Click the :guilabel:`All Version Binaries` link to the
143144
right of the :guilabel:`Download` button.
144145
145146
#. Download the **archive file** for each MongoDB host
146147
platform that |onprem| manages.
147148
148-
- id: enterprise
149-
name: Enterprise Server
150-
content: |
151-
149+
.. tab:: Enterprise Server
150+
:tabid: enterprise
151+
152152
To download
153153
:product:`MongoDB Enterprise Server <mongodb-enterprise-advanced>`:
154154
155-
a. Go to the :guilabel:`MongoDB Download Center`.
155+
i. Go to the :guilabel:`MongoDB Download Center`.
156156
157157
#. Click :guilabel:`Servers` and then click
158158
:dl:`MongoDB Enterprise Server <enterprise>`.
@@ -169,37 +169,42 @@ content: |
169169
170170
#. In the :guilabel:`Package` dropdown menu, click the
171171
desired packaging for the download. By default, this
172-
menu displays an archive file format: ``ZIP`` for
173-
Windows, ``TGZ`` for all other platforms.
172+
menu displays an archive file format: ``.zip`` for
173+
Windows, ``.tgz`` for all other platforms.
174174
175175
#. Click :guilabel:`Download`.
176176
177177
To download an older version of the Enterprise Server:
178178
179-
a. To download the older versions, click
179+
i. To download the older versions, click
180180
:guilabel:`Archived Releases`.
181181
182-
b. For each platform and MongoDB version you want to
182+
#. For each platform and MongoDB version you want to
183183
download, click the link to the right of the
184184
:guilabel:`Archive` label.
185185
186+
#. Download the :dl:`MongoDB Database Tools <database-tools>` in
187+
the ``.tgz`` format.
188+
189+
#. (Optional) Download :dl:`MongoDB Shell <shell>`.
190+
186191
---
187192
title: "Populate all |onprem| hosts with the necessary MongoDB binaries and archives."
188193
stepnum: 3
189194
level: 4
190195
ref: populate-with-binaries
191196
content: |
192197
193-
On *all* your |onprem| hosts, copy all of the archived binaries (in ``TGZ``
194-
for all platforms other than Windows, or ``ZIP`` for Windows) for
195-
:dl:`MongoDB Server <enterprise>` and
196-
:dl:`MongoDB Database Tools <database-tools>` into the
197-
:setting:`Versions Directory`. Include each platform and version of
198-
these binaries that you plan to support.
198+
On *all* your |onprem| hosts, copy all of the archived binaries (in ``.tgz``
199+
for all platforms other than Windows, or ``.zip`` for Windows) for
200+
:dl:`MongoDB Server <enterprise>`,
201+
:dl:`MongoDB Database Tools <database-tools>`, and :dl:`MongoDB Shell
202+
<shell>` into the :setting:`Versions Directory`. Include each
203+
platform and version of these binaries that you plan to support.
199204
200205
:setting:`This directory <Versions Directory>` stores all of the
201-
archived and extracted binaries. |onprem| needs these binaries in the ``TGZ``
202-
or ``ZIP`` formats to install and upgrade MongoDB deployments and tools.
206+
archived and extracted binaries. |onprem| needs these binaries in the ``.tgz``
207+
or ``.zip`` formats to install and upgrade MongoDB deployments and tools.
203208
204209
---
205210
title: "Ensure that the |mms| Linux user can read files in the Versions Directory. (Linux only)"

source/release-notes.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _om-release-notes:
2+
13
=============
24
Release Notes
35
=============

source/tutorial/configure-local-mode.txt

Lines changed: 75 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -165,16 +165,30 @@ Configure {+mdbagent+}s to Use Remote, Hybrid, or Local Downloads
165165
.. tab:: Local Mode
166166
:tabid: local
167167

168-
Determine which Binaries to Store Locally and Download
169-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
170-
171-
For all MongoDB versions and on all :ref:`platforms <ops-manager-operating-system>`
172-
that |onprem| supports, MongoDB provides :dl:`Community <community>`
173-
and :dl:`Enterprise <enterprise>` installation binaries that are
174-
stored as compressed ``TGZ`` archives for all platforms except Windows
175-
and as ``ZIP`` archives for Windows.
168+
.. _om-determine-binaries:
169+
170+
Determine the Binaries to Store Locally and Download
171+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
172+
173+
Use this section to create a list of the binaries that you need
174+
to store locally and download.
175+
176+
MongoDB Server
177+
++++++++++++++
178+
179+
Determine the version of MongoDB Server required for
180+
deployments, including the desired operating system,
181+
architecture, and Community or Enterprise editions.
182+
183+
For all MongoDB versions on all :ref:`platforms
184+
<ops-manager-operating-system>` that |onprem| supports, MongoDB
185+
provides :dl:`Community <community>` and :dl:`Enterprise
186+
<enterprise>` installation binaries that it stores as compressed
187+
``.tgz`` archives for all platforms, except Windows, and as
188+
``.zip`` archives for Windows.
176189

177-
Download ``TGZ` or `ZIP`` binaries for:
190+
For local mode, you must download the ``.tgz`` or ``.zip`` binaries
191+
for:
178192

179193
- Each platform and version that your current and planned
180194
MongoDB deployments run.
@@ -183,59 +197,81 @@ Configure {+mdbagent+}s to Use Remote, Hybrid, or Local Downloads
183197
:doc:`upgrade path </tutorial/upgrade-ops-manager>` of
184198
any existing MongoDB deployments you want to upgrade.
185199

186-
.. note::
200+
.. note::
187201

188-
If you download a binary archive using Microsoft Edge, the
189-
archive downloads with a ``.gz`` extension instead of a ``.tgz``
190-
extension. Change this file's extension to ``.tgz`` before continuing.
202+
If you download a binary archive using Microsoft Edge, the
203+
archive downloads with a ``.gz`` extension instead of a
204+
``.tgz`` extension. Change this file's extension to ``.tgz``
205+
before you continue.
191206

192-
.. example::
207+
.. example::
193208

194-
If you import an existing deployment of MongoDB 3.4
195-
Community on Ubuntu 14.04 and want to upgrade it to
196-
MongoDB 4.0 Enterprise on Ubuntu 14.04, you must
197-
download and store all archived (``TGZ``) binaries for:
209+
If you import an existing deployment of MongoDB 3.4
210+
Community on Ubuntu 14.04 and want to upgrade it to
211+
MongoDB 4.0 Enterprise on Ubuntu 14.04, you must
212+
download and store all archived (``.tgz``) binaries for the
213+
following versions:
198214

199-
- MongoDB 3.4 Community Edition
200-
- MongoDB 3.6 Community Edition
201-
- MongoDB 4.0 Community Edition
202-
- MongoDB 4.0 Enterprise Edition
215+
- MongoDB 3.4 Community Edition
216+
- MongoDB 3.6 Community Edition
217+
- MongoDB 4.0 Community Edition
218+
- MongoDB 4.0 Enterprise Edition
203219

204220
- If you are running backups, you need the MongoDB binary for
205-
the platform on which the |onprem| :opsmgr:`Backup Daemon </reference/glossary/#std-term-backup-daemon>`
221+
the platform on which the |onprem| :opsmgr:`Backup Daemon
222+
</reference/glossary/#std-term-backup-daemon>`
206223
runs.
207224

208225
.. example::
209226

210227
If you are running a MongoDB replica set on MongoDB 3.6.8
211228
on a set of Ubuntu hosts and running |onprem| on Windows,
212-
you must download and store archived binaries of MongoDB 3.6.8 for
213-
Ubuntu (``TGZ``) and for Windows (``ZIP``).
229+
you must download and store archived binaries of MongoDB
230+
3.6.8 for Ubuntu (``.tgz``) and for Windows (``.zip``).
214231

215-
- If you are running
216-
:doc:`queryable backups </tutorial/query-backup>`,
217-
you need the Enterprise edition of the MongoDB version that
218-
your deployment runs.
232+
- If you are running :doc:`queryable backups
233+
</tutorial/query-backup>`, you need the Enterprise edition of
234+
the MongoDB version that your deployment runs.
219235

220236
.. example::
221237

222238
If you are running a MongoDB replica set on MongoDB 3.6.8
223239
on a set of Ubuntu hosts and want to query backups from
224240
an |onprem| install on Windows, you must download and store
225-
archived binaries of MongoDB Community 3.6.8 for Ubuntu (``TGZ``)
226-
and MongoDB Enterprise 3.6.8 Windows (``ZIP``).
241+
archived binaries of MongoDB Community 3.6.8 for Ubuntu
242+
(``.tgz``) and MongoDB Enterprise 3.6.8 Windows (``.zip``).
227243

228-
- If you are running |onprem| 4.4 or later, for each platform and
229-
version that you need to support, download the
230-
:dl:`MongoDB Database Tools <database-tools>`in the ``TGZ`` format
231-
into the :setting:`Versions Directory`. These tools include
232-
:dbtools:`/mongodump` and :dbtools:`/mongorestore`.
244+
MongoDB Database Tools
245+
++++++++++++++++++++++
233246

234-
.. note::
247+
Determine the version of MongoDB Tools that your |onprem| version
248+
requires. Check the :ref:`mms-changelog` to see what MongoDB
249+
Tools version your |onprem| version requires. During |onprem|
250+
upgrades, ensure you have the latest version that your new
251+
version of |onprem| requires.
252+
253+
For each platform and version that you need to support,
254+
you must download the :dl:`MongoDB Database Tools
255+
<database-tools>` in the ``.tgz`` format into the
256+
:setting:`Versions Directory`. These tools include
257+
:dbtools:`mongodump </mongodump>` and :dbtools:`mongorestore
258+
</mongorestore>`.
259+
260+
.. note::
261+
262+
.. include:: /includes/install/db-tools-separate-from-server.rst
263+
264+
.. include:: /includes/install/use-agent-install-binaries.rst
235265

236-
.. include:: /includes/install/db-tools-separate-from-server.rst
266+
MongoDB Shell
267+
+++++++++++++
237268

238-
.. include:: /includes/install/use-agent-install-binaries.rst
269+
If you have |onprem| 6.0.24 or later, you can optionally download
270+
{+mongosh+}. Determine the {+mongosh+} version that your |onprem|
271+
version uses. Check the :ref:`mms-changelog` to see what
272+
{+mongosh+} version your |onprem| version uses. During
273+
|onprem| upgrades, ensure you have the latest version that your
274+
new version of |onprem| uses.
239275

240276
Configure {+mdbagent+}s to Use Local Downloads
241277
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

source/tutorial/install-on-prem-from-archive.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Install |onprem| from a ``tar.gz`` or ``.zip`` Archive
1313
:class: singlecol
1414

1515
This tutorial describes how to install |onprem| to Linux servers from a
16-
``tar.gz`` or ``zip`` archive. If you are instead upgrading an existing
16+
``tar.gz`` or ``.zip`` archive. If you are instead upgrading an existing
1717
deployment, please see :doc:`/tutorial/upgrade-ops-manager`.
1818

1919
.. What is the role of the "root" user vs "mongodb-mms" user in an Ops Manager install

source/tutorial/start-and-stop-application.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Start the |mms| Server
1515

1616
.. note::
1717

18-
If you installed from a ``tar.gz`` or ``zip`` archive, you must create
18+
If you installed from a ``tar.gz`` or ``.zip`` archive, you must create
1919
a symlink located at the path ``/etc/init.d/mongodb-mms`` that points
2020
to the ``<install_dir>/bin/mongodb-mms``.
2121

0 commit comments

Comments
 (0)