HW 1.6 - Unable to add replica

Hello Team,
I was able to successfully create use and authenticate LDAP, however while I try to add replica to the replicaset, I am getting below error. Can anyone help me on what this is all about?
MongoDB Enterprise TO_BE_SECURED:PRIMARY> rs.add(“database.m310.mongodb.university:31161”)
{
“ok” : 0,
“errmsg” : “Quorum check failed because not enough voting nodes responded; required 2 but only the following 1 voting nodes responded: database:31160; the following nodes did not respond affirmatively: database.m310.mongodb.university:31161 failed with not authorized on admin to execute command { replSetHeartbeat: “TO_BE_SECURED”, pv: 1, v: 2, from: “database:31160”, fromId: 0, checkEmpty: false }”,
“code” : 74
}

1 Like

Hi dbalaaji,

You might find this discussion helpful.

Hope this helps,

David

1 Like