- Reference >
- Advanced Options for MongoDB Deployments
Advanced Options for MongoDB Deployments¶
On this page
Overview¶
The following mongod and mongos configuration options are available through the Ops Manager Advanced Options field when you deploy MongoDB. You select advanced options when deploying replica sets, sharded clusters, and standalone instances.
Advanced Options¶
The Ops Manager Advanced Options map to the MongoDB configuration options and parameters described here.
auditLog¶
- auditLogDestination:
auditLog.destination
- auditLogFormat:
auditLog.format
- auditLogPath:
auditLog.path
- auditLogFilter:
auditLog.filter
net¶
bind_ip:
net.bindIp
If you set this, you must include
127.0.0.1
as well. For example: “198.51.100.0,127.0.0.1
”maxConns:
net.maxIncomingConnections
net.http¶
- nohttpinterface:
net.http.enabled
- jsonp:
net.http.JSONPEnabled
- rest:
net.http.RESTInterfaceEnabled
net.ssl¶
- sslOnNormalPorts:
net.ssl.sslOnNormalPorts
- sslPEMKeyFile:
net.ssl.PEMKeyFile
- sslPEMKeyPassword:
net.ssl.PEMKeyPassword
- sslMode:
net.ssl.mode
operationProfiling¶
- slowms:
operationProfiling.slowOpThresholdMs
- profile:
operationProfiling.mode
processManagement¶
- pidfilepath:
processManagement.pidFilePath
replication¶
- oplogSize:
replication.oplogSizeMB
security¶
- noscripting: noscripting
setParameter¶
- connPoolMaxConnectionsPerHost:
connPoolMaxConnectionsPerHost
- connPoolMaxShardedConnsPerHost:
connPoolMaxShardedConnectionsPerHost
- wiredTigerConcurrentReadTransactions:
wiredTigerConcurrentReadTransactions
- wiredTigerConcurrentWriteTransactions:
wiredTigerConcurrentWriteTransactions
- releaseConnectionsAfterResponse: releaseConnectionsAfterResponse
- newCollectionsUsePowerOf2Sizes:
newCollectionsUsePowerOf2Sizes
- enableLocalhostAuthBypass:
enableLocalhostAuthBypass
- enableTestCommands:
enableTestCommands
- ttlMonitorEnabled:
ttlMonitorEnabled
- failIndexKeyTooLong:
failIndexKeyTooLong
- logLevel:
logLevel
- [other]: specify a custom option and its value. You cannot use the
other
field to specify an option that is available in the drop-down menu.
storage¶
- syncdelay:
storage.syncPeriodSecs
- noprealloc:
storage.mmapv1.preallocDataFiles
- smallfiles:
storage.mmapv1.smallFiles
- nssize:
storage.mmapv1.nsSize
- quota: quota
- quotaFiles: quotaFiles
- directoryperdb:
storage.directoryPerDB
- engine:
storage.engine
storage.journal¶
- nojournal:
storage.journal.enabled
- journalCommitInterval:
storage.mmapv1.journal.commitIntervalMs
storage.wiredTiger.collectionConfig¶
- blockCompressor:
storage.wiredTiger.collectionConfig.blockCompressor
storage.wiredTiger.engineConfig¶
- cacheSizeGB:
storage.wiredTiger.engineConfig.cacheSizeGB
- checkpointDelaySecs:
storage.syncPeriodSecs
- journalCompressor:
storage.wiredTiger.engineConfig.journalCompressor
- directoryForIndexes:
storage.wiredTiger.engineConfig.directoryForIndexes
- statisticsLogDelaySecs:
storage.wiredTiger.engineConfig.statisticsLogDelaySecs
storage.wiredTiger.indexConfig¶
- prefixCompression:
storage.wiredTiger.indexConfig.prefixCompression
systemLog¶
- logappend:
systemLog.logAppend
: - quiet:
systemLog.quiet
: - syslog:
systemLog.destination
: - logTimestampFormat:
systemLog.timeStampFormat
- logRotate:
systemLog.logRotate
- verbosity:
systemLog.verbosity