Install DMK for MongoDB
Install and configure dmk for mongodb
See MongoDB_MFA.md for the reccomended directory structure. This document will use the directory structure as described in this document.
Download DMK_MONGODB
From AWS s3
See Configure_AWS_S3.md for how to configure S3. or
From Nexus
https://packages.dbi-services.com/
Commands are executed as mongodb user.
Decompress DMK_Mongodb package:
Note:
/u01/app/mongodb/local/
is the directory where DMK is installed usually. But it can be everywhere.
DMK configuration
Execute DMK for the first time
🟡 NOTE:
It is recommended to add the content of
/u01/app/mongodb/local/dmk/templates/profile/dmk.mongodb.profile
to the.profile
or.bash_profile
file ofmongodb
user. This step is optional but recommended, in order to have DMK environment set to each login.
At this level a default
dmk.conf
conf file was copied to/u01/app/mongodb/local/dmk/etc/dmk.conf
. You can edit theDEFAULT
section to adapt it at your configuration. The defaultdmk.conf
is adapted to MFA directory structure.
🟡 NOTE: The only values that are mandatory to look are:
MONGODB_BASE
/u01/app/mongodb
MONGODB_LOG
/u02/mongodblog
MONGODB_BACKUP
/u90/backup
After these configuration steps, resource the bash environnement (exit and login again). The prompt should look like this:
Last updated