agmission/Development/server/scripts/rs-status.json

130 lines
3.6 KiB
JSON

rs.status()
{
"set" : "rs0",
"date" : ISODate("2025-05-07T17:31:23.391Z"),
"myState" : 1,
"term" : NumberLong(65),
"syncSourceHost" : "",
"syncSourceId" : -1,
"heartbeatIntervalMillis" : NumberLong(2000),
"majorityVoteCount" : 2,
"writeMajorityCount" : 2,
"votingMembersCount" : 3,
"writableVotingMembersCount" : 2,
"optimes" : {
"lastCommittedOpTime" : {
"ts" : Timestamp(0, 0),
"t" : NumberLong(-1)
},
"lastCommittedWallTime" : ISODate("1970-01-01T00:00:00Z"),
"appliedOpTime" : {
"ts" : Timestamp(1746639076, 1),
"t" : NumberLong(65)
},
"durableOpTime" : {
"ts" : Timestamp(1746639076, 1),
"t" : NumberLong(65)
},
"lastAppliedWallTime" : ISODate("2025-05-07T17:31:16.208Z"),
"lastDurableWallTime" : ISODate("2025-05-07T17:31:16.208Z")
},
"electionCandidateMetrics" : {
"lastElectionReason" : "electionTimeout",
"lastElectionDate" : ISODate("2025-05-07T13:58:11.099Z"),
"electionTerm" : NumberLong(65),
"lastCommittedOpTimeAtElection" : {
"ts" : Timestamp(0, 0),
"t" : NumberLong(-1)
},
"lastSeenOpTimeAtElection" : {
"ts" : Timestamp(1746626161, 1),
"t" : NumberLong(64)
},
"numVotesNeeded" : 2,
"priorityAtElection" : 1,
"electionTimeoutMillis" : NumberLong(10000),
"numCatchUpOps" : NumberLong(0),
"newTermStartDate" : ISODate("2025-05-07T13:58:12.518Z")
},
"members" : [
{
"_id" : 0,
"name" : "agndb0.agnav.com:27017",
"health" : 0,
"state" : 8,
"stateStr" : "(not reachable/healthy)",
"uptime" : 0,
"optime" : {
"ts" : Timestamp(0, 0),
"t" : NumberLong(-1)
},
"optimeDurable" : {
"ts" : Timestamp(0, 0),
"t" : NumberLong(-1)
},
"optimeDate" : ISODate("1970-01-01T00:00:00Z"),
"optimeDurableDate" : ISODate("1970-01-01T00:00:00Z"),
"lastAppliedWallTime" : ISODate("2025-05-06T11:56:18.832Z"),
"lastDurableWallTime" : ISODate("2025-05-06T11:56:18.832Z"),
"lastHeartbeat" : ISODate("2025-05-07T17:31:21.472Z"),
"lastHeartbeatRecv" : ISODate("2025-05-07T14:13:44.524Z"),
"pingMs" : NumberLong(2),
"lastHeartbeatMessage" : "Error connecting to agndb0.agnav.com:27017 (208.73.207.98:27017) :: caused by :: Connection refused",
"syncSourceHost" : "",
"syncSourceId" : -1,
"infoMessage" : "",
"configVersion" : 255811,
"configTerm" : -1
},
{
"_id" : 1,
"name" : "agndb1.agnav.com:27017",
"health" : 1,
"state" : 1,
"stateStr" : "PRIMARY",
"uptime" : 13637,
"optime" : {
"ts" : Timestamp(1746639076, 1),
"t" : NumberLong(65)
},
"optimeDate" : ISODate("2025-05-07T17:31:16Z"),
"lastAppliedWallTime" : ISODate("2025-05-07T17:31:16.208Z"),
"lastDurableWallTime" : ISODate("2025-05-07T17:31:16.208Z"),
"syncSourceHost" : "",
"syncSourceId" : -1,
"infoMessage" : "",
"electionTime" : Timestamp(1746626292, 1),
"electionDate" : ISODate("2025-05-07T13:58:12Z"),
"configVersion" : 255811,
"configTerm" : -1,
"self" : true,
"lastHeartbeatMessage" : ""
},
{
"_id" : 3,
"name" : "agndb2.agnav.com:27017",
"health" : 1,
"state" : 7,
"stateStr" : "ARBITER",
"uptime" : 13634,
"lastHeartbeat" : ISODate("2025-05-07T17:31:22.479Z"),
"lastHeartbeatRecv" : ISODate("2025-05-07T17:31:22.425Z"),
"pingMs" : NumberLong(51),
"lastHeartbeatMessage" : "",
"syncSourceHost" : "",
"syncSourceId" : -1,
"infoMessage" : "",
"configVersion" : 255811,
"configTerm" : -1
}
],
"ok" : 1,
"$clusterTime" : {
"clusterTime" : Timestamp(1746639076, 2),
"signature" : {
"hash" : BinData(0,"LRM/V31IbHGLuyz81r90hcD7NMc="),
"keyId" : NumberLong("7445979278300151810")
}
},
"operationTime" : Timestamp(1746639076, 1)
}