Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

luminous: doc: update rbd-mirroring documentation #16912

Merged
merged 3 commits into from Aug 8, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc/index.rst
Expand Up @@ -82,7 +82,7 @@ about Ceph, see our `Architecture`_ section.


.. _Ceph Object Store: radosgw
.. _Ceph Block Device: rbd/rbd
.. _Ceph Block Device: rbd
.. _Ceph Filesystem: cephfs
.. _Getting Started: start
.. _Architecture: architecture
Expand All @@ -96,7 +96,7 @@ about Ceph, see our `Architecture`_ section.
install/index
rados/index
cephfs/index
rbd/rbd
rbd/index
radosgw/index
mgr/index
api/index
Expand Down
2 changes: 1 addition & 1 deletion doc/rados/index.rst
Expand Up @@ -70,7 +70,7 @@ the Ceph Storage Cluster.

</td></tr></tbody></table>

.. _Ceph Block Devices: ../rbd/rbd
.. _Ceph Block Devices: ../rbd/
.. _Ceph Filesystem: ../cephfs/
.. _Ceph Object Storage: ../radosgw/
.. _Deployment: ../rados/deployment/
8 changes: 8 additions & 0 deletions doc/rbd/api/index.rst
@@ -0,0 +1,8 @@
========================
Ceph Block Device APIs
========================

.. toctree::
:maxdepth: 2

librados (Python) <librbdpy>
File renamed without changes.
20 changes: 11 additions & 9 deletions doc/rbd/rbd.rst → doc/rbd/index.rst
Expand Up @@ -50,16 +50,18 @@ devices simultaneously.
Cache Settings <rbd-config-ref/>
OpenStack <rbd-openstack>
CloudStack <rbd-cloudstack>
Manpage rbd <../../man/8/rbd>
Manpage rbd-fuse <../../man/8/rbd-fuse>
Manpage rbd-nbd <../../man/8/rbd-nbd>
Manpage ceph-rbdnamer <../../man/8/ceph-rbdnamer>
RBD Replay <rbd-replay>
Manpage rbd-replay-prep <../../man/8/rbd-replay-prep>
Manpage rbd-replay <../../man/8/rbd-replay>
Manpage rbd-replay-many <../../man/8/rbd-replay-many>
Manpage rbdmap <../../man/8/rbdmap>
librbd <librbdpy>

.. toctree::
:maxdepth: 2

Manpages <man/index>

.. toctree::
:maxdepth: 2

APIs <api/index>




Expand Down
16 changes: 16 additions & 0 deletions doc/rbd/man/index.rst
@@ -0,0 +1,16 @@
============================
Ceph Block Device Manpages
============================

.. toctree::
:maxdepth: 1

rbd <../../man/8/rbd>
rbd-fuse <../../man/8/rbd-fuse>
rbd-nbd <../../man/8/rbd-nbd>
rbd-ggate <../../man/8/rbd-ggate>
ceph-rbdnamer <../../man/8/ceph-rbdnamer>
rbd-replay-prep <../../man/8/rbd-replay-prep>
rbd-replay <../../man/8/rbd-replay>
rbd-replay-many <../../man/8/rbd-replay-many>
rbd-map <../../man/8/rbdmap>
2 changes: 1 addition & 1 deletion doc/rbd/rbd-config-ref.rst
Expand Up @@ -98,7 +98,7 @@ section of your configuration file. The settings include:
:Required: No
:Default: ``true``

.. _Block Device: ../../rbd/rbd/
.. _Block Device: ../../rbd


Read-ahead Settings
Expand Down
17 changes: 14 additions & 3 deletions doc/rbd/rbd-mirroring.rst
Expand Up @@ -288,13 +288,24 @@ distribution package.

.. important:: Each ``rbd-mirror`` daemon requires the ability to connect
to both clusters simultaneously.
.. warning:: Only run a single ``rbd-mirror`` daemon per Ceph cluster. A
future Ceph release will add support for horizontal scale-out of the
``rbd-mirror`` daemon.
.. warning:: Pre-Luminous releases: only run a single ``rbd-mirror`` daemon per
Ceph cluster.

Each ``rbd-mirror`` daemon should use a unique Ceph user ID. To
`create a Ceph user`_, with ``ceph`` specify the ``auth get-or-create``
command, user name, monitor caps, and OSD caps::

ceph auth get-or-create client.rbd-mirror.{unique id} mon 'profile rbd' osd 'profile rbd'

The ``rbd-mirror`` daemon can be managed by ``systemd`` by specifying the user
ID as the daemon instance::

systemctl enable ceph-rbd-mirror@rbd-mirror.{unique id}

.. _rbd: ../../man/8/rbd
.. _ceph-conf: ../../rados/configuration/ceph-conf/#running-multiple-clusters
.. _explicitly enabled: #enable-image-mirroring
.. _force resync command: #force-image-resync
.. _demote the image: #image-promotion-and-demotion
.. _create a Ceph user: ../../rados/operations/user-management#add-a-user

2 changes: 2 additions & 0 deletions doc/release-notes.rst
Expand Up @@ -125,6 +125,8 @@ Major Changes from Kraken
* RBD mirroring's rbd-mirror daemon is now highly available. We
recommend deploying several instances of rbd-mirror for
reliability.
* RBD mirroring's rbd-mirror daemon should utilize unique Ceph user
IDs per instance to support the new mirroring dashboard.
* The default 'rbd' pool is no longer created automatically during
cluster creation. Additionally, the name of the default pool used
by the rbd CLI when no pool is specified can be overridden via a
Expand Down
2 changes: 1 addition & 1 deletion doc/start/quick-rbd.rst
Expand Up @@ -89,7 +89,7 @@ See `block devices`_ for additional details.

.. _Storage Cluster Quick Start: ../quick-ceph-deploy
.. _create a pool: ../../rados/operations/pools/#create-a-pool
.. _block devices: ../../rbd/rbd
.. _block devices: ../../rbd
.. _FAQ: http://wiki.ceph.com/How_Can_I_Give_Ceph_a_Try
.. _OS Recommendations: ../os-recommendations
.. _rbdmap manpage: ../../man/8/rbdmap