Upgrading Mongodb Replica Set - Documentation for Bmc Digital Workplace Advanced 18.02

 Click here to view an example output...

{ 
"set" : "myitsocial", 
"date" : ISODate, 
"myState" : 1, 
"members" : [ 
   { 
      "_id" : 0, 
      "name" : "xx.xx.xx.xx:27017", 
      "health" : 1, 
      "state" : 1, 
      "stateStr" : "PRIMARY", 
      "uptime" : 303165, 
      "optime" : Timestamp(1407521114, 1), 
      "optimeDate" : ISODate("2014-08-08T18:05:14Z"), 
      "self" : true 
   }, 
   { 
      "_id" : 1, 
      "name" : "xx.xx.xx.xx:27017", 
      "health" : 1, 
      "state" : 2, 
      "stateStr" : "SECONDARY", 
      "uptime" : 302985, 
      "optime" : Timestamp(1407521114, 1), 
      "optimeDate" : ISODate("2014-08-08T18:05:14Z"), 
      "lastHeartbeat" : ISODate("2014-08-12T06:15:02Z"), 
      "lastHeartbeatRecv" : ISODate("2014-08-12T06:15:02Z"), 
      "pingMs" : 0, 
   "syncingTo" : "xx.xx.xx.xx:2701" 
   },
   { 
      "_id" : 2, 
      "name" : "xx.xx.xx.xx:27017", 
      "health" : 1, "state" : 2, 
      "stateStr" : "SECONDARY", 
      "uptime" : 302985, 
      "optime" : Timestamp(1407521114, 1), 
      "optimeDate" : ISODate(" "), 
      "lastHeartbeat" : ISODate(" "), 
      "lastHeartbeatRecv" : ISODate(" Z"), 
      "pingMs" : 0, 
      "syncingTo" : "xx.xx.xx.xx:27017" 
   } 
], 
"ok" : 1 
}
Marcus Vance

Marcus Vance

Cybersecurity & Digital Privacy Researcher

Marcus Vance is a cybersecurity auditor and technology writer dedicated to educating the public about online safety, data privacy regulations, enterprise security, and emerging cyber threats.

Share this article
Twitter Facebook Pinterest