@@ -18,9 +18,10 @@ content: |
18
18
:opsmgrkube:`spec.configuration` to enable Local Mode.
19
19
20
20
- 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.
24
25
25
26
.. literalinclude:: /reference/k8s/example-opsmgr-local-mode.yaml
26
27
:language: yaml
@@ -86,97 +87,154 @@ content: |
86
87
the resource's connection |url|. You use this value when you create a
87
88
|k8s-configmap| later in the procedure.
88
89
---
89
- title : " Download the MongoDB installation tarball to your local machine."
90
+ title : " Download the MongoDB installation tarballs to your local machine."
90
91
level : 4
91
92
ref : download-mdb-tarball
92
93
stepnum : 7
93
94
content : |
94
95
95
- The installer you download depends on the environment to which
96
+ The installers that you download depend on the environment to which
96
97
you deployed the operator:
97
98
98
99
.. tabs::
99
100
100
101
.. tab:: Vanilla Kubernetes
101
102
:tabid: k8s
102
103
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:
106
107
107
- .. code-block:: sh
108
+ .. code-block:: sh
108
109
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
110
119
111
120
.. tab:: OpenShift
112
121
:tabid: os
113
122
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:
117
134
118
- .. code-block:: sh
135
+ .. code-block:: sh
119
136
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
121
138
122
139
---
123
140
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."
125
142
level : 4
126
143
ref : copy-mdb-tarball
127
144
stepnum : 8
128
145
content : |
129
146
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:
132
149
133
150
.. note::
134
151
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>`.
138
155
139
156
.. tabs::
140
157
141
158
.. tab:: Vanilla Kubernetes
142
159
:tabid: k8s
143
160
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
146
175
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"
148
178
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:
150
183
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:
153
185
154
- Replica 1:
186
+ .. code-block:: sh
155
187
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"
157
190
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"
160
197
161
198
.. tab:: OpenShift
162
199
:tabid: os
163
200
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:
166
225
167
- Replica 0:
226
+ .. code-block:: sh
168
227
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"
170
230
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:
173
232
174
- Replica 1:
233
+ .. code-block:: sh
175
234
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"
177
237
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
180
238
---
181
239
title : " Deploy a MongoDB Database Resource."
182
240
level : 4
0 commit comments