Skip to content

Commit 2fb968f

Browse files
committed
docs: Add instructions for Ceph shutdown
1 parent 0bc84e3 commit 2fb968f

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

doc/source/operations/control-plane-operation.rst

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,29 @@ Ceph
175175
----
176176

177177
The following guide provides a good overview:
178-
https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/8/html/director_installation_and_usage/sect-rebooting-ceph
178+
`<https://www.croit.io/blog/how-not-to-shut-down-a-ceph-cluster>`_.
179+
180+
#. Check that the cluster is healthy (i.e. ``ceph -s``). Where possible, solve
181+
or isolate any issues before the shutdown e.g. by marking unhealthy OSDs as
182+
'out' in the cluster.
183+
184+
#. Stop all clients. This includes
185+
186+
* **All** OpenStack VMs (if their storage is RBD basted).
187+
188+
* CephFS mounts.
189+
190+
* Ceph-backed openstack services such as Glance, Cinder, and RGW/S3/Swift.
191+
192+
#. Set the ``noout`` flag, so that the cluster does not attempt to redistribute
193+
the data by creating extra copies or EC shards elsewhere when the OSDs go
194+
down.
195+
196+
#. Shut down all the nodes, with those holding MON services last.
197+
198+
Note that if it is not desired for Ceph services to automatically start later
199+
with the operating system, extra steps need to be taken and are not described
200+
here.
179201

180202
Shutting down the seed VM
181203
-------------------------

0 commit comments

Comments
 (0)