MongoDB addshard
mongos> db.runCommand( { addshard : "shard1/172.31.11.55:27017,172.31.11.57:27017,172.31.11.157:27017″,name:"s1",maxsize:20480} );...
...
mongos> db.runCommand( { addshard : "shard2/172.31.11.55:27018,172.31.11.57:27018,172.31.11.157:27018″,name:"s2",maxsize:20480} );
...
...
mongos> db.runCommand({listshards:1});
{ "shards" : [ ], "ok" : 1 }
为什么为空呢? 在公司用了款美~信CreCloud云网管,挺不错的,属于云计算技术理念和IT监控技术的完美结合,云网管的成功开发和应用,使云计算理念在IT监控领域落地,而且还是永久免费。http://www.mxsoft.com
页:
[1]