=?gb18030?q?//=A3=BA_//__ceph-mon_is_blocked_after_s?==?gb18030?q?hutting_down_and_ip_address_changed?=

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,daemon  is running when using admin socket
[root@ceph-node1 ceph]#  ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node1.asok mon_status
{
    "name": "ceph-node1",
    "rank": 0,
    "state": "leader",
    "election_epoch": 63,
    "quorum": [
        0
    ],
    "quorum_age": 40839,
    "features": {
        "required_con": "2449958747315912708",
        "required_mon": [
            "kraken",
            "luminous",
            "mimic",
            "osdmap-prune",
            "nautilus"
        ],
        "quorum_con": "4611087854031667199",
        "quorum_mon": [
            "kraken",
            "luminous",
            "mimic",
            "osdmap-prune",
            "nautilus"
        ]
    },
    "outside_quorum": [],
    "extra_probe_peers": [],
    "sync_provider": [],
    "monmap": {
        "epoch": 20,
        "fsid": "e384e8e6-94d5-4812-bfbb-d1b0468bdef5",
        "modified": "2019-12-10 23:15:34.203415",
        "created": "2019-12-09 08:28:04.181288",
        "min_mon_release": 14,
        "min_mon_release_name": "nautilus",
        "features": {
            "persistent": [
                "kraken",
                "luminous",
                "mimic",
                "osdmap-prune",
                "nautilus"
            ],
            "optional": []
        },
        "mons": [
            {
                "rank": 0,
                "name": "ceph-node1",
                "public_addrs": {
                    "addrvec": [
                        {
                            "type": "v1",
                            "addr": "192.168.1.6:6789",
                            "nonce": 0
                        }
                    ]
                },
                "addr": "192.168.1.6:6789/0",
                "public_addr": "192.168.1.6:6789/0"
            }
        ]
    },
    "feature_map": {
        "mon": [
            {
                "features": "0x3ffddff8ffacffff",
                "release": "luminous",
                "num": 1
            }
        ]
    }
}
[root@ceph-node1 ceph]#  ceph --admin-daemon /var/run/ceph/ceph-mon.ceph-node1.asok quorum_status
{
    "election_epoch": 63,
    "quorum": [
        0
    ],
    "quorum_names": [
        "ceph-node1"
    ],
    "quorum_leader_name": "ceph-node1",
    "quorum_age": 40854,
    "monmap": {
        "epoch": 20,
        "fsid": "e384e8e6-94d5-4812-bfbb-d1b0468bdef5",
        "modified": "2019-12-10 23:15:34.203415",
        "created": "2019-12-09 08:28:04.181288",
        "min_mon_release": 14,
        "min_mon_release_name": "nautilus",
        "features": {
            "persistent": [
                "kraken",
                "luminous",
                "mimic",
                "osdmap-prune",
                "nautilus"
            ],
            "optional": []
        },
        "mons": [
            {
                "rank": 0,
                "name": "ceph-node1",
                "public_addrs": {
                    "addrvec": [
                        {
                            "type": "v1",
                            "addr": "192.168.1.6:6789",
                            "nonce": 0
                        }
                    ]
                },
                "addr": "192.168.1.6:6789/0",
                "public_addr": "192.168.1.6:6789/0"
            }
        ]
    }
}



Quoting Cc¾ý (occj at qq.com):
> 4.[root at ceph-node1 ceph]# ceph -s
> just blocked ...
> error 110 after a few hours

Is the daemon running? You can check for the process to be alive in
/var/run/ceph/ceph-mon.$hostname.asok

If so ... then query the monitor for its status:

ceph daemon mon.$hostname quorum_status

If there is no monitor in quorum ... then that's your problem. See [1]
for more info on debugging the monitor.

Gr. Stefan

[1]:
https://docs.ceph.com/docs/nautilus/rados/troubleshooting/troubleshooting-mon/

_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux