/usr/local/mongodb/bin/mongos --fork --port 40000 --logpath /export/mongodb/logs/mongos/log.log --configdb 10.14.2.201:30000,10.14.2.202:30000 --keyFile /export/mongodb/keyfile
启动mongos 时报 need either 1 or 3 configdbs 错误
这是因为 --configdb 后面的参数只能是1个或者3个 并且以逗号隔开
/usr/local/mongodb/bin/mongos --fork --port 40000 --logpath /export/mongodb/logs/mongos/log.log --configdb 10.14.2.201:30000,10.14.2.202:30000,10.14.2.202:30000 --keyFile /export/mongodb/keyfile
阅读(3163) | 评论(0) | 转发(0) |