configReplSet:OTHER> rs.initiate( ... { ... _id: "configReplSet", ... configsvr: true, ... members: [ ... { _id : 0, host : "mongo-configsvr-0.mongo-configsvr:27019" }, ... { _id : 1, host : "mongo-configsvr-1.mongo-configsvr:27019" }, ... { _id : 2, host : "mongo-configsvr-2.mongo-configsvr:27019" } ... ] ... } ... ) { "operationTime" : Timestamp(1558612647, 1), "ok" : 0, "errmsg" : "already initialized", "code" : 23, "codeName" : "AlreadyInitialized", "$gleStats" : { "lastOpTime" : Timestamp(0, 0), "electionId" : ObjectId("000000000000000000000000") }, "lastCommittedOpTime" : Timestamp(0, 0), "$clusterTime" : { "clusterTime" : Timestamp(1558623903, 1), "signature" : { "hash" : BinData(0,"AAAAAAAAAAAAAAAAAAAAAAAAAAA="), "keyId" : NumberLong(0) } } }
|