Skip to content

Commit aaacc90

Browse files
authored
Merge pull request #1166 from erabil-mdb/DOCSP-26233
(DOCSP-26233) Adds new procedure for upgrading OM in MEKO.
2 parents 13c0205 + 8e9edfe commit aaacc90

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed

source/tutorial/edit-deployment.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,6 @@ Procedure
6666
:hidden:
6767

6868
/tutorial/upgrade-mdb-version
69+
/tutorial/upgrade-om-version
6970
/tutorial/scale-resources
7071
/tutorial/resize-pv-storage
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
.. _meko-upgrade-om-version:
2+
3+
=================================================
4+
Upgrade Ops Manager and Backing Database Versions
5+
=================================================
6+
7+
.. default-domain:: mongodb
8+
9+
.. contents:: On this page
10+
:local:
11+
:backlinks: none
12+
:depth: 2
13+
:class: singlecol
14+
15+
Update the major and minor versions of your |onprem| instance and :term:`backing databases` in the :ref:`k8s-om-specification` that |k8s-op-short| uses to manage your deployment.
16+
17+
Prerequisites
18+
-------------
19+
20+
.. warning::
21+
22+
To maintain existing settings and availability, back up the following in your current |onprem| instance:
23+
24+
- Your ``conf-mms.properties`` to a secure location. The ``conf-mms.properties`` stores settings for the |onprem| instance.
25+
- Your ``gen.key`` files to a secure location. The :ref:`gen.key <gen-key>` provides details to encrypt and decrypt |onprem|\s backing databases and user credentials. |onprem| might delete these files as part of the upgrade process.
26+
- Your :ref:`application database <appdb-om-arch>`. If the upgrade fails, you need a current backup to restore your |onprem| instance.
27+
28+
1. Upgrade |onprem| by following the considerations, prerequisites, and procedure in :ref:`upgrade-om`.
29+
30+
2. Reference :ref:`compatible-mdb-versions` to ensure your :term:`backing databases` use a MongoDB version that is compatible with the new |onprem| version.
31+
32+
3. If you need to upgrade your backing databases to a compatible MongoDB version, see :ref:`meko-upgrade-mdb-version`.
33+
34+
Procedure
35+
---------
36+
37+
1. In your :ref:`k8s-om-specification`, set the following:
38+
39+
- Set :opsmgrkube:`spec.version` to the new |onprem| version.
40+
- If you upgraded your :ref:`application database <appdb-om-arch>`, set :opsmgrkube:`spec.applicationDatabase.version` to the compatible MongoDB version. Consider setting :setting:`spec.featureCompatibilityVersion` to give yourself the option to downgrade if necessary.
41+
42+
For example, the following resource updates |onprem| from 4.0 to 5.0 and the application database to MongoDB ``4.2.11-ent``.
43+
44+
.. literalinclude:: /reference/k8s/example-ops-manager.yaml
45+
:language: yaml
46+
:linenos:
47+
48+
2. Reapply the configuration to |k8s|:
49+
50+
.. code-block:: none
51+
52+
kubectl apply -f <om-resource-specification>.yaml
53+
54+
|k8s| automatically reconfigures your deployment with the new specifications. You can see these changes reflected in your |mms| or :cloudmgr:`Cloud Manager </>` application.

0 commit comments

Comments
 (0)