rs0:PRIMARY> rs.status() { "set" : "rs0", "date" : ISODate("2013-01-17T07:06:57Z"), "myState" : 1, "members" : [ { "_id" : 0, "name" : "elba-mongo1:27017", "health" : 1, "state" : 1, "stateStr" : "PRIMARY", "uptime" : 61860, "optime" : Timestamp(1358405971000, 11), "optimeDate" : ISODate("2013-01-17T06:59:31Z"), "self" : true }, { "_id" : 1, "name" : "elba-mongo2:27017", "health" : 1, "state" : 1, "stateStr" : "PRIMARY", "uptime" : 49117, "optime" : Timestamp(1358406414000, 9), "optimeDate" : ISODate("2013-01-17T07:06:54Z"), "lastHeartbeat" : ISODate("2013-01-17T07:06:56Z"), "pingMs" : 0 }, { "_id" : 2, "name" : "elba-mongo3:27017", "health" : 1, "state" : 2, "stateStr" : "SECONDARY", "uptime" : 46591, "optime" : Timestamp(1358406414000, 9), "optimeDate" : ISODate("2013-01-17T07:06:54Z"), "lastHeartbeat" : ISODate("2013-01-17T07:06:56Z"), "pingMs" : 0 } ], "ok" : 1 } rs0:PRIMARY> rs.status() { "set" : "rs0", "date" : ISODate("2013-01-17T07:04:51Z"), "myState" : 1, "members" : [ { "_id" : 0, "name" : "elba-mongo1:27017", "health" : 0, "state" : 8, "stateStr" : "(not reachable/healthy)", "uptime" : 0, "optime" : Timestamp(1358405935000, 4), "optimeDate" : ISODate("2013-01-17T06:58:55Z"), "lastHeartbeat" : ISODate("2013-01-17T06:58:55Z"), "pingMs" : 0, "errmsg" : "DBClientBase::findN: transport error: elba-mongo1:27017 ns: admin.$cmd query: { replSetHeartbeat: \"rs0\", v: 7, pv: 1, checkEmpty: false, from: \"elba-mongo2:27017\", $auth: {} }" }, { "_id" : 1, "name" : "elba-mongo2:27017", "health" : 1, "state" : 1, "stateStr" : "PRIMARY", "uptime" : 48994, "optime" : Timestamp(1358406289000, 4), "optimeDate" : ISODate("2013-01-17T07:04:49Z"), "self" : true }, { "_id" : 2, "name" : "elba-mongo3:27017", "health" : 1, "state" : 2, "stateStr" : "SECONDARY", "uptime" : 3265, "optime" : Timestamp(1358406289000, 4), "optimeDate" : ISODate("2013-01-17T07:04:49Z"), "lastHeartbeat" : ISODate("2013-01-17T07:04:50Z"), "pingMs" : 0 } ], "ok" : 1 } rs0:SECONDARY> rs.status() { "set" : "rs0", "date" : ISODate("2013-01-17T07:05:52Z"), "myState" : 2, "syncingTo" : "elba-mongo2:27017", "members" : [ { "_id" : 0, "name" : "elba-mongo1:27017", "health" : 0, "state" : 8, "stateStr" : "(not reachable/healthy)", "uptime" : 0, "optime" : Timestamp(1358405935000, 4), "optimeDate" : ISODate("2013-01-17T06:58:55Z"), "lastHeartbeat" : ISODate("2013-01-17T06:58:55Z"), "pingMs" : 0, "errmsg" : "DBClientBase::findN: transport error: elba-mongo1:27017 ns: admin.$cmd query: { replSetHeartbeat: \"rs0\", v: 7, pv: 1, checkEmpty: false, from: \"elba-mongo3:27017\", $auth: {} }" }, { "_id" : 1, "name" : "elba-mongo2:27017", "health" : 1, "state" : 1, "stateStr" : "PRIMARY", "uptime" : 636, "optime" : Timestamp(1358406350000, 2), "optimeDate" : ISODate("2013-01-17T07:05:50Z"), "lastHeartbeat" : ISODate("2013-01-17T07:05:50Z"), "pingMs" : 0 }, { "_id" : 2, "name" : "elba-mongo3:27017", "health" : 1, "state" : 2, "stateStr" : "SECONDARY", "uptime" : 48581, "optime" : Timestamp(1358406350000, 2), "optimeDate" : ISODate("2013-01-17T07:05:50Z"), "self" : true } ], "ok" : 1 }