Last active
August 29, 2015 14:17
-
-
Save jasoares/bf31cf2bd90b955202fb to your computer and use it in GitHub Desktop.
mongos.conf
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: '/usr/local/var/log/mongodb/mongos.log' | |
| logAppend: true | |
| processManagement: | |
| fork: true | |
| pidFilePath: '/var/run/mongodb/mongos.pid' | |
| net: | |
| bindIp: | |
| - 127.0.0.1 | |
| - 10.0.0.100 | |
| port: 27017 | |
| sharding: | |
| configDB: #'cfg0.example.com:27019' for single config server | |
| - 'cfg0.example.com:27019' | |
| - 'cfg1.example.com:27019' | |
| - 'cfg2.example.com:27019' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment