Ticket #17 (closed defect: close)
mongodb机器切换IP后,无法正常使用
| Reported by: | tangyong | Owned by: | tangyong |
|---|---|---|---|
| Priority: | major | Milestone: | 电脑报价 |
| Component: | component1 | Version: | 1.0 |
| Keywords: | Cc: | liuxin | |
| Due Date: |
Description
原10.31/32/33搬迁到机房后IP改为237.81/82/83
启动mongodb后,3台均非master,无法使用
注:使用的/etc/init.d/mongodb.sh 脚本启动
Change History
Note: See
TracTickets for help on using
tickets.
![(please configure the [header_logo] section in trac.ini)](http://www1.pconline.com.cn/hr/2009/global/images/logo.gif)
mongodb 的控制信息放在local 库
先启动一台, 铲除local 库
从新配置一台作为 种子,然后启动其他的机器,删除local 库后,在primary 上添加
如果已经是数据一致了,可以加命令行参数 --fastsync