如果任何副本已关闭,则无法使用活动副本

时间:2015-02-12 02:56:44

标签: mongodb

我无法从192.168.14.7

获取任何数据

无论如何,我想从192.168.14.7获取数据 其他复制品状态。

rs.status()

rs.status()
{
    "set" : "LALALA",
    "date" : ISODate("2015-02-12T02:49:19Z"),
    "myState" : 1,
    "members" : [
        {
            "_id" : 1,
            "name" : "172.19.16.109:27017",
            "health" : 0,
            "state" : 8,
            "stateStr" : "(not reachable/healthy)",
            "uptime" : 0,
            "optime" : Timestamp(1423649845, 1),
            "optimeDate" : ISODate("2015-02-11T10:17:25Z"),
            "lastHeartbeat" : ISODate("2015-02-12T02:49:04Z"),
            "lastHeartbeatRecv" : ISODate("2015-02-11T10:31:04Z"),
            "pingMs" : 0,
            "syncingTo" : "192.168.14.7:27017"
        },
        {
            "_id" : 2,
            "name" : "172.19.16.104:27017",
            "health" : 1,
            "state" : 4,
            "stateStr" : "FATAL",
            "uptime" : 68294,
            "optime" : Timestamp(1423545748, 1),
            "optimeDate" : ISODate("2015-02-10T05:22:28Z"),
            "lastHeartbeat" : ISODate("2015-02-12T02:49:18Z"),
            "lastHeartbeatRecv" : ISODate("2015-02-12T02:49:19Z"),
            "pingMs" : 0
        },
        {
            "_id" : 3,
            "name" : "192.168.14.7:27017",
            "health" : 1,
            "state" : 1,
            "stateStr" : "PRIMARY",
            "uptime" : 68297,
            "optime" : Timestamp(1423704914, 1),
            "optimeDate" : ISODate("2015-02-12T01:35:14Z"),
            "self" : true
        }
    ],
    "ok" : 1
}

0 个答案:

没有答案