Skip to content

Pausing storage on a single HyperCloud node

The no_out value can be temporarily set against a single OSD so that the cluster doesn’t immediately take disk recovery action when it loses contact with that OSD. This can be useful in maintenance scenarios where system updates are taking place in a controlled manner.

Approach

Given a hostname, this command line input will no-out all OSDs:

storage osd add-noout $(storage osd tree -f json | jq -r ‘.nodes[] | select(.name == “HOSTNAME”) | .children | @sh’)

Once the node has been serviced, this can be reversed with:

storage osd rm-noout $(storage osd tree -f json | jq -r ‘.nodes[] | select(.name == “HOSTNAME”) | .children | @sh’)