From e696a512b29311a558c76d87586ec2a03dcc98b4 Mon Sep 17 00:00:00 2001 From: xie xingguo Date: Fri, 26 Apr 2019 15:34:06 +0800 Subject: [PATCH] doc: refresh {noup,nodown,noin,noout} changes Signed-off-by: xie xingguo (cherry picked from commit a3b0dc29b915f84545ac5bd954b6c68b8dde1c69) --- doc/rados/operations/health-checks.rst | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/doc/rados/operations/health-checks.rst b/doc/rados/operations/health-checks.rst index 893782f1b610d..f35d7aaf04639 100644 --- a/doc/rados/operations/health-checks.rst +++ b/doc/rados/operations/health-checks.rst @@ -201,7 +201,7 @@ ____________ One or more cluster flags of interest has been set. These flags include: -* *full* - the cluster is flagged as full and cannot service writes +* *full* - the cluster is flagged as full and cannot serve writes * *pauserd*, *pausewr* - paused reads or writes * *noup* - OSDs are not allowed to start * *nodown* - OSD failure reports are being ignored, such that the @@ -223,7 +223,8 @@ With the exception of *full*, these flags can be set or cleared with:: OSD_FLAGS _________ -One or more OSDs or CRUSH nodes has a flag of interest set. These flags include: +One or more OSDs or CRUSH {nodes,device classes} has a flag of interest set. +These flags include: * *noup*: these OSDs are not allowed to start * *nodown*: failure reports for these OSDs will be ignored @@ -232,15 +233,19 @@ One or more OSDs or CRUSH nodes has a flag of interest set. These flags include * *noout*: if these OSDs are down they will not automatically be marked `out` after the configured interval -These flags can be set and cleared with:: +These flags can be set and cleared in batch with:: - ceph osd add- - ceph osd rm- + ceph osd set-group + ceph osd unset-group For example, :: - ceph osd rm-nodown osd.123 - ceph osd rm-noout hostfoo + ceph osd set-group noup,noout osd.0 osd.1 + ceph osd unset-group noup,noout osd.0 osd.1 + ceph osd set-group noup,noout host-foo + ceph osd unset-group noup,noout host-foo + ceph osd set-group noup,noout class-hdd + ceph osd unset-group noup,noout class-hdd OLD_CRUSH_TUNABLES __________________ -- 2.39.5