ΒΆ2023-07-29

Since we go hc4Jammy.yushei.net up and running, we are going to add it int "MuneTakaHome" replicationSet

[alexlai@orpi5Arch x.509]$ mongosh  mongodb://localhost:27999
Current Mongosh Log ID: 64c4eafc6916e97bc075de59
Connecting to:          mongodb://localhost:27999/?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+1.10.1
Using MongoDB:          7.0.0-rc8
Using Mongosh:          1.10.1

For mongosh info see: https://docs.mongodb.com/mongodb-shell/

Hi! from orgpi5Arch.yushei.net:27999
MuneTakaHome [direct: primary] admin> db.auth("siteRootAdmin", "b23258585")
{ ok: 1 }
MuneTakaHome [direct: primary] admin> rs.add("hc4Jammy.yushei.net:27999")
{
  ok: 1,
  '$clusterTime': {
    clusterTime: Timestamp({ t: 1690626892, i: 1 }),
    signature: {
      hash: Binary(Buffer.from("fb06abce0a4828f428226fefdaec8981ff39c584", "hex"), 0),
      keyId: Long("7261161535563628549")
    }
  },
  operationTime: Timestamp({ t: 1690626892, i: 1 })
}
MuneTakaHome [direct: primary] admin> rs.status()
{
  set: 'MuneTakaHome',
  date: ISODate("2023-07-29T10:35:04.295Z"),
  myState: 1,
  term: Long("1"),
  syncSourceHost: '',
  syncSourceId: -1,
  heartbeatIntervalMillis: Long("2000"),
  majorityVoteCount: 2,
  writeMajorityCount: 2,
  votingMembersCount: 3,
  writableVotingMembersCount: 3,
  optimes: {
    lastCommittedOpTime: { ts: Timestamp({ t: 1690626896, i: 1 }), t: Long("1") },
    lastCommittedWallTime: ISODate("2023-07-29T10:34:56.523Z"),
    readConcernMajorityOpTime: { ts: Timestamp({ t: 1690626896, i: 1 }), t: Long("1") },
    appliedOpTime: { ts: Timestamp({ t: 1690626896, i: 1 }), t: Long("1") },
    durableOpTime: { ts: Timestamp({ t: 1690626896, i: 1 }), t: Long("1") },
    lastAppliedWallTime: ISODate("2023-07-29T10:34:56.523Z"),
    lastDurableWallTime: ISODate("2023-07-29T10:34:56.523Z")
  },
  lastStableRecoveryTimestamp: Timestamp({ t: 1690626845, i: 1 }),
  electionCandidateMetrics: {
    lastElectionReason: 'electionTimeout',
    lastElectionDate: ISODate("2023-07-29T08:55:14.304Z"),
    electionTerm: Long("1"),
    lastCommittedOpTimeAtElection: { ts: Timestamp({ t: 1690620903, i: 1 }), t: Long("-1") },
    lastSeenOpTimeAtElection: { ts: Timestamp({ t: 1690620903, i: 1 }), t: Long("-1") },
    numVotesNeeded: 2,
    priorityAtElection: 1,
    electionTimeoutMillis: Long("10000"),
    numCatchUpOps: Long("0"),
    newTermStartDate: ISODate("2023-07-29T08:55:14.404Z"),
    wMajorityWriteAvailabilityDate: ISODate("2023-07-29T08:55:15.197Z")
  },
  members: [
    {
      _id: 0,
      name: 'orgpi5Arch.yushei.net:27999',
      health: 1,
      state: 1,
      stateStr: 'PRIMARY',
      uptime: 6057,
      optime: { ts: Timestamp({ t: 1690626896, i: 1 }), t: Long("1") },
      optimeDate: ISODate("2023-07-29T10:34:56.000Z"),
      lastAppliedWallTime: ISODate("2023-07-29T10:34:56.523Z"),
      lastDurableWallTime: ISODate("2023-07-29T10:34:56.523Z"),
      syncSourceHost: '',
      syncSourceId: -1,
      infoMessage: '',
      electionTime: Timestamp({ t: 1690620914, i: 1 }),
      electionDate: ISODate("2023-07-29T08:55:14.000Z"),
      configVersion: 3,
      configTerm: 1,
      self: true,
      lastHeartbeatMessage: ''
    },
    {
      _id: 1,
      name: 'orgpi5Jammy.yushei.net:27999',
      health: 1,
      state: 2,
      stateStr: 'SECONDARY',
      uptime: 6001,
      optime: { ts: Timestamp({ t: 1690626896, i: 1 }), t: Long("1") },
      optimeDurable: { ts: Timestamp({ t: 1690626896, i: 1 }), t: Long("1") },
      optimeDate: ISODate("2023-07-29T10:34:56.000Z"),
      optimeDurableDate: ISODate("2023-07-29T10:34:56.000Z"),
      lastAppliedWallTime: ISODate("2023-07-29T10:34:56.523Z"),
      lastDurableWallTime: ISODate("2023-07-29T10:34:56.523Z"),
      lastHeartbeat: ISODate("2023-07-29T10:35:02.548Z"),
      lastHeartbeatRecv: ISODate("2023-07-29T10:35:02.550Z"),
      pingMs: Long("1"),
      lastHeartbeatMessage: '',
      syncSourceHost: 'orgpi5Arch.yushei.net:27999',
      syncSourceId: 0,
      infoMessage: '',
      configVersion: 3,
      configTerm: 1
    },
    {
      _id: 2,
      name: 'hc4Jammy.yushei.net:27999',
      health: 1,
      state: 2,
      stateStr: 'SECONDARY',
      uptime: 11,
      optime: { ts: Timestamp({ t: 1690626896, i: 1 }), t: Long("1") },
      optimeDurable: { ts: Timestamp({ t: 1690626896, i: 1 }), t: Long("1") },
      optimeDate: ISODate("2023-07-29T10:34:56.000Z"),
      optimeDurableDate: ISODate("2023-07-29T10:34:56.000Z"),
      lastAppliedWallTime: ISODate("2023-07-29T10:34:56.523Z"),
      lastDurableWallTime: ISODate("2023-07-29T10:34:56.523Z"),
      lastHeartbeat: ISODate("2023-07-29T10:35:02.545Z"),
      lastHeartbeatRecv: ISODate("2023-07-29T10:35:03.044Z"),
      pingMs: Long("1"),
      lastHeartbeatMessage: '',
      syncSourceHost: 'orgpi5Arch.yushei.net:27999',
      syncSourceId: 0,
      infoMessage: '',
      configVersion: 3,
      configTerm: 1
    }
  ],
  ok: 1,
  '$clusterTime': {
    clusterTime: Timestamp({ t: 1690626896, i: 1 }),
    signature: {
      hash: Binary(Buffer.from("3c5c79cf253253169232c5245beb03520ea1e2e1", "hex"), 0),
      keyId: Long("7261161535563628549")
    }
  },
  operationTime: Timestamp({ t: 1690626896, i: 1 })
}
MuneTakaHome [direct: primary] admin>