Skip to content

Commit 44e144d

Browse files
(DOCSP-10478): add instructions for adding mongodb tools installers t… (#291)
* (DOCSP-10478): add instructions for adding mongodb tools installers to k8s statefulset for OM 4.4 * (DOCSP-10478): copy review * (DOCSP-10478): tech review feedback * (DOCSP-10478): fix typo
1 parent 186b62c commit 44e144d

File tree

1 file changed

+99
-41
lines changed

1 file changed

+99
-41
lines changed

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

Lines changed: 99 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ content: |
1818
:opsmgrkube:`spec.configuration` to enable Local Mode.
1919
2020
- Defines a |k8s-pv| for the |onprem| StatefulSet to store the
21-
MongoDB installation tarball. MongoDB database resources
22-
you create with the |k8s-op-short| download these tarballs from the
23-
Persistent Volumes instead of from the Internet.
21+
MongoDB installation tarball. {+mdbagent+}\s running in MongoDB
22+
database resource containers that you create with the
23+
|k8s-op-short| download these tarballs from |onprem| instead of from
24+
the Internet.
2425
2526
.. literalinclude:: /reference/k8s/example-opsmgr-local-mode.yaml
2627
:language: yaml
@@ -86,97 +87,154 @@ content: |
8687
the resource's connection |url|. You use this value when you create a
8788
|k8s-configmap| later in the procedure.
8889
---
89-
title: "Download the MongoDB installation tarball to your local machine."
90+
title: "Download the MongoDB installation tarballs to your local machine."
9091
level: 4
9192
ref: download-mdb-tarball
9293
stepnum: 7
9394
content: |
9495
95-
The installer you download depends on the environment to which
96+
The installers that you download depend on the environment to which
9697
you deployed the operator:
9798
9899
.. tabs::
99100
100101
.. tab:: Vanilla Kubernetes
101102
:tabid: k8s
102103
103-
Download the Ubuntu 16.04 installer for the MongoDB version you
104-
want the |k8s-op-short| to deploy. For example, to download the
105-
``4.2.0`` release:
104+
a. Download the Ubuntu 16.04 installation tarball for the
105+
MongoDB database version you want the |k8s-op-short| to
106+
deploy. For example, to download the ``4.2.0`` release:
106107
107-
.. code-block:: sh
108+
.. code-block:: sh
108109
109-
curl -OL https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-4.2.0.tgz
110+
curl -OL https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-ubuntu1604-4.2.0.tgz
111+
112+
#. If you deployed |onprem| 4.4.0 and later, you must also
113+
download the Ubuntu 16.04 MongoDB Database Tools installation
114+
tarball. For example, to download the ``100.0.1`` release:
115+
116+
.. code-block:: sh
117+
118+
curl -OL https://fastdl.mongodb.org/tools/db/mongodb-database-tools-ubuntu1604-x86_64-100.0.1.tgz
110119
111120
.. tab:: OpenShift
112121
:tabid: os
113122
114-
Download the RHEL 7 installer for the MongoDB version you
115-
want the |k8s-op-short| to deploy. For example, to download the
116-
``4.2.0`` release:
123+
a. Download the RHEL 7 installation tarball for the MongoDB
124+
database version you want the |k8s-op-short| to deploy. For
125+
example, to download the ``4.2.0`` release:
126+
127+
.. code-block:: sh
128+
129+
curl -OL https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-4.2.0.tgz
130+
131+
#. If you deployed |onprem| 4.4.0 and later, you must also
132+
download the RHEL 7 MongoDB Database Tools installation
133+
tarball. For example, to download the ``100.0.1`` release:
117134
118-
.. code-block:: sh
135+
.. code-block:: sh
119136
120-
curl -OL https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-4.2.0.tgz
137+
curl -OL https://fastdl.mongodb.org/tools/db/mongodb-database-tools-rhel70-x86_64-100.0.1.tgz
121138
122139
---
123140

124-
title: "Copy the MongoDB installation tarball to the |onprem| Persistent Volume for each |onprem| :opsmgrkube:`replica <spec.replicas>` you deployed."
141+
title: "Copy the MongoDB installation tarballs to the |onprem| Persistent Volume for each |onprem| :opsmgrkube:`replica <spec.replicas>` you deployed."
125142
level: 4
126143
ref: copy-mdb-tarball
127144
stepnum: 8
128145
content: |
129146
130-
The command you use depends on the environment to which you deployed
131-
the operator:
147+
The commands that you use depend on the environment to which you
148+
deployed the operator:
132149
133150
.. note::
134151
135-
Only copy the MongoDB installation file to ``Replica 1`` and beyond
136-
if you deployed more than one |onprem| :opsmgrkube:`replica
137-
<spec.replicas>`.
152+
Only copy the MongoDB installation tarballs to ``Replica 1`` and
153+
beyond if you deployed more than one |onprem| :opsmgrkube:`replica
154+
<spec.replicas>`.
138155
139156
.. tabs::
140157
141158
.. tab:: Vanilla Kubernetes
142159
:tabid: k8s
143160
144-
To copy the MongoDB ``4.2.0`` installation tarball to the
145-
|onprem| PersistentVolume:
161+
a. Copy the MongoDB database installation tarball to the
162+
|onprem| PersistentVolume. For example, to copy the ``4.2.0``
163+
release:
164+
165+
| Replica 0:
166+
167+
.. code-block:: sh
168+
169+
kubectl cp mongodb-linux-x86_64-ubuntu1604-4.2.0.tgz \
170+
"ops-manager-localmode-0:/mongodb-ops-manager/mongodb-releases/mongodb-linux-x86_64-ubuntu1604-4.2.0.tgz"
171+
172+
| Replica 1:
173+
174+
.. code-block:: sh
146175
147-
Replica 0:
176+
kubectl cp mongodb-linux-x86_64-ubuntu1604-4.2.0.tgz \
177+
"ops-manager-localmode-1:/mongodb-ops-manager/mongodb-releases/mongodb-linux-x86_64-ubuntu1604-4.2.0.tgz"
148178
149-
.. code-block:: sh
179+
#. If you deployed |onprem| 4.4.0 and later, copy the MongoDB
180+
Database Tools installation tarball to the |onprem|
181+
PersistentVolume. For example, to copy the ``100.0.1``
182+
release:
150183
151-
kubectl cp mongodb-linux-x86_64-ubuntu1604-4.2.0.tgz \
152-
"ops-manager-localmode-0:/mongodb-ops-manager/mongodb-releases/mongodb-linux-x86_64-ubuntu1604-4.2.0.tgz"
184+
| Replica 0:
153185
154-
Replica 1:
186+
.. code-block:: sh
155187
156-
.. code-block:: sh
188+
kubectl cp mongodb-database-tools-ubuntu1604-x86_64-100.0.1.tgz \
189+
"ops-manager-localmode-0:/mongodb-ops-manager/mongodb-releases/mongodb-database-tools-ubuntu1604-x86_64-100.0.1.tgz"
157190
158-
kubectl cp mongodb-linux-x86_64-ubuntu1604-4.2.0.tgz \
159-
"ops-manager-localmode-1:/mongodb-ops-manager/mongodb-releases/mongodb-linux-x86_64-ubuntu1604-4.2.0.tgz"
191+
| Replica 1:
192+
193+
.. code-block:: sh
194+
195+
kubectl cp mongodb-database-tools-ubuntu1604-x86_64-100.0.1.tgz \
196+
"ops-manager-localmode-1:/mongodb-ops-manager/mongodb-releases/mongodb-database-tools-ubuntu1604-x86_64-100.0.1.tgz"
160197
161198
.. tab:: OpenShift
162199
:tabid: os
163200
164-
To copy the MongoDB ``4.2.0`` installation tarball to the
165-
|onprem| PersistentVolume:
201+
a. Copy the MongoDB database installation tarball to the
202+
|onprem| PersistentVolume. For example, to copy the ``4.2.0``
203+
release:
204+
205+
| Replica 0:
206+
207+
.. code-block:: sh
208+
209+
oc rsync "ops-manager-localmode-0:/mongodb-ops-manager/mongodb-releases/mongodb-linux-x86_64-rhel70-4.2.0.tgz" \
210+
mongodb-linux-x86_64-rhel70-4.2.0.tgz
211+
212+
| Replica 1:
213+
214+
.. code-block:: sh
215+
216+
oc rsync "ops-manager-localmode-1:/mongodb-ops-manager/mongodb-releases/mongodb-linux-x86_64-rhel70-4.2.0.tgz" \
217+
mongodb-linux-x86_64-rhel70-4.2.0.tgz
218+
219+
#. If you deployed |onprem| 4.4.0 and later, copy the MongoDB
220+
Database Tools installation tarball to the |onprem|
221+
PersistentVolume. For example, to copy the ``100.0.1``
222+
release:
223+
224+
| Replica 0:
166225
167-
Replica 0:
226+
.. code-block:: sh
168227
169-
.. code-block:: sh
228+
kubectl cp mongodb-database-tools-ubuntu1604-x86_64-100.0.1.tgz \
229+
"ops-manager-localmode-0:/mongodb-ops-manager/mongodb-releases/mongodb-database-tools-ubuntu1604-x86_64-100.0.1.tgz"
170230
171-
oc rsync "ops-manager-localmode-0:/mongodb-ops-manager/mongodb-releases/mongodb-linux-x86_64-rhel70-4.2.0.tgz" \
172-
mongodb-linux-x86_64-rhel70-4.2.0.tgz
231+
| Replica 1:
173232
174-
Replica 1:
233+
.. code-block:: sh
175234
176-
.. code-block:: sh
235+
kubectl cp mongodb-database-tools-rhel70-x86_64-100.0.1.tgz \
236+
"ops-manager-localmode-1:/mongodb-ops-manager/mongodb-releases/mongodb-database-tools-rhel70-x86_64-100.0.1.tgz"
177237
178-
oc rsync "ops-manager-localmode-1:/mongodb-ops-manager/mongodb-releases/mongodb-linux-x86_64-rhel70-4.2.0.tgz" \
179-
mongodb-linux-x86_64-rhel70-4.2.0.tgz
180238
---
181239
title: "Deploy a MongoDB Database Resource."
182240
level: 4

0 commit comments

Comments
 (0)