Skip to content

Commit b0364c5

Browse files
authored
(DOCSP-30437)-fix: Corrected PR for the abandoned #1423: AppDB and Database backup to S2 for multicluster resources, S3 oplog config options (#1448)
* (DOCSP-30437) Appdb S3 and blockstore config * Final edit
1 parent 778c19a commit b0364c5

11 files changed

+162
-92
lines changed

conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,8 @@
149149
'.. |k8s-custom-resources| replace:: `custom resources <https://kubernetes.io/docs/concepts/extend-kubernetes/api-extension/custom-resources/>`__',
150150
'.. |k8s-crds| replace:: `CustomResourceDefinitions <https://kubernetes.io/docs/tasks/access-kubernetes-api/extend-api-custom-resource-definitions/>`__',
151151
'.. |k8s-crd| replace:: `CustomResourceDefinition <https://kubernetes.io/docs/tasks/access-kubernetes-api/extend-api-custom-resource-definitions/>`__',
152-
'.. |k8s-mdbrscs| replace:: MongoDB Kubernetes resources',
153-
'.. |k8s-mdbrsc| replace:: MongoDB Kubernetes resource',
152+
'.. |k8s-mdbrscs| replace:: ``MongoDB`` resources',
153+
'.. |k8s-mdbrsc| replace:: ``MongoDB`` resource',
154154
'.. |mongodb-multi| replace:: ``MongoDBMultiCluster`` resource',
155155
'.. |mongodb-multis| replace:: ``MongoDBMultiCluster`` resources',
156156
'.. |k8s-nodes| replace:: `nodes <https://kubernetes.io/docs/concepts/architecture/nodes/>`__',

snooty.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,5 @@ mdbtools-version = "100.1.0"
1616
mdbagent = "MongoDB Agent"
1717
appdb-agent-version = "10.2.15.5958-1_4.2.11-ent"
1818
mdb-ent-db = "MongoDB Enterprise Database"
19-
mdb-ent-db-version = "2.0.0"
19+
mdb-ent-db-version = "2.0.0"
20+
mdb-support = "`MongoDB Support <https://support.mongodb.com/welcome>`__"

source/faq.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,4 +72,4 @@ Can I deploy MongoDB Server across multiple |k8s| clusters?
7272
-----------------------------------------------------------
7373

7474
Yes. To learn more, see :ref:`Deploy MongoDB Resources on Multiple Kubernetes Clusters <multi-cluster>`.
75-
For help, contact `MongoDB Support <https://support.mongodb.com/welcome>`__
75+
For help, contact |mdb-support|.

source/includes/admonitions/k8s-persistent-volumes-om.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,4 @@
1111
:k8sdocs:`discussion
1212
</tasks/configure-pod-container/security-context/#discussion>` in
1313
the |k8s| documentation. If redeploying the resource doesn't fix
14-
issues with your Persistent Volume, contact `MongoDB Support
15-
<https://support.mongodb.com/welcome>`__.
14+
issues with your Persistent Volume, contact |mdb-support|.
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
You can create a new |multi-cluster| and contact
2-
`MongoDB Support <https://support.mongodb.com/welcome>`__ to help you
1+
You can create a new |multi-cluster| and contact |mdb-support| to help you
32
migrate data from your existing |k8s| deployment to a |multi-cluster|.
43
You can't extend an existing single-Kubernetes cluster deployment to
54
new |k8s| clusters.

source/includes/steps-deploy-k8s-opsmgr-http.yaml

Lines changed: 35 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,17 @@ optional: true
179179
ref: configure-backup-settings
180180
content: |
181181
182-
If you want to enable backup, you must configure all of the following
183-
settings:
182+
To configure backup, you must enable it, and then:
183+
184+
- Choose to configure an :term:`S3 snapshot store <s3 snapshot store>`
185+
or a :term:`blockstore <Backup Blockstore Database>`. If you deploy
186+
both an |s3| :term:`snapshot store <s3 snapshot store>` and a
187+
:term:`blockstore <Backup Blockstore Database>`, |onprem|
188+
randomly choses one to use for backup.
189+
190+
- Choose to configure an oplog store or an |s3| oplog store.
191+
If you deploy both an oplog store and an |s3| oplog store, |onprem|
192+
randomly choses one of them to use for the oplog backup.
184193
185194
.. list-table::
186195
:widths: 30 10 40 20
@@ -197,7 +206,7 @@ content: |
197206
- boolean
198207
- Flag that indicates that backup is enabled. You must specify
199208
``spec.backup.enabled: true`` to configure settings
200-
for the head database, oplog store, and snapshot store.
209+
for the head database, oplog store, |s3| oplog store, and snapshot store.
201210
- ``true``
202211
203212
* - | ``spec``
@@ -218,6 +227,14 @@ content: |
218227
- Name of the oplog store.
219228
- ``oplog1``
220229
230+
* - | ``spec``
231+
| ``.backup``
232+
| ``.s3opLogStores``
233+
| ``.``:opsmgrkube:`~spec.backup.s3opLogStores.name`
234+
- string
235+
- Name of the |s3| oplog store.
236+
- ``my-s3-oplog-store``
237+
221238
* - | ``spec``
222239
| ``.backup``
223240
| ``.opLogStores``
@@ -229,6 +246,15 @@ content: |
229246
230247
- ``my-oplog-db``
231248
249+
* - | ``spec``
250+
| ``.backup``
251+
| ``.s3opLogStores``
252+
| ``.mongodbResourceRef``
253+
| ``.``:opsmgrkube:`~spec.backup.s3opLogStores.mongodbResourceRef.name`
254+
- string
255+
- Name of the MongoDB database resource for the |s3| oplog store.
256+
- ``my-s3-oplog-db``
257+
232258
You must also configure an :term:`S3 snapshot store <s3 snapshot store>`
233259
or a :term:`blockstore <Backup Blockstore Database>`.
234260
@@ -318,6 +344,7 @@ content: |
318344
- Name of the blockstore.
319345
- ``blockStore1``
320346
347+
321348
* - | ``spec``
322349
| ``.backup``
323350
| ``.blockStores``
@@ -328,6 +355,7 @@ content: |
328355
You must deploy this database resource in the same namespace as
329356
the |onprem| resource. The resource's ``metadata.name`` must match this name.
330357
- ``my-mongodb-blockstore``
358+
331359
---
332360
title: "Configure any additional settings for an |onprem| backup."
333361
stepnum: 6
@@ -384,14 +412,13 @@ level: 4
384412
ref: track-k8s-instance
385413
content: |
386414
387-
To check the status of your |onprem| resource, invoke the following
388-
command:
415+
To check the status of your |onprem| resource, invoke the following command:
389416
390417
.. code-block:: sh
391418
392419
kubectl get om -o yaml -w
393420
394-
The command returns the following output under the ``status`` field
421+
The command returns output similar to the following, under the ``status`` field
395422
while the resource deploys:
396423
397424
.. code-block:: yaml
@@ -419,8 +446,8 @@ content: |
419446
one enters the ``Running`` phase.
420447
421448
After the |onprem| resource completes the ``Reconciling`` phase, the
422-
command returns the following output under the ``status`` field if you
423-
enabled backup:
449+
command returns the output similar to the following under the ``status``
450+
field if you enabled backup:
424451
425452
.. code-block:: yaml
426453
:copyable: false

0 commit comments

Comments
 (0)