printjson(rsconf)
{
“_id” : “rs2”,
“members” : [
{
“_id” : 0,
“host” : “10.66.102.92:27017”
},
{
“_id” : 1,
“host” : “10.66.102.92:27018”
},
{
“_id” : 2,
“host” : “10.66.102.92:27019”
}
]
}
rs.initiate(rsconf);
{
“operationTime” : Timestamp(0, 0),
“ok” : 0,
“errmsg” : “replSetInitiate quorum check failed because not all proposed set members responded affirmatively: 10.66.102.92:27018 failed with Error connecting to 10.66.102.92:27018 :: caused by :: Connection refused, 10.66.102.92:27019 failed with Error connecting to 10.66.102.92:27019 :: caused by :: Connection refused”,
“code” : 74,
“codeName” : “NodeNotFound”,
“$clusterTime” : {
“clusterTime” : Timestamp(0, 0),
“signature” : {
“hash” : BinData(0,”AAAAAAAAAAAAAAAAAAAAAAAAAAA=”),
“keyId” : NumberLong(0)
}
}
}