搜尋

首頁  >  問答  >  主體

mongodb - mongo建立replicaSet時為何無法收到其他節點回應?

我的mongodb版本是3.0.5,系統是Ubuntu14.04,在阿里雲上運作。
我在三個節點上建立replicaSet,在初始的primary節點上rs.add加入其他節點時均回傳

{
    "ok" : 0,
    "errmsg" : "Quorum check failed because not enough voting nodes responded; required 2 but only the following 1 voting nodes responded: xx.xxx.xxx.xx:xxxxx; the following nodes did not respond affirmatively: yy.yyy.yyy.yy:yyyyy failed with Received heartbeat from member with the same member ID as ourself: 0, zz.zzz.zzz.zzz:zzzzz failed with Received heartbeat from member with the same member ID as ourself: 0",
    "code" : 74
}

節點之間的網路可以肯定是連通的,另外兩個節點的mongod也在運行,設定檔中的replSet項目也是相同的,為什麼無法收到回應呢?

某草草某草草2796 天前1002

全部回覆(0)我來回復

無回覆
  • 取消回覆