File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed
Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -247,6 +247,34 @@ possible, if needed).
247247
248248.. _Changing Monitor elections : ../change-mon-elections
249249
250+ Exiting Stretch Mode
251+ =====================
252+ To exit stretch mode, run the following command:
253+
254+ .. prompt :: bash $
255+
256+ ceph mon disable_stretch_mode [{crush_rule}] --yes-i-really-mean-it
257+
258+
259+ .. describe :: {crush_rule}
260+
261+ The CRUSH rule that the user wants all pools to move back to. If this
262+ is not specified, the pools will move back to the default CRUSH rule.
263+
264+ :Type: String
265+ :Required: No.
266+
267+ The command will move the cluster back to normal mode,
268+ and the cluster will no longer be in stretch mode.
269+ All pools will move its ``size `` and ``min_size ``
270+ back to the default values it started with.
271+ At this point the user is responsible for scaling down the cluster
272+ to the desired number of OSDs if they choose to operate with less number of OSDs.
273+
274+ Please note that the command will not execute when the cluster is in
275+ ``recovery stretch mode ``. The command will only execute when the cluster
276+ is in ``degraded stretch mode `` or ``healthy stretch mode ``.
277+
250278Limitations of Stretch Mode
251279===========================
252280When using stretch mode, OSDs must be located at exactly two sites.
You can’t perform that action at this time.
0 commit comments