Skip to content

Instantly share code, notes, and snippets.

@jasoares
Last active August 29, 2015 14:17
Show Gist options
  • Select an option

  • Save jasoares/bf31cf2bd90b955202fb to your computer and use it in GitHub Desktop.

Select an option

Save jasoares/bf31cf2bd90b955202fb to your computer and use it in GitHub Desktop.
mongos.conf
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