Skip to content

Commit ab3daf4

Browse files
(DOCSP-12582): Add mdbtools note to local mode (#399)
* (DOCSP-12582): Add mdbtools note to local mode * tech review * copy review
1 parent 35ed486 commit ab3daf4

File tree

4 files changed

+36
-25
lines changed

4 files changed

+36
-25
lines changed

conf.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,10 @@
7070
'old-version': '4.0.14',
7171
'old-version-val': '``4.0.14-ent``',
7272
'old-version-example': '4.0.14-ent',
73-
'appdb-init-version' : '1.0.4',
74-
'ops-manager-init-version': '1.0.2',
75-
'database-init-version': '1.0.0',
73+
'appdb-init-version' : '1.0.4',
74+
'ops-manager-init-version': '1.0.2',
75+
'database-init-version': '1.0.0',
76+
'mdbtools-version': '100.1.0'
7677
}
7778

7879
rst_epilog = '\n'.join([

snooty.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ bndl-version-val = "``4.2.2-ent``"
99
appdb-init-version = "1.0.4"
1010
ops-manager-init-version = "1.0.2"
1111
database-init-version = "1.0.0"
12+
mdbtools-version = "100.1.0"

source/includes/steps-deploy-k8s-opsmgr-local-mode.yaml

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -120,11 +120,11 @@ content: |
120120
121121
#. If you deployed |onprem| 4.4.0 and later, you must also
122122
download the Ubuntu 16.04 MongoDB Database Tools installation
123-
tarball. For example, to download the ``100.1.0`` release:
123+
tarball. For example, to download the ``{+mdbtools-version+}`` release:
124124
125125
.. code-block:: sh
126126
127-
curl -OL https://fastdl.mongodb.org/tools/db/mongodb-database-tools-ubuntu1604-x86_64-100.1.0.tgz
127+
curl -OL https://fastdl.mongodb.org/tools/db/mongodb-database-tools-ubuntu1604-x86_64-{+mdbtools-version+}.tgz
128128
129129
.. tab:: OpenShift
130130
:tabid: os
@@ -139,11 +139,11 @@ content: |
139139
140140
#. If you deployed |onprem| 4.4.0 and later, you must also
141141
download the RHEL MongoDB Database Tools installation
142-
tarball. For example, to download the ``100.1.0`` release:
142+
tarball. For example, to download the ``{+mdbtools-version+}`` release:
143143
144144
.. code-block:: sh
145145
146-
curl -OL https://fastdl.mongodb.org/tools/db/mongodb-database-tools-rhel<version>-x86_64-100.1.0.tgz
146+
curl -OL https://fastdl.mongodb.org/tools/db/mongodb-database-tools-rhel<version>-x86_64-{+mdbtools-version+}.tgz
147147
148148
---
149149

@@ -167,7 +167,7 @@ content: |
167167
.. tab:: Vanilla Kubernetes
168168
:tabid: k8s
169169
170-
To copy the MongoDB ``4.2.0`` installation archive to the
170+
To copy the MongoDB installation archive to the
171171
|onprem| PersistentVolume:
172172
173173
a. Copy the MongoDB Server installation tarball to the
@@ -188,29 +188,29 @@ content: |
188188
kubectl cp mongodb-linux-x86_64-ubuntu1604-4.4.0.tgz \
189189
"ops-manager-localmode-1:/mongodb-ops-manager/mongodb-releases/mongodb-linux-x86_64-ubuntu1604-4.4.0.tgz"
190190
191-
#. If you deployed |onprem| 4.4.0 and later, copy the MongoDB
191+
#. If you deployed |onprem| 4.4.0 and later, copy the MongoDB
192192
Database Tools installation tarball to the |onprem|
193-
PersistentVolume. For example, to copy the ``100.1.0``
194-
release:
193+
PersistentVolume. For example, to copy the
194+
``{+mdbtools-version+}`` release:
195195
196196
| Replica 0:
197197
198198
.. code-block:: sh
199199
200-
kubectl cp mongodb-database-tools-ubuntu1604-x86_64-100.1.0.tgz \
201-
"ops-manager-localmode-0:/mongodb-ops-manager/mongodb-releases/mongodb-database-tools-ubuntu1604-x86_64-100.1.0.tgz"
200+
kubectl cp mongodb-database-tools-ubuntu1604-x86_64-{+mdbtools-version+}.tgz \
201+
"ops-manager-localmode-0:/mongodb-ops-manager/mongodb-releases/mongodb-database-tools-ubuntu1604-x86_64-{+mdbtools-version+}.tgz"
202202
203203
| Replica 1:
204204
205205
.. code-block:: sh
206206
207-
kubectl cp mongodb-database-tools-ubuntu1604-x86_64-100.1.0.tgz \
208-
"ops-manager-localmode-1:/mongodb-ops-manager/mongodb-releases/mongodb-database-tools-ubuntu1604-x86_64-100.1.0.tgz"
207+
kubectl cp mongodb-database-tools-ubuntu1604-x86_64-{+mdbtools-version+}.tgz \
208+
"ops-manager-localmode-1:/mongodb-ops-manager/mongodb-releases/mongodb-database-tools-ubuntu1604-x86_64-{+mdbtools-version+}.tgz"
209209
210210
.. tab:: OpenShift
211211
:tabid: os
212212
213-
To copy the MongoDB ``4.2.0`` installation archive to the
213+
To copy the MongoDB installation archive to the
214214
|onprem| PersistentVolume:
215215
216216
a. Copy the MongoDB Server installation tarball to the
@@ -231,24 +231,24 @@ content: |
231231
oc rsync "ops-manager-localmode-1:/mongodb-ops-manager/mongodb-releases/mongodb-linux-x86_64-rhel<version>-4.4.0.tgz" \
232232
mongodb-linux-x86_64-rhel<version>-4.4.0.tgz
233233
234-
#. If you deployed |onprem| 4.4.0 and later, copy the MongoDB
234+
#. If you deployed |onprem| 4.4.0 and later, copy the MongoDB
235235
Database Tools installation tarball to the |onprem|
236-
PersistentVolume. For example, to copy the ``100.1.0``
237-
release:
236+
PersistentVolume. For example, to copy the
237+
``{+mdbtools-version+}`` release:
238238
239239
| Replica 0:
240240
241241
.. code-block:: sh
242242
243-
kubectl cp mongodb-database-tools-ubuntu1604-x86_64-100.1.0.tgz \
244-
"ops-manager-localmode-0:/mongodb-ops-manager/mongodb-releases/mongodb-database-tools-ubuntu1604-x86_64-100.1.0.tgz"
243+
kubectl cp mongodb-database-tools-ubuntu1604-x86_64-{+mdbtools-version+}.tgz \
244+
"ops-manager-localmode-0:/mongodb-ops-manager/mongodb-releases/mongodb-database-tools-ubuntu1604-x86_64-{+mdbtools-version+}.tgz"
245245
246246
| Replica 1:
247247
248248
.. code-block:: sh
249249
250-
kubectl cp mongodb-database-tools-rhel<version>-x86_64-100.1.0.tgz \
251-
"ops-manager-localmode-1:/mongodb-ops-manager/mongodb-releases/mongodb-database-tools-rhel<version>-x86_64-100.1.0.tgz"
250+
kubectl cp mongodb-database-tools-rhel<version>-x86_64-{+mdbtools-version+}.tgz \
251+
"ops-manager-localmode-1:/mongodb-ops-manager/mongodb-releases/mongodb-database-tools-rhel<version>-x86_64-{+mdbtools-version+}.tgz"
252252
253253
---
254254
title: "Deploy a MongoDB Database Resource."

source/tutorial/deploy-om-container-local-mode.txt

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,17 @@ the |onprem| StatefulSet.
2727

2828
This procedure covers uploading installation archives to |onprem|.
2929

30-
Prerequisites and Considerations
31-
--------------------------------
30+
Considerations
31+
--------------
32+
33+
When you upgrade the version of an |onprem| resource in Local
34+
Mode, you must also upgrade to the latest version of the :dl:`MongoDB
35+
Database Tools <database-tools>`. ``automation.versions.directory``
36+
specifies the location of the Database Tools, which defaults to
37+
``/mongodb-ops-manager/mongodb-releases/``.
38+
39+
Prerequisites
40+
-------------
3241

3342
:ref:`deploy-om-container`. The following procedure shows you how to
3443
update your |onprem| |k8s| |k8s-obj| to enable Local Mode.

0 commit comments

Comments
 (0)