Set ceph cluster to noout if host shutdown in correct way?

fips

Renowned Member
May 5, 2014
175
9
83
Hi,

I have a 3 Node Ceph cluster all of them stand in different racks.
So if one of those racks is cut off from electricity, UPS should gracefully shutdown the node.
This is so far clear.
But is it possible to set noout to the whole cluster before? Only in case UPS asks to shutdown.
 
Usually, UPS have a daemon or another way of running a script or command before signaling shutdown. The 'ceph osd set noout' command only needs to be set from one client (with proper permissions). But with 3 nodes and assuming a pool size of 3, no recovery will be possible anyway, the cluster will stay degraded till the third node comes back online.