I am config replication with rs.initiate()
command then after I try to add a member to my server IP address using rs.add(xxx.xxx.xxx.xxx:27017)
but it's return error like this.
{ "ok" : 0, "errmsg" : "Quorum check failed because not enough voting nodes responded; required 2 but only the following 1 voting nodes responded: xxx.xxx.xxx.01:27017; the following nodes did not respond affirmatively: xxx.xxx.xxx.02:27017 failed with Server min and max wire version are incompatible (0,5) with client min wire version (6,6)", "code" : 74, "codeName" : "NodeNotFound", "operationTime" : Timestamp(1516699107, 1), "$clusterTime" : { "clusterTime" : Timestamp(1516699107, 1), "signature" : { "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="), "keyId" : NumberLong(0) } } }
Please give me solution for that.
Thanks!
-Karmdip Joshi
Two things...
First, check firewalls! Every node must have a possibility to connect to other nodes.
Second, you cannot use localhost address(es) if all nodes are NOT at same computer. So, if you are already configured first node using localhost address, you cannot add other nodes with IP addresses, all addresses must be (in that case) localhost i.e. same computer but different port.