onlinemongodump
Perform the following steps to create a dSource with the onlinemongodump ingestion type.
Prerequisites
-
The source and staging instances must meet the host requirements as described in Requirements for MongoDB staging/target hosts.
-
For MongoDB Atlas, you must obtain the MongoDB 3.4 or earlier connection string of Mongo Shell from the Atlas UI to use it as source MongoDB host connect string.
Creating a dSource
-
Login to Delphix Management application.
-
Click Manage -> Environments.
-
Click on Add dSource.
-
In the Add dSource wizard, select the MongoDB source config created on the staging host.
-
Select the dSource type from the drop-down list in the dSource dialog window.
-
Enter the Mongo-specific parameters for your dSource configuration.
-
dSource Type: This is the dSource type.
-
Source database details:
-
Source MongoDB Host Connect String: These are the details of the source database.
-
MongoDB Source Database User: This is the source database username.
-
MongoDB Password: This is the source database password.
-
-
dSource (Sharded/Replica Set) details:
-
Staging Replicaset Name: This is the staging database replica set name. The default value is
dlpx_rs0
. -
Staging MongoDB Host: This is the staging host for creating a dSource.
-
Mount Path: This is the mount path for dSource MongoDB instance data files.
-
bindIP String: The default value is
0.0.0.0
. -
Staging Port: This is the staging host port for MongoDB dSource instance.
-
-
dSource tuning details:
-
Oplog Size: This is the size of
oplogs
. -
Journal Commit Interval: This is the journal commit interval, measured in ms.
-
Storage Engine: The default value is
wiredTiger
. -
Enable SetParams: Enable the specified
setParameters
. -
Set Parameter: These are the parameters that need to be added in the mongod.conf.
-
Enable Auditlog: Enable the specified audit log parameters.
-
Auditlog Parameters: These are the parameters that need to be added in the mongod.conf file.
-
-
Mongodump Backup/Tuning details:
-
Capture oplogs of replicaset: Capture
oplogs
while running onlinemongodump
. -
Mongodump Tuning Parameters: These are the pairs of parameter name and value for
mongodump
command line. -
Mongorestore Tuning Parameters: These are the pairs of parameter name and value for
mongorestore
command line.
-
-
Enable Authentication Enable member and client authentication for the database.
-
dSource authentication details:
-
Mongo Admin User: This is the admin user of the staging database. This user should be created on the fly.
-
MongoDB Password: This is the admin user password of the staging database.
-
Cluster Auth Mode: The accepted values are:
None
,keyfile
,x509
,sendKeyFile
,sendX509
. -
KeyAuth keyfile name: This is the absolute path of keyfile.
-
-
Enable SSL/TLS: Enable SSL/TLS member authentication.
-
SSL/TLS Parameters: Specify at least the following parameters;
tlsMode
,tlsCAFile
,tlsCertificateKeyFile
.
-
-
Enable data encryption: Enable KMIP or keyfile based encryption.
-
Data encryption details:
-
Encryption Method: keyfile or KMIP.
-
Local Encryption keyfile: This is the keyfile path for local encryption.
-
KMIP Parameters: Provide the KMIP parameter details. For example,
kmipClientCertificateFile
,kmipPort
,kmipServerCAFile
,kmipServerName
. -
Client Certificate for Mongos/Mongo session on Primary Node: This is the absolute path of client certificate to connect to staging database.
-
-
-
Click Submit to create a dSource.
You must specify the inputs KeyAuth keyfile name
and Cluster Auth Mode
when Enable Authentication is selected.