doc: RBD: add documentation to configure RBD mirroring

Signed-off-by: Arthur Outhenin-Chalandre <arthur.outhenin-chalandre@cern.ch>
Change-Id: I9126ebad01e546c56bb9bae240aed73f686e1de8
This commit is contained in:
Arthur Outhenin-Chalandre 2021-08-04 12:12:04 +02:00
parent 4896811eab
commit d6a603c48a
No known key found for this signature in database
GPG Key ID: FC01230D349E61DE

View File

@ -146,3 +146,19 @@ Ceph RADOS Block Device driver.
:config-target: Ceph storage
cinder.volume.drivers.rbd
RBD Mirroring
~~~~~~~~~~~~~
The cinder RBD driver supports mirroring between multiple clusters.
You can configure it on the cinder side with the usual replication
configuration. Refer to the :doc:`documentation </contributor/replication>`
for more information.
You will also have to configure replication on the Ceph side. To do so you may
refer to the `Ceph documentation
<https://docs.ceph.com/en/latest/rbd/rbd-mirroring/>`_.
Note that with the RBD driver in cinder you need to configure the pool
replication option in image mode. For instance, if your pool is named
``volumes``, the command would be: ``rbd mirror pool enable volumes image``.