Chinaunix首页 | 论坛 | 博客
  • 博客访问: 2283345
  • 博文数量: 276
  • 博客积分: 5998
  • 博客等级: 大校
  • 技术积分: 5175
  • 用 户 组: 普通用户
  • 注册时间: 2010-12-24 14:43
文章分类

全部博文(276)

文章存档

2014年(25)

2013年(11)

2012年(69)

2011年(167)

2010年(4)

发布时间:2014-03-24 15:48:08

/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 错误这是因为 -.........【阅读全文】

阅读(3073) | 评论(0) | 转发(0)

发布时间:2014-03-24 15:37:39

一、环境MongoDB Sharding Cluster 包含三种角色:?Shard Server:mongod 实例,用于存储实际的数据块,数据层?ConfigServer: mongod 实例,存储了整个 Cluster Metadata,其中包括 chunk 信息,配置层?Route Server:mongos 实例,前端路由,客户端由此接入,且让整个集群看上去像单一进程&.........【阅读全文】

阅读(5824) | 评论(2) | 转发(3)

发布时间:2014-03-24 11:57:00

#后台启动fork = true#绑定的ip地址#bind_ip = 127.0.0.1#指定mongodb的端口port = 27017#指定存放数据的目录dbpath = /export/mongodb1/data#每一个库有单一的子目录directoryperdb = true#指定日志的路径logpath = /export/mongodb1/log/mongod.log#指定存放进程文件的目录pidfilepath = /export/mongodb1/l.........【阅读全文】

阅读(2432) | 评论(0) | 转发(1)
给主人留下些什么吧!~~

tomcoding2018-07-26 14:33

来我的博客看看吧

回复  |  举报

noiplee2013-12-24 15:29

有营养哈哈

回复  |  举报

电影vs程序员2013-08-22 18:18

博客不错

回复  |  举报

大鬼不动2011-01-04 08:17

回复  |  举报
留言热议
请登录后留言。

登录 注册