From 0d2c18cdcdc99ee50fdfd94cad68be3f8e3c76ab Mon Sep 17 00:00:00 2001 From: Zac Dover Date: Sun, 3 Dec 2023 13:17:46 +0100 Subject: [PATCH] doc/rados: repair stretch-mode.rst Remove a section of doc/rados/operations/stretch-mode.rst that I wrongly re-included after its removal. The request for this (re)-removal is here: https://github.com/ceph/ceph/pull/54689#discussion_r1413007655. Signed-off-by: Zac Dover (cherry picked from commit b73656787d618197c60372d1817eab35879fa478) --- doc/rados/operations/stretch-mode.rst | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/doc/rados/operations/stretch-mode.rst b/doc/rados/operations/stretch-mode.rst index 4adf60e46f6dd..787e8cb4d9309 100644 --- a/doc/rados/operations/stretch-mode.rst +++ b/doc/rados/operations/stretch-mode.rst @@ -154,21 +154,6 @@ your CRUSH map. This procedure shows how to do this. ceph mon set_location e datacenter=site3 ceph mon enable_stretch_mode e stretch_rule datacenter -#. Set the replication levels for each pool. Here we are setting the standard - replication levels for a stretch mode cluster. Where ``4`` copies will be kept - in total, with a minimum of ``2`` in each data center: - - .. prompt:: bash $ - - ceph osd pool set ceph_data min_size 2 - set pool 2 min_size to 2 - ceph osd pool set ceph_data size 4 - set pool 2 size to 4 - ceph osd pool set ceph_metadata min_size 2 - set pool 3 min_size to 2 - ceph osd pool set ceph_metadata size 4 - set pool 3 size to 4 - When stretch mode is enabled, PGs will become active only when they peer across data centers (or across whichever CRUSH bucket type was specified), assuming both are alive. Pools will increase in size from the default ``3`` to -- 2.39.5