请仔细了解一下config get、config show、mon_status和quorum_status命令,在排除 Mon 故障时它们会很有用。 1.3 理解 MON_STATUS 当集群形成法定人数后,或在没有形成法定人数时通过管理套接字, 用ceph工具可以获得mon_status信息。命令会输出关于 monitor 的大多数信息,包括部分quorum_status命令的输出内容。 下面是...
请仔细了解一下config get、config show、mon_status和quorum_status命令,在排除 Mon 故障时它们会很有用。 1.3 理解 MON_STATUS 当集群形成法定人数后,或在没有形成法定人数时通过管理套接字, 用ceph工具可以获得mon_status信息。命令会输出关于 monitor 的大多数信息,包括部分quorum_status命令的输出内容。 下面是...
mon_status命令返回有关 Ceph 监视器的信息,例如: 状态 排名 选举纪元 监视器映射 (monmap) 如果Ceph Monitor 能够构成定额,请将mon_status与ceph命令行实用程序配合使用。 如果Ceph Monitor 无法构成定额,但ceph-mon守护程序正在运行,请使用管理套接字来执行mon_status。 mon_status的示例输出 { "name": "mon....
The status of a Monitor (as reported by thecephtellmon.Xmon_statuscommand) can be obtained via the admin socket. Thecephtellmon.Xmon_statuscommand outputs a great deal of information about the monitor (including the information found in the output of thequorum_statuscommand). Note The command...
ceph-mon -i Node1 –-inject-monmap /mnt/mon_map //将/mnt/mon_map写入到本地的monmap中 查询单个监视器的状态ceph -m Node1:6789 mon_status -f josn-pretty 四、Mon的相关告警配置: 1、mon_data Ceph daemon mon.Node1 config get mon_data //可以看到/var/lib/ceph/mon/ceph-Node1说明mon的...
修改后继续执行ceph-deploy mon create-initial,发现报错还是存在,报错部分内容如下 [ceph3][INFO ] Running command: sudo ceph --cluster=ceph --admin-daemon /var/run/ceph/ceph-mon.ceph3.asok mon_status [ceph3][ERROR ] admin_socket: exception getting command descriptions: [Errno 2] No such file...
ceph daemon mon.ceph-node1 mon_status 删除一个mon节点(ceph-node1为mon节点主机名) ceph mon remove ceph-node1 ===msd节点相关操作命令=== 查看msd状态 ceph mds stat 查看msd的映射信息 ceph mds dump 删除一个mds节点 ceph mds rm 0 mds.ceph-node...
[root@bgw-os-node151 ~]# ceph--cluster=cluster1 --admin-daemon /var/run/ceph/ceph-mon.bgw-os-node151.asokquorum_status 此时通过网络访问ceph的所有操作都会被阻塞,但是在monitor本地的socket还是可以通信的。 [root@bgw-os-node152 ~]# telnet10.240.216.151 6789 ...
1、查看mon的状态信息 [root@client ~]# ceph mon stat 2、查看mon的选举状态 [root@client ~]# ceph quorum_status 3、查看mon的映射信息 [root@client ~]# ceph mon dump 4、删除一个mon节点 [root@node1 ~]# ceph mon remove node1 5、获得一个正在运行的mon map,为二进制mon.bin ...
Ceph的核心组件包括Client客户端、MON监控服务、MDS元数据服务、OSD存储服务,各组件功能如下:<1>Client客户端:负责存储协议的接入,节点负载均衡。<2>MON监控服务:负责监控整个集群,维护集群的健康状态,维护展示集群状态的各种图表,如OSD Map、Monitor Map、PG Map和CRUSH Map。<3>MDS元数据服务:负责保存文件系统的元...