查看 mon 的详细状态

2020-06-13 11:48:43 浏览数 (1)

[root@node1 ~]# ceph daemon mon.node1 mon_status {

代码语言:javascript复制
"name": "node1",
"rank": 0,
"state": "leader",
"election_epoch": 180,
"quorum": [
    0,
    1,
    2
],
"features": {
    "required_con": "144115738102218752",
    "required_mon": [
        "kraken",
        "luminous",
        "mimic",
        "osdmap-prune"
    ],
    "quorum_con": "4611087854031667195",
    "quorum_mon": [
        "kraken",
        "luminous",
        "mimic",
        "osdmap-prune"
    ]
},
"outside_quorum": [],
"extra_probe_peers": [],
"sync_provider": [],
"monmap": {
    "epoch": 1,
    "fsid": "97e5619b-a208-46aa-903b-a69cfd57cdab",
    "modified": "2019-05-08 11:22:03.298719",
    "created": "2019-05-08 11:22:03.298719",
    "features": {
        "persistent": [
            "kraken",
            "luminous",
            "mimic",
            "osdmap-prune"
        ],
        "optional": []
    },
    "mons": [
        {
            "rank": 0,
            "name": "node1",
            "addr": "10.188.188.5:6789/0",
            "public_addr": "10.188.188.5:6789/0"
        },
        {
            "rank": 1,
            "name": "node2",
            "addr": "10.188.188.6:6789/0",
            "public_addr": "10.188.188.6:6789/0"
        },
        {
            "rank": 2,
            "name": "node3",
            "addr": "10.188.188.7:6789/0",
            "public_addr": "10.188.188.7:6789/0"
        }
    ]
},
"feature_map": {
    "mon": [
        {
            "features": "0x3ffddff8ffacfffb",
            "release": "luminous",
            "num": 1
        }
    ],
    "client": [
        {
            "features": "0x3ffddff8ffacfffb",
            "release": "luminous",
            "num": 3
        }
    ]
}

}

0 人点赞