Created
November 3, 2015 06:59
-
-
Save marantz/e2455d834caa3089972c to your computer and use it in GitHub Desktop.
MongoDB CONFIG SERVER CONFIG YAML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
net: | |
bindIp: [127.0.0.1,hostName] | |
port: 27218 | |
processManagement: | |
fork: true | |
sharding: | |
clusterRole: configsvr # [shardsvr/configsvr] | |
security: | |
authorization: disabled | |
javascriptEnabled: true | |
storage: | |
dbPath: "/opt/mongodb/data/shard_config_01" | |
engine: "wiredTiger" | |
wiredTiger: { | |
engineConfig: { | |
cacheSizeGB: 1 # [min=100MB,max=8GB] | |
,journalCompressor: zlib # [none/snappy/zlib] | |
,directoryForIndexes: true # [Default=false] | |
,statisticsLogDelaySecs: 0 # [Default=0] | |
} | |
,collectionConfig: { | |
blockCompressor: zlib # [none/snappy/zlib] | |
} | |
,indexConfig: { | |
prefixCompression: true | |
} | |
} | |
journal: | |
enabled: true | |
indexBuildRetry: true | |
systemLog: | |
destination: file | |
path: "/opt/mongodb/logs/shard_db_config_01.log" | |
quiet: true | |
logAppend: true | |
traceAllExceptions: true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment