[root@svx-lab-02t ~]# mongosh -u dba_mongo -p Current Mongosh Log ID: 65f93386de71f5f35044bd24 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/ ------ The server generated these startup warnings when booting 2024-03-13T16:13:31.387+01:00: /sys/kernel/mm/transparent_hugepage/enabled is 'always'. We suggest setting it to 'never' 2024-03-13T16:13:31.387+01:00: vm.max_map_count is too low ------ Enterprise ReplicaMGDB [direct: primary] test> rs.status() { set: 'ReplicaMGDB', date: ISODate('2024-03-19T06:43:26.813Z'), myState: 1, term: Long('34'), syncSourceHost: '', syncSourceId: -1, heartbeatIntervalMillis: Long('2000'), majorityVoteCount: 2, writeMajorityCount: 2, votingMembersCount: 3, writableVotingMembersCount: 3, optimes: { lastCommittedOpTime: { ts: Timestamp({ t: 1710830602, i: 3 }), t: Long('34') }, lastCommittedWallTime: ISODate('2024-03-19T06:43:22.592Z'), readConcernMajorityOpTime: { ts: Timestamp({ t: 1710830602, i: 3 }), t: Long('34') }, appliedOpTime: { ts: Timestamp({ t: 1710830602, i: 3 }), t: Long('34') }, durableOpTime: { ts: Timestamp({ t: 1710830602, i: 3 }), t: Long('34') }, lastAppliedWallTime: ISODate('2024-03-19T06:43:22.592Z'), lastDurableWallTime: ISODate('2024-03-19T06:43:22.592Z') }, lastStableRecoveryTimestamp: Timestamp({ t: 1710830581, i: 1 }), electionCandidateMetrics: { lastElectionReason: 'stepUpRequestSkipDryRun', lastElectionDate: ISODate('2024-03-15T14:33:54.400Z'), electionTerm: Long('34'), lastCommittedOpTimeAtElection: { ts: Timestamp({ t: 1710513232, i: 1 }), t: Long('33') }, lastSeenOpTimeAtElection: { ts: Timestamp({ t: 1710513232, i: 1 }), t: Long('33') }, numVotesNeeded: 2, priorityAtElection: 1, electionTimeoutMillis: Long('10000'), priorPrimaryMemberId: 2, numCatchUpOps: Long('0'), newTermStartDate: ISODate('2024-03-15T14:33:54.409Z'), wMajorityWriteAvailabilityDate: ISODate('2024-03-15T14:33:54.413Z') }, electionParticipantMetrics: { votedForCandidate: true, electionTerm: Long('33'), lastVoteDate: ISODate('2024-03-15T14:33:42.071Z'), electionCandidateMemberId: 2, voteReason: '', lastAppliedOpTimeAtElection: { ts: Timestamp({ t: 1710513211, i: 1 }), t: Long('32') }, maxAppliedOpTimeInSet: { ts: Timestamp({ t: 1710513211, i: 1 }), t: Long('32') }, priorityAtElection: 1 }, members: [ { _id: 1, name: 'svx-lab-04m.unifr.ch:27017', health: 1, state: 2, stateStr: 'SECONDARY', uptime: 487743, optime: { ts: Timestamp({ t: 1710830602, i: 3 }), t: Long('34') }, optimeDurable: { ts: Timestamp({ t: 1710830602, i: 3 }), t: Long('34') }, optimeDate: ISODate('2024-03-19T06:43:22.000Z'), optimeDurableDate: ISODate('2024-03-19T06:43:22.000Z'), lastAppliedWallTime: ISODate('2024-03-19T06:43:22.592Z'), lastDurableWallTime: ISODate('2024-03-19T06:43:22.592Z'), lastHeartbeat: ISODate('2024-03-19T06:43:26.642Z'), lastHeartbeatRecv: ISODate('2024-03-19T06:43:26.642Z'), 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: 487743, optime: { ts: Timestamp({ t: 1710830602, i: 3 }), t: Long('34') }, optimeDurable: { ts: Timestamp({ t: 1710830602, i: 3 }), t: Long('34') }, optimeDate: ISODate('2024-03-19T06:43:22.000Z'), optimeDurableDate: ISODate('2024-03-19T06:43:22.000Z'), lastAppliedWallTime: ISODate('2024-03-19T06:43:22.592Z'), lastDurableWallTime: ISODate('2024-03-19T06:43:22.592Z'), lastHeartbeat: ISODate('2024-03-19T06:43:26.642Z'), lastHeartbeatRecv: ISODate('2024-03-19T06:43:25.861Z'), pingMs: Long('0'), lastHeartbeatMessage: '', syncSourceHost: 'svx-lab-02t.unifr.ch:27017', syncSourceId: 3, infoMessage: '', configVersion: 18, configTerm: 34 }, { _id: 3, name: 'svx-lab-02t.unifr.ch:27017', health: 1, state: 1, stateStr: 'PRIMARY', uptime: 487796, optime: { ts: Timestamp({ t: 1710830602, i: 3 }), t: Long('34') }, optimeDate: ISODate('2024-03-19T06:43:22.000Z'), lastAppliedWallTime: ISODate('2024-03-19T06:43:22.592Z'), lastDurableWallTime: ISODate('2024-03-19T06:43:22.592Z'), syncSourceHost: '', syncSourceId: -1, infoMessage: '', electionTime: Timestamp({ t: 1710513234, i: 1 }), electionDate: ISODate('2024-03-15T14:33:54.000Z'), configVersion: 18, configTerm: 34, self: true, lastHeartbeatMessage: '' } ], ok: 1, '$clusterTime': { clusterTime: Timestamp({ t: 1710830602, i: 3 }), signature: { hash: Binary.createFromBase64('dGAOSjey38XxT/XXnVZR7gGbDGI=', 0), keyId: Long('7345842167333519365') } }, operationTime: Timestamp({ t: 1710830602, i: 3 }) } Enterprise ReplicaMGDB [direct: primary] test>