什么没有 发表于 2016-12-2 08:18:56

mongo repset配置 副本集

You must specify the run time configuration on each system in a configuration file stored in /etc/mongodb.conf or a related location. Do not specify the set’s configuration in the mongo shell.
Use the following configuration for each of your MongoDB instances. You should set values that are appropriate for your systems, as needed:
port = 27017

bind_ip = 10.8.0.10

dbpath = /srv/mongodb/

logpath=/home/mongoRepSet/logs/r0.log

logappend = true

fork = true

replSet = rs0
页: [1]
查看完整版本: mongo repset配置 副本集