Skip to content

Commit ca47d85

Browse files
committed
(DOCSP-39109): Backport DOCSP-38158 to v7.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 b8dbcbc commit ca47d85

8 files changed

+123
-78
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
@@ -162,16 +162,30 @@ Configure {+mdbagent+}s to Use Remote, Hybrid, or Local Downloads
162162
.. tab:: Local Mode
163163
:tabid: local
164164

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

174-
Download ``TGZ` or `ZIP`` binaries for:
187+
For local mode, you must download the ``.tgz`` or ``.zip`` binaries
188+
for:
175189

176190
- Each platform and version that your current and planned
177191
MongoDB deployments run.
@@ -180,59 +194,81 @@ Configure {+mdbagent+}s to Use Remote, Hybrid, or Local Downloads
180194
:doc:`upgrade path </tutorial/upgrade-ops-manager>` of
181195
any existing MongoDB deployments you want to upgrade.
182196

183-
.. note::
197+
.. note::
184198

185-
If you download a binary archive using Microsoft Edge, the
186-
archive downloads with a ``.gz`` extension instead of a ``.tgz``
187-
extension. Change this file's extension to ``.tgz`` before continuing.
199+
If you download a binary archive using Microsoft Edge, the
200+
archive downloads with a ``.gz`` extension instead of a
201+
``.tgz`` extension. Change this file's extension to ``.tgz``
202+
before you continue.
188203

189-
.. example::
204+
.. example::
190205

191-
If you import an existing deployment of MongoDB 3.4
192-
Community on Ubuntu 14.04 and want to upgrade it to
193-
MongoDB 4.0 Enterprise on Ubuntu 14.04, you must
194-
download and store all archived (``TGZ``) binaries for:
206+
If you import an existing deployment of MongoDB 3.4
207+
Community on Ubuntu 14.04 and want to upgrade it to
208+
MongoDB 4.0 Enterprise on Ubuntu 14.04, you must
209+
download and store all archived (``.tgz``) binaries for the
210+
following versions:
195211

196-
- MongoDB 3.4 Community Edition
197-
- MongoDB 3.6 Community Edition
198-
- MongoDB 4.0 Community Edition
199-
- MongoDB 4.0 Enterprise Edition
212+
- MongoDB 3.4 Community Edition
213+
- MongoDB 3.6 Community Edition
214+
- MongoDB 4.0 Community Edition
215+
- MongoDB 4.0 Enterprise Edition
200216

201217
- If you are running backups, you need the MongoDB binary for
202-
the platform on which the |onprem| :opsmgr:`Backup Daemon </reference/glossary/#std-term-backup-daemon>`
218+
the platform on which the |onprem| :opsmgr:`Backup Daemon
219+
</reference/glossary/#std-term-backup-daemon>`
203220
runs.
204221

205222
.. example::
206223

207224
If you are running a MongoDB replica set on MongoDB 3.6.8
208225
on a set of Ubuntu hosts and running |onprem| on Windows,
209-
you must download and store archived binaries of MongoDB 3.6.8 for
210-
Ubuntu (``TGZ``) and for Windows (``ZIP``).
226+
you must download and store archived binaries of MongoDB
227+
3.6.8 for Ubuntu (``.tgz``) and for Windows (``.zip``).
211228

212-
- If you are running
213-
:doc:`queryable backups </tutorial/query-backup>`,
214-
you need the Enterprise edition of the MongoDB version that
215-
your deployment runs.
229+
- If you are running :doc:`queryable backups
230+
</tutorial/query-backup>`, you need the Enterprise edition of
231+
the MongoDB version that your deployment runs.
216232

217233
.. example::
218234

219235
If you are running a MongoDB replica set on MongoDB 3.6.8
220236
on a set of Ubuntu hosts and want to query backups from
221237
an |onprem| install on Windows, you must download and store
222-
archived binaries of MongoDB Community 3.6.8 for Ubuntu (``TGZ``)
223-
and MongoDB Enterprise 3.6.8 Windows (``ZIP``).
238+
archived binaries of MongoDB Community 3.6.8 for Ubuntu
239+
(``.tgz``) and MongoDB Enterprise 3.6.8 Windows (``.zip``).
224240

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

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

233-
.. include:: /includes/install/db-tools-separate-from-server.rst
263+
MongoDB Shell
264+
+++++++++++++
234265

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

237273
Configure {+mdbagent+}s to Use Local Downloads
238274
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
=====================================================
2-
Install |onprem| from a ``tar.gz`` or ``zip`` Archive
3-
=====================================================
1+
======================================================
2+
Install |onprem| from a ``tar.gz`` or ``.zip`` Archive
3+
======================================================
44

55
.. default-domain:: mongodb
66

@@ -11,7 +11,7 @@ Install |onprem| from a ``tar.gz`` or ``zip`` Archive
1111
:class: singlecol
1212

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

1717
.. 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)