Hi, thanks for the reply
After launch many restart and many install of mongodb. It works well, but I don’t change anything when I installed the service and enter the configuration …
rs.status() return this :
"set" : "rs_mongo0",
"date" : ISODate("2019-04-23T14:30:09.707Z"),
"myState" : 1,
"term" : NumberLong(1),
"heartbeatIntervalMillis" : NumberLong(2000),
"members" : [
{
"_id" : 0,
"name" : "srv1-gl-gdb.crtinformatique.local:27017",
"health" : 1,
"state" : 1,
"stateStr" : "PRIMARY",
"uptime" : 24038,
"optime" : {
"ts" : Timestamp(1556026325, 1),
"t" : NumberLong(1)
},
"optimeDate" : ISODate("2019-04-23T13:32:05Z"),
"electionTime" : Timestamp(1556010390, 2),
"electionDate" : ISODate("2019-04-23T09:06:30Z"),
"configVersion" : 3,
"self" : true
},
{
"_id" : 1,
"name" : "srv2-gl-gdb:27017",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 19169,
"optime" : {
"ts" : Timestamp(1556026325, 1),
"t" : NumberLong(1)
},
"optimeDate" : ISODate("2019-04-23T13:32:05Z"),
"lastHeartbeat" : ISODate("2019-04-23T14:30:09.245Z"),
"lastHeartbeatRecv" : ISODate("2019-04-23T14:30:09.244Z"),
"pingMs" : NumberLong(0),
"syncingTo" : "srv1-gl-gdb.crtinformatique.local:27017",
"configVersion" : 3
},
{
"_id" : 2,
"name" : "srv1-es-gdb:27017",
"health" : 1,
"state" : 2,
"stateStr" : "SECONDARY",
"uptime" : 18934,
"optime" : {
"ts" : Timestamp(1556026325, 1),
"t" : NumberLong(1)
},
"optimeDate" : ISODate("2019-04-23T13:32:05Z"),
"lastHeartbeat" : ISODate("2019-04-23T14:30:09.036Z"),
"lastHeartbeatRecv" : ISODate("2019-04-23T14:30:09.035Z"),
"pingMs" : NumberLong(0),
"syncingTo" : "srv2-gl-gdb:27017",
"configVersion" : 3
}
],
"ok" : 1
I guess it works ?