다음 표는 구성 파일 설정과 관련 mongod 및 mongos 명령줄 옵션을 매핑합니다.
mongod
mongos
auditLog.destination
mongod --auditDestination
mongos --auditDestination
auditLog.filter
mongod --auditFilter
mongos --auditFilter
auditLog.format
mongod --auditFormat
mongos --auditFormat
auditLog.path
mongod --auditPath
mongos --auditPath
net.bindIp
mongod --bind_ip
mongos --bind_ip
net.bindIpAll
mongod --bind_ip_all
mongos --bind_ip_all
net.compression.compressors
mongod --networkMessageCompressors
mongos --networkMessageCompressors
net.ipv6
mongod --ipv6
mongos --ipv6
net.maxIncomingConnections
mongod --maxConns
mongos --maxConns
net.port
mongod --port
mongos --port
net.tls.allowConnectionsWithoutCertificates
mongod --tlsAllowConnectionsWithoutCertificates
mongos --tlsAllowConnectionsWithoutCertificates
net.tls.allowInvalidCertificates
mongod --tlsAllowInvalidCertificates
mongos --tlsAllowInvalidCertificates
net.tls.allowInvalidHostnames
mongod --tlsAllowInvalidHostnames
mongos --tlsAllowInvalidHostnames
net.tls.CAFile
mongod --tlsCAFile
mongos --tlsCAFile
net.tls.clusterCAFile
mongod --tlsClusterCAFile
mongos --tlsClusterCAFile
net.tls.certificateSelector
mongod --tlsCertificateSelector
mongos --tlsCertificateSelector
net.tls.clusterCertificateSelector
mongod --tlsClusterCertificateSelector
mongos --tlsClusterCertificateSelector
net.tls.clusterFile
mongod --tlsClusterFile
mongos --tlsClusterFile
net.tls.clusterPassword
mongod --tlsClusterPassword
mongos --tlsClusterPassword
net.tls.CRLFile
mongod --tlsCRLFile
mongos --tlsCRLFile
net.tls.disabledProtocols
mongod --tlsDisabledProtocols
mongos --tlsDisabledProtocols
net.tls.FIPSMode
mongod --tlsFIPSMode
mongos --tlsFIPSMode
net.tls.mode
mongod --tlsMode
mongos --tlsMode
net.tls.certificateKeyFile
mongod --tlsCertificateKeyFile
mongos --tlsCertificateKeyFile
net.tls.certificateKeyFilePassword
mongod --tlsCertificateKeyFilePassword
mongos --tlsCertificateKeyFilePassword
net.ssl.sslOnNormalPorts
--sslOnNormalPorts
net.unixDomainSocket.enabled
mongod --nounixsocket
mongos --nounixsocket
net.unixDomainSocket.filePermissions
mongod --filePermissions
mongos --filePermissions
net.unixDomainSocket.pathPrefix
mongod --unixSocketPrefix
mongos --unixSocketPrefix
net.wireObjectCheck
operationProfiling.mode
mongod --profile
operationProfiling.slowOpSampleRate
mongod --slowOpSampleRate
mongos --slowOpSampleRate
operationProfiling.slowOpThresholdMs
mongod --slowms
mongos --slowms
processManagement.fork
mongod --fork
mongos --fork
processManagement.pidFilePath
mongod --pidfilepath
mongos --pidfilepath
processManagement.timeZoneInfo
mongod --timeZoneInfo
mongos --timeZoneInfo
processManagement.windowsService.description
mongod.exe --serviceDescription
mongos.exe --serviceDescription
processManagement.windowsService.displayName
mongod.exe --serviceDisplayName
mongos.exe --serviceDisplayName
processManagement.windowsService.serviceName
mongod.exe --serviceName
mongos.exe --serviceName
processManagement.windowsService.servicePassword
mongod.exe --servicePassword
mongos.exe --servicePassword
processManagement.windowsService.serviceUser
mongod.exe --serviceUser
mongos.exe --serviceUser
replication.enableMajorityReadConcern
mongod --enableMajorityReadConcern
replication.localPingThresholdMs
mongos --localThreshold
replication.oplogSizeMB
mongod --oplogSize
replication.replSetName
mongod --replSet
security.authorization
mongod --auth
mongod --noauth
security.clusterAuthMode
mongod --clusterAuthMode
mongos --clusterAuthMode
security.enableEncryption
mongod --enableEncryption
security.encryptionCipherMode
mongod --encryptionCipherMode
security.encryptionKeyFile
mongod --encryptionKeyFile
security.javascriptEnabled
mongod --noscripting
mongos --noscripting
security.keyFile
mongod --keyFile
mongos --keyFile
security.kmip.clientCertificateFile
mongod --kmipClientCertificateFile
security.kmip.clientCertificatePassword
mongod --kmipClientCertificatePassword
security.kmip.clientCertificateSelector
mongod --kmipClientCertificateSelector
security.kmip.connectRetries
mongod --kmipConnectRetries
security.kmip.connectTimeoutMS
mongod --kmipConnectTimeoutMS
security.kmip.keyIdentifier
mongod --kmipKeyIdentifier
security.kmip.port
mongod --kmipPort
security.kmip.rotateMasterKey
mongod --kmipRotateMasterKey
security.kmip.serverCAFile
mongod --kmipServerCAFile
security.kmip.serverName
mongod --kmipServerName
security.ldap.authz.queryTemplate
mongod --ldapAuthzQueryTemplate
security.ldap.bind.method
mongod --ldapBindMethod
mongos --ldapBindMethod
security.ldap.bind.queryPassword
mongod --ldapQueryPassword
mongos --ldapQueryPassword
security.ldap.bind.queryUser
mongod --ldapQueryUser
mongos --ldapQueryUser
security.ldap.bind.saslMechanisms
mongod --ldapBindSaslMechanisms
mongos --ldapBindSaslMechanisms
security.ldap.bind.useOSDefaults
mongod --ldapBindWithOSDefaults
mongos --ldapBindWithOSDefaults
security.ldap.servers
mongod --ldapServers
mongos --ldapServers
security.ldap.timeoutMS
mongod --ldapTimeoutMS
mongos --ldapTimeoutMS
security.ldap.transportSecurity
mongod --ldapTransportSecurity
mongos --ldapTransportSecurity
security.ldap.userToDNMapping
mongod --ldapUserToDNMapping
mongos --ldapUserToDNMapping
security.redactClientLogData
mongod --redactClientLogData
mongos --redactClientLogData
security.sasl.hostName
mongod --setParameter saslHostName=...
mongos --setParameter saslHostName=...
security.sasl.saslauthdSocketPath
mongod --setParameter saslauthdPath=...
mongos --setParameter saslauthdPath=...
security.sasl.serviceName
mongod --setParameter saslServiceName=...
mongos --setParameter saslServiceName=...
security.transitionToAuth
mongod --transitionToAuth
mongos --transitionToAuth
setParameter
mongod --setParameter
mongos --setParameter
sharding.archiveMovedChunks
mongod --moveParanoia
mongod --noMoveParanoia
sharding.clusterRole
mongod --shardsvr
mongod --configsvr
sharding.configDB
mongos --configdb
snmp.disabled
mongod --snmp-disabled
snmp.master
mongod --snmp-master
snmp.subagent
mongod --snmp-subagent
storage.dbPath
mongod --dbpath
storage.directoryPerDB
mongod --directoryperdb
storage.engine
mongod --storageEngine
storage.inMemory.engineConfig.inMemorySizeGB
mongod --inMemorySizeGB
storage.journal.commitIntervalMs
mongod --journalCommitInterval
storage.journal.enabled
mongod --journal
mongod --nojournal
storage.syncPeriodSecs
mongod --syncdelay
storage.wiredTiger.collectionConfig.blockCompressor
mongod --wiredTigerCollectionBlockCompressor
storage.wiredTiger.engineConfig.cacheSizeGB
mongod --wiredTigerCacheSizeGB
storage.wiredTiger.engineConfig.directoryForIndexes
mongod --wiredTigerDirectoryForIndexes
storage.wiredTiger.engineConfig.journalCompressor
mongod --wiredTigerJournalCompressor
storage.wiredTiger.indexConfig.prefixCompression
mongod --wiredTigerIndexPrefixCompression
systemLog.component.accessControl.verbosity
mongod --setParameter "logComponentVerbosity={accessControl: ... }"
mongos --setParameter "logComponentVerbosity={accessControl: ... }"
systemLog.component.command.verbosity
mongod --setParameter "logComponentVerbosity={command: ... }"
mongos --setParameter "logComponentVerbosity={command: ... }"
systemLog.component.control.verbosity
mongod --setParameter "logComponentVerbosity={control: ... }"
mongos --setParameter "logComponentVerbosity={control: ... }"
systemLog.component.ftdc.verbosity
mongod --setParameter "logComponentVerbosity={ftdc: ... }"
mongos --setParameter "logComponentVerbosity={ftdc: ... }"
systemLog.component.geo.verbosity
mongod --setParameter "logComponentVerbosity={geo: ... }"
mongos --setParameter "logComponentVerbosity={geo: ... }"
systemLog.component.index.verbosity
mongod --setParameter "logComponentVerbosity={index: ... }"
mongos --setParameter "logComponentVerbosity={index: ... }"
systemLog.component.network.verbosity
mongod --setParameter "logComponentVerbosity={network: ... }"
mongos --setParameter "logComponentVerbosity={network: ... }"
systemLog.component.query.verbosity
mongod --setParameter "logComponentVerbosity={query: ... }"
mongos --setParameter "logComponentVerbosity={query: ... }"
systemLog.component.replication.heartbeats.verbosity
mongod --setParameter "logComponentVerbosity={replication: {heartbeats: ... }}"
mongos --setParameter "logComponentVerbosity={replication: {heartbeats: ... }}"
systemLog.component.replication.rollback.verbosity
mongod --setParameter "logComponentVerbosity={replication: {rollback: ... }}"
mongos --setParameter "logComponentVerbosity={replication: {rollback: ... }}"
systemLog.component.replication.verbosity
mongod --setParameter "logComponentVerbosity={replication: ... }"
mongos --setParameter "logComponentVerbosity={replication: ... }"
systemLog.component.sharding.verbosity
mongod --setParameter "logComponentVerbosity={sharding: ... }"
mongos --setParameter "logComponentVerbosity={sharding: ... }"
systemLog.component.storage.journal.verbosity
mongod --setParameter "logComponentVerbosity={storage: {journal: ... }}"
mongos --setParameter "logComponentVerbosity={storage: {journal: ... }}"
systemLog.component.storage.recovery.verbosity
mongod --setParameter "logComponentVerbosity={storage: {recovery: ... }}"
mongos --setParameter "logComponentVerbosity={storage: {recovery: ... }}"
systemLog.component.storage.verbosity
mongod --setParameter "logComponentVerbosity={storage: ... }"
mongos --setParameter "logComponentVerbosity={storage: ... }"
systemLog.component.write.verbosity
mongod --setParameter "logComponentVerbosity={write: ... }"
mongos --setParameter "logComponentVerbosity={write: ... }"
systemLog.destination
mongod --logpath
mongos --logpath
mongod --syslog
mongos --syslog
systemLog.logAppend
mongod --logappend
mongos --logappend
systemLog.logRotate
mongod --logRotate
mongos --logRotate
systemLog.path
systemLog.quiet
mongod --quiet
mongos --quiet
systemLog.syslogFacility
mongod --syslogFacility
mongos --syslogFacility
systemLog.timeStampFormat
mongod --timeStampFormat
mongos --timeStampFormat
systemLog.traceAllExceptions
mongod --traceExceptions
systemLog.verbosity
mongod --verbose
mongos --verbose
MongoDB는 --serviceExecutor 명령줄 옵션과 해당 net.serviceExecutor 구성 옵션을 제거합니다.
--serviceExecutor
net.serviceExecutor
이전 버전의 MongoDB 에 대해서는 레거시 문서를 참조하세요.
돌아가기
명령줄 옵션을 YAML로 변환하기
다음
MongoDB 서버 매개변수