Skip to content

Commit

Permalink
ceph: improve "Reboot a single node" (#189)
Browse files Browse the repository at this point in the history
Signed-off-by: Christian Berendt <[email protected]>
  • Loading branch information
berendt authored Nov 25, 2023
1 parent 9856e2b commit 6ae7106
Showing 1 changed file with 22 additions and 8 deletions.
30 changes: 22 additions & 8 deletions docs/guides/operations-guide/ceph.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,26 +102,40 @@ do the appropriate maintenance work and after the node is back online
unset the flag like so:

```
$ ceph osd set noout
... after maintenance is done and host is back up:
$ ceph osd unset noout
ceph osd set noout
```

After maintenance is done and host is back up:

```
ceph osd unset noout
```

On versions Luminous or above you can set the flag individually for single
OSDs or entire CRUSH buckets, which can be a safer option in case of prolonged
maintenance periods.

Add/Remove noout for a OSD:
Add noout for a OSD:

```
ceph osd add-noout osd.<ID>
Remove noout for a OSD:
```
ceph osd rm-noout osd.<ID>
```
Add noout for CRUSH bucket (e.g. host name as seen in ``ceph osd tree``):
```
$ ceph osd add-noout osd.<ID>
$ ceph osd rm-noout osd.<ID>
ceph osd set-group noout <crush-bucket-name>
```
Add/Remove noout for CRUSH bucket (e.g. host name as seen in ``ceph osd tree``):
Remove noout for CRUSH bucket:
```
$ ceph osd set-group noout <crush-bucket-name>
ceph osd unset-group noout <crush-bucket-name>
```
## Gathering information about block devices
Expand Down

0 comments on commit 6ae7106

Please sign in to comment.