Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Not reachable/healthy Replica Set

I am trying to add one more replica set in existing sets and getting problem in reachability. What are the reasons when we get Not reachable/healthy replica set ?

    "name" : "IP ADDRESS",
    "health" : 0,
    "state" : 8,
    "stateStr" : "(not reachable/healthy)",
    "uptime" : 0,
    "optime" : {
        "t" : 0,
        "i" : 0
    },
    "optimeDate" : ISODate("1970-01-01T00:00:00Z"),
    "lastHeartbeat" : ISODate("2013-06-18T10:52:50Z"),
    "lastHeartbeatRecv" : ISODate("1970-01-01T00:00:00Z"),
    "pingMs" : 0
like image 728
user23750 Avatar asked Nov 02 '22 20:11

user23750


1 Answers

similar problem i had , the solution was to have a keyfile. http://docs.mongodb.org/manual/tutorial/deploy-replica-set-with-auth/#create-the-key-file-to-be-used-by-each-member-of-the-replica-set

like image 164
Shimon Doodkin Avatar answered Nov 08 '22 05:11

Shimon Doodkin