mirror of
https://github.com/ceph/ceph
synced 2025-04-18 05:15:50 +00:00
Merge pull request #41335 from noonedeadpunk/doc/stretch_mon
doc/rados/operations/stretch-mode: Adjust description of mon.e placement Reviewed-by: Greg Farnum <gfarnum@redhat.com>
This commit is contained in:
commit
02bda6d799
@ -104,8 +104,12 @@ the instructions in `Changing Monitor Elections`_.
|
|||||||
.. _Changing Monitor elections: ../change-mon-elections
|
.. _Changing Monitor elections: ../change-mon-elections
|
||||||
|
|
||||||
And lastly, tell the cluster to enter stretch mode. Here, ``mon.e`` is the
|
And lastly, tell the cluster to enter stretch mode. Here, ``mon.e`` is the
|
||||||
tiebreaker and we are splitting across data centers ::
|
tiebreaker and we are splitting across data centers. ``mon.e`` should be also
|
||||||
|
set a datacenter, that will differ from ``site1`` and ``site2``. For this
|
||||||
|
purpose you can create another datacenter bucket named ```site3`` in your
|
||||||
|
CRUSH and place ``mon.e`` there ::
|
||||||
|
|
||||||
|
$ ceph mon set_location e datacenter=site3
|
||||||
$ ceph mon enable_stretch_mode e stretch_rule datacenter
|
$ ceph mon enable_stretch_mode e stretch_rule datacenter
|
||||||
|
|
||||||
When stretch mode is enabled, the OSDs wlll only take PGs active when
|
When stretch mode is enabled, the OSDs wlll only take PGs active when
|
||||||
@ -132,7 +136,6 @@ restores min_size to its starting value (2) and requires both sites to peer,
|
|||||||
and stops requiring the always-alive site when peering (so that you can fail
|
and stops requiring the always-alive site when peering (so that you can fail
|
||||||
over to the other site, if necessary).
|
over to the other site, if necessary).
|
||||||
|
|
||||||
|
|
||||||
Stretch Mode Limitations
|
Stretch Mode Limitations
|
||||||
========================
|
========================
|
||||||
As implied by the setup, stretch mode only handles 2 sites with OSDs.
|
As implied by the setup, stretch mode only handles 2 sites with OSDs.
|
||||||
|
Loading…
Reference in New Issue
Block a user