标签:rds pat god port mongo ram sha data har
http://blog.csdn.net/sxb0841901116/article/details/40923841
cd D:\Program Files\MongoDB\Server\3.4\bin
mongod --shardsvr --replSet shard-a --dbpath "D:\data\db\rs-a-1" --port 3000 --logpath "D:\data\log\rs-a-1.log" --nojournal
mongod --shardsvr --replSet shard-a --dbpath "D:\data\db\rs-a-2" --port 3001 --logpath "D:\data\log\rs-a-2.log" --nojournal
mongod --shardsvr --replSet shard-a --dbpath "D:\data\db\rs-a-3" --port 3002 --logpath "D:\data\log\rs-a-3.log" --nojournal
mongod --shardsvr --replSet shard-b --dbpath "D:\data\db\rs-b-1" --port 30100 --logpath "D:\data\log\rs-b-1.log" --nojournal
mongod --shardsvr --replSet shard-b --dbpath "D:\data\db\rs-b-2" --port 30101 --logpath "D:\data\log\rs-b-2.log" --nojournal
mongod --shardsvr --replSet shard-b --dbpath "D:\data\db\rs-b-3" --port 30102 --logpath "D:\data\log\rs-b-3.log" --nojournal
标签:rds pat god port mongo ram sha data har
原文地址:http://www.cnblogs.com/moss_tan_jun/p/6270171.html