Navigation
  • Reference >
  • Advanced Options for MongoDB Deployments

Advanced Options for MongoDB Deployments

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.

The Ops Manager Advanced Options map to the MongoDB configuration options and parameters described as follows.

Limited to Listed Options

If a MongoDB option is not listed on this page, it is unavailable to use in MongoDB instances that Ops Manager manages.

Audit Log

Ops Manager Interface MongoDB Option
auditDestination auditLog.destination
auditFilter auditLog.filter
auditFormat auditLog.format
auditPath auditLog.path

Basis Tech

Ops Manager Interface MongoDB Option
basisTechRootDirectory basisTech.rootDirectory

Kerberos

Ops Manager Interface MongoDB Option
kerberosKeytab kerberos.keytab

Net

Ops Manager Interface MongoDB Option
bind_ip net.bindIp
httpinterface net.http.enabled
jsonp net.http.JSONPEnabled
maxConns net.maxIncomingConnections
rest net.http.RESTInterfaceEnabled
tlsClusterFile net.tls.clusterFile
tlsClusterPassword net.tls.clusterPassword
tlsCRLFile net.tls.CRLFile
tlsDisabledProtocols net.tls.disabledProtocols

Numactl

Ops Manager Interface MongoDB Option
numCores numactl.numCores

Operation Profiling

Ops Manager Interface MongoDB Option
profile operationProfiling.mode
slowms operationProfiling.slowOpThresholdMs
slowOpSampleRate operationProfiling.slowOpSampleRate

Process Management

Ops Manager Interface MongoDB Option
pidfilepath processManagement.pidFilePath

Replication

Ops Manager Interface MongoDB Option
enableMajorityReadConcern replication.enableMajorityReadConcern
oplogSize replication.oplogSizeMB

Security

Ops Manager Interface MongoDB Option
clusterAuthMode security.clusterAuthMode
enableEncryption security.enableEncryption
encryptionCipherMode security.encryptionCipherMode
encryptionKeyFile security.encryptionKeyFile
javascriptEnabled security.javascriptEnabled
kmipClientCertificateFile security.kmip.clientCertificateFile
kmipClientCertificatePassword security.kmip.clientCertificatePassword
kmipKeyIdentifier security.kmip.keyIdentifier
kmipPort security.kmip.port
kmipServerCAFile security.kmip.serverCAFile
kmipServerName security.kmip.serverName
saslauthdSocketPath security.sasl.saslauthdSocketPath
saslHostname security.sasl.hostName

Sharding

Ops Manager Interface MongoDB Option
autoSplit sharding.autoSplit
chunkSize sharding.chunkSize

SNMP

Ops Manager Interface MongoDB Option
snmp-master snmp.master
snmp-subagent snmp.subagent

Storage

Ops Manager Interface MongoDB Option
directoryperdb storage.directoryPerDB
engine storage.engine
indexBuildRetry storage.indexBuildRetry
inMemorySizeGB storage.inMemory.engineConfig.inMemorySizeGB
journal storage.journal.enabled
journalCommitInterval storage.journal.commitIntervalMs
nssize storage.nsSize
prealloc storage.preallocDataFiles
quota storage.quota.enforced
quotaFiles storage.quota.maxFilesPerDB
repairpath storage.repairPath
smallfiles storage.smallFiles
syncdelay storage.syncPeriodSecs
wiredTigerCacheSizeGB storage.wiredTiger.engineConfig.cacheSizeGB
wiredTigerCollectionBlockCompressor storage.wiredTiger.collectionConfig.blockCompressor
wiredTigerCollectionConfigString storage.wiredTiger.collectionConfig.configString
wiredTigerDirectoryForIndexes storage.wiredTiger.engineConfig.directoryForIndexes
wiredTigerEngineConfigString storage.wiredTiger.engineConfig.configString
wiredTigerIndexConfigString storage.wiredTiger.indexConfig.configString
wiredTigerIndexPrefixCompression storage.wiredTiger.indexConfig.prefixCompression
wiredTigerJournalCompressor storage.wiredTiger.engineConfig.journalCompressor
wiredTigerStatisticsLogDelaySecs storage.wiredTiger.engineConfig.statisticsLogDelaySecs

System Log

Ops Manager Interface MongoDB Option
logappend systemLog.logAppend
logRotate systemLog.logRotate
quiet systemLog.quiet
syslogDestination systemLog.destination
syslogFacility systemLog.syslogFacility
timeStampFormat systemLog.timeStampFormat
verbosity systemLog.verbosity

TLS/SSL

Ops Manager Interface MongoDB Option
tlsCertificateKeyFile net.tls.certificateKeyFile
tlsCertificateKeyFilePassword net.tls.certificateKeyFilePassword
tlsFIPSMode net.tls.FIPSMode
tlsMode net.tls.mode

Set Parameter

Important

Ops Manager does not check to see if the parameters you provide are valid. Check the MongoDB Server Manual for accepted parameters and values.

Ops Manager Interface MongoDB Option
[setParameter]

setParameter.name

You can add any value from Server Parameters as a setParameter.