1、确保删除OSD时,集群没有接近near full 2、检查删除OSD时,是否有数据丢失, ceph osd ok-to-stop {osd-num} 无数据丢失情况 root@ceph:~# ceph osd ok-to-stop 2OSD(s)2are ok to stop without reducing availabilityorrisking data,provided there are no other concurrent failuresorinterventions.70PGsar...
ceph osd out osd.$osdidceph osd crushrmosd.$osdidceph authdelosd.$osdidceph osd down osd.$osdidceph osdrmosd.$osdidceph osdrm$osdidor 还没有仔细看这两个区别,试了一下两个都可以下掉osd OSD=54ceph osd ok-to-stoposd.$OSDceph osd safe-to-destroyosd.$OSDceph osd down osd.$OSDceph...
假如host-foo flag 为 noout, nodown, rack-1 flag 为 noout, noin,则在 host-foo 上的 osd 会有 noout, nodown, noin 三个 flag 相关命令: ceph osd add-noout host-foo ceph osd rm-noout host-foo 2. 为 mon/mds 新增 ok-to-stop 等命令 mon: add mon, osd, mds ok-to-stop and relat...
The orch host ok-to-stop command focuses on ceph daemons (mon, osd, mds), which provides the first check. However, a ceph cluster also uses other types of daemons for monitoring, management and non-native protocol support which means the logic will need to consider service impact too. Th...
[ceph_deploy.osd][DEBUG ] Creating OSD on cluster ceph with data device /dev/sdb [ceph-node1][DEBUG ] connected to host: ceph-node1 [ceph-node1][DEBUG ] detect platform information from remote host [ceph-node1][DEBUG ] detect machine type [ceph-node1][DEBUG ] find the location of...
cephosd add-noout host-fooceph osd rm-noout host-foo 2. 为 mon/mds 新增 ok-to-stop 等命令 mon: add mon, osd, mds ok-to-stop and related commands #27146(https://github.com/ceph/ceph/pull/27146) 新增以下命令: # 检查是否可以在不减少该 mon 即时可用性的情况下停掉该 monmon ok-to...
mgr: add --max <n> to ‘osd ok-to-stop’ command (pr#40676, Sage Weil, Xuehan Xu) mgr: add mon metada using type of “mon” (pr#40359, Kefu Chai) mon/ConfigMap: fix stray option leak (pr#40299, Sage Weil) mon/MonClient: reset authenticate_err in _reopen_session() (pr#...
很多命令都测试顺利如ceph osd in/dump/out/tree/down/stop等等 但是,在测试过程中发现一个看起来简单的问题,却困扰了许久,也只能找到一个临时变通解决的办法; 使用命令 ceph osd stop osd.8 [root@UAT-CEPH-MASTER01 ~]# ceph osd stop osd.8stop osd.8. ...
ceph osd set noout ceph osd set norecover ceph osd set norebalance ceph osd set nobackfill ceph osd set nodown ceph osd set pause 如果MDS 和 Ceph Object Gateway 节点位于它们自己的专用节点上,请关闭它们的电源。 获取守护程序的 systemd 目标。
ceph 可以在运行时更改ceph-osd、ceph-mon、ceph-mds守护进程的配置,此功能在增加/降低日志输出、启用/禁用调试设置、甚至是运行时优化的时候非常有用。ceph 集群提供两种方式的调整,使用 tell 的方式和 daemon 设置的方式。 tell # ceph tell {daemon-type}.{id or *} injectargs --{name} {value} [--{...