mongoDB的副本机制
# grep -v "^#" /etc/mongod.conf | grep -v "^$"bind_ip = 192.168.99.80
fork = true
pidfilepath = /var/run/mongodb/mongod.pid
logpath = /var/log/mongodb/mongod.log
unixSocketPrefix = /var/run/mongodb
dbpath = /mongodb/data
httpinterface = true
rest = true
replSet = testSet
replIndexPrefetch = _id_only
页:
[1]