- Reference >
- Supported MongoDB Options for Automation
Supported MongoDB Options for Automation¶
On this page
The processes.<args>
object in an
automation configuration file
specifies the configuration options for each MongoDB instance. The
supported settings depend on the version of MongoDB.
MongoDB 2.6 and Later Configuration Options¶
The processes.args2_6
object applies to MongoDB versions 2.6 and
higher and supports the following MongoDB settings and parameters. The
object uses the
MongoDB configuration format.
The processes.args2_6
object supports the following:
Networking¶
-
If you set
net.bindIp
, you must include127.0.0.1
as well.Example
Process Management¶
Replication¶
replication.enableMajorityReadConcern
replication.oplogSizeMB
replication.replSet
replication.replSetName
replication.secondaryIndexPrefetch
Security¶
security.authorization
security.clusterAuthMode
security.enableEncryption
security.encryptionCipherMode
security.encryptionKeyFile
security.javascriptEnabled
security.kmip.keyIdentifier
security.kmip.serverName
security.kmip.port
security.kmip.clientCertificateFile
security.kmip.clientCertificatePassword
security.kmip.serverCAFile
Parameters¶
notablescan
setParameter.connPoolMaxConnsPerHost
setParameter.connPoolMaxShardedConnsPerHost
setParameter.enableTestCommands
setParameter.enableLocalhostAuthBypass
setParameter.failIndexKeyTooLong
setParameter.logLevel
setParameter.newCollectionsUsePowerOf2Sizes
setParameter.textSearchEnabled
setParameter.ttlMonitorEnabled
Sharding¶
Storage¶
storage.dbPath
storage.directoryPerDB
storage.engine
storage.repairPath
storage.journal.enabled
storage.syncPeriodSecs
storage.wiredTiger.collectionConfig.blockCompressor
storage.wiredTiger.engineConfig.cacheSizeGB
storage.wiredTiger.engineConfig.directoryForIndexes
storage.wiredTiger.engineConfig.journalCompressor
storage.wiredTiger.indexConfig.prefixCompression
Important
MongoDB removed support for the MMAPv1 storage engine in MongoDB 4.2. If you edit your deployment’s configuration to change your storage engine to WiredTiger Storage Engine, Ops Manager restarts the MongoDB processes.
storage.mmapv1.journal.commitIntervalMs
storage.mmapv1.journal.debugFlags
storage.mmapv1.journal.commitIntervalMs
storage.mmapv1.preallocDataFiles
storage.mmapv1.nsSize
storage.mmapv1.preallocDataFiles
storage.mmapv1.quota.maxFilesPerDB
storage.mmapv1.quota.enforced
storage.mmapv1.smallFiles