[root@svx-lab-05m ~]# mongosh -u dba_mongo -p Current Mongosh Log ID: 65f9337839d1a87bb9ae5962 Connecting to: mongodb://@127.0.0.1:27017/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.1.5 Using MongoDB: 7.0.6 Using Mongosh: 2.1.5 For mongosh info see: https://docs.mongodb.com/mongodb-shell/ Enterprise ReplicaMGDB [direct: secondary] test> rs.status() { set: 'ReplicaMGDB', date: ISODate('2024-03-19T06:41:47.794Z'), myState: 2, term: Long('34'), syncSourceHost: 'svx-lab-02t.unifr.ch:27017', syncSourceId: 3, heartbeatIntervalMillis: Long('2000'), majorityVoteCount: 2, writeMajorityCount: 2, votingMembersCount: 3, writableVotingMembersCount: 3, optimes: { lastCommittedOpTime: { ts: Timestamp({ t: 1710830501, i: 1 }), t: Long('34') }, lastCommittedWallTime: ISODate('2024-03-19T06:41:41.936Z'), readConcernMajorityOpTime: { ts: Timestamp({ t: 1710830501, i: 1 }), t: Long('34') }, appliedOpTime: { ts: Timestamp({ t: 1710830501, i: 1 }), t: Long('34') }, durableOpTime: { ts: Timestamp({ t: 1710830501, i: 1 }), t: Long('34') }, lastAppliedWallTime: ISODate('2024-03-19T06:41:41.936Z'), lastDurableWallTime: ISODate('2024-03-19T06:41:41.936Z') }, lastStableRecoveryTimestamp: Timestamp({ t: 1710830451, i: 1 }), electionParticipantMetrics: { votedForCandidate: true, electionTerm: Long('34'), lastVoteDate: ISODate('2024-03-15T14:33:54.402Z'), electionCandidateMemberId: 3, voteReason: '', lastAppliedOpTimeAtElection: { ts: Timestamp({ t: 1710513232, i: 1 }), t: Long('33') }, maxAppliedOpTimeInSet: { ts: Timestamp({ t: 1710513232, i: 1 }), t: Long('33') }, priorityAtElection: 1, newTermStartDate: ISODate('2024-03-15T14:33:54.409Z'), newTermAppliedDate: ISODate('2024-03-15T14:33:54.416Z') }, members: [ { _id: 1, name: 'svx-lab-04m.unifr.ch:27017', health: 1, state: 2, stateStr: 'SECONDARY', uptime: 493358, optime: { ts: Timestamp({ t: 1710830501, i: 1 }), t: Long('34') }, optimeDurable: { ts: Timestamp({ t: 1710830501, i: 1 }), t: Long('34') }, optimeDate: ISODate('2024-03-19T06:41:41.000Z'), optimeDurableDate: ISODate('2024-03-19T06:41:41.000Z'), lastAppliedWallTime: ISODate('2024-03-19T06:41:41.936Z'), lastDurableWallTime: ISODate('2024-03-19T06:41:41.936Z'), lastHeartbeat: ISODate('2024-03-19T06:41:46.641Z'), lastHeartbeatRecv: ISODate('2024-03-19T06:41:46.641Z'), pingMs: Long('0'), lastHeartbeatMessage: '', syncSourceHost: 'svx-lab-02t.unifr.ch:27017', syncSourceId: 3, infoMessage: '', configVersion: 18, configTerm: 34 }, { _id: 2, name: 'svx-lab-05m.unifr.ch:27017', health: 1, state: 2, stateStr: 'SECONDARY', uptime: 493406, optime: { ts: Timestamp({ t: 1710830501, i: 1 }), t: Long('34') }, optimeDate: ISODate('2024-03-19T06:41:41.000Z'), lastAppliedWallTime: ISODate('2024-03-19T06:41:41.936Z'), lastDurableWallTime: ISODate('2024-03-19T06:41:41.936Z'), syncSourceHost: 'svx-lab-02t.unifr.ch:27017', syncSourceId: 3, infoMessage: '', configVersion: 18, configTerm: 34, self: true, lastHeartbeatMessage: '' }, { _id: 3, name: 'svx-lab-02t.unifr.ch:27017', health: 1, state: 1, stateStr: 'PRIMARY', uptime: 487644, optime: { ts: Timestamp({ t: 1710830501, i: 1 }), t: Long('34') }, optimeDurable: { ts: Timestamp({ t: 1710830501, i: 1 }), t: Long('34') }, optimeDate: ISODate('2024-03-19T06:41:41.000Z'), optimeDurableDate: ISODate('2024-03-19T06:41:41.000Z'), lastAppliedWallTime: ISODate('2024-03-19T06:41:41.936Z'), lastDurableWallTime: ISODate('2024-03-19T06:41:41.936Z'), lastHeartbeat: ISODate('2024-03-19T06:41:45.855Z'), lastHeartbeatRecv: ISODate('2024-03-19T06:41:46.642Z'), pingMs: Long('0'), lastHeartbeatMessage: '', syncSourceHost: '', syncSourceId: -1, infoMessage: '', electionTime: Timestamp({ t: 1710513234, i: 1 }), electionDate: ISODate('2024-03-15T14:33:54.000Z'), configVersion: 18, configTerm: 34 } ], ok: 1, '$clusterTime': { clusterTime: Timestamp({ t: 1710830501, i: 1 }), signature: { hash: Binary.createFromBase64('aorRw9aUfvYND/2n7epTIzRWano=', 0), keyId: Long('7345842167333519365') } }, operationTime: Timestamp({ t: 1710830501, i: 1 }) } Enterprise ReplicaMGDB [direct: secondary] test>