mongodb 副本集 rs.initiate() error
彼苍知 2014-12-08 01:35:15
> config_te={"_id":"te1",members:[{"_id":0,host:"127.0.0.1:4001"},{"_id":1,host:"127.0.0.1:4002"},{"_id":2,host:"127.0.0.1:4003"}]
>rs.initiate(config_te)
{
"ok" : 0,
"errmsg" : "couldn't initiate : set name does not match the set name hos
127.0.0.1:4002 expects"
}
在使用mongodb创建副本集时出现了上面的问题,求高手指点啊
我没分了 ,不是不舍得给啊-_-