How to configure mongodb replicaset of 3 nodes in authentication mode
0
I had configured a mongodb replicaSet of 3 nodes. It was running fine But WHen i created a adminUser and dbuser on primary node and enabled the authorization in mongodb.conf file of all nodes then they are not connecting. Below is the output of rs.status() after enabling authorization. Kindly Help. { "set" : "replset1", "date" : ISODate("2017-07-15T04:09:41.796Z"), "myState" : 3, "term" : NumberLong(1), "heartbeatIntervalMillis" : NumberLong(2000), "members" : [ { "_id" : 1, "name" : "10.10.8.1:27017", "health" : 1, "state" : 3, "stateStr" : "RECOVERING", ...