Created
August 14, 2014 09:22
-
-
Save niccottrell/86e361de32aacf08b71c to your computer and use it in GitHub Desktop.
mongodb arbiter configuration file (shard)
This file contains hidden or 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
systemLog: | |
destination: file | |
path: "/var/log/mongo/mongo-arb.log" | |
logAppend: true | |
storage: | |
dbPath: "/var/lib/mongo-arb" | |
processManagement: | |
fork: true | |
pidFilePath: "/var/run/mongo/mongod-arb.pid" | |
net: | |
port: 27018 | |
http: | |
enabled: true | |
replication: | |
replSetName: "rs1" | |
sharding: | |
clusterRole: shardsvr | |
security: | |
keyFile: "/var/lib/mongo/shard.key" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is the new configuration format for MongoDB 2.6+