Last active
December 14, 2015 01:58
-
-
Save BrunoBonacci/5009721 to your computer and use it in GitHub Desktop.
MongoDB Replica set configuration
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
# this is the replica set name | |
# every node will need to have the same name | |
replSet = setname | |
# this is the authetication encryption key | |
# this will be required to be same on every node | |
keyFile = /etc/mongodb.key | |
# This is the operational log size | |
# here we assume ~24GB for example | |
oplogSize = 24000 | |
# optionally - create a separate directory per DB | |
directoryperdb = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment