From: Mykola Golub Date: Thu, 12 May 2016 08:15:34 +0000 (+0300) Subject: doc: update mirroring guide to include pool/image status commands X-Git-Tag: v10.2.2~60^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F9180%2Fhead;p=ceph.git doc: update mirroring guide to include pool/image status commands Fixes: http://tracker.ceph.com/issues/15746 Signed-off-by: Mykola Golub (cherry picked from commit 4381e341c435c80793b847115eed616b8359c4e6) --- diff --git a/doc/rbd/rbd-mirroring.rst b/doc/rbd/rbd-mirroring.rst index 163e7f84f880..04e8e11c23d7 100644 --- a/doc/rbd/rbd-mirroring.rst +++ b/doc/rbd/rbd-mirroring.rst @@ -228,6 +228,34 @@ For example:: local cluster's ``rbd-mirror`` daemon process is responsible for performing the resync asynchronously. +Mirror Status +============= + +The peer cluster replication status is stored for every primary mirrored image. +This status can be retrieved using the ``mirror image status`` and +``mirror pool status`` commands. + +To request the mirror image status with ``rbd``, specify the +``mirror image status`` command along with the pool and image name:: + + rbd mirror image status {pool-name}/{image-name} + +For example:: + + rbd mirror image status image-pool/image-1 + +To request the mirror pool summary status with ``rbd``, specify the +``mirror pool status`` command along with the pool name:: + + rbd mirror pool status {pool-name} + +For example:: + + rbd mirror image status image-pool + +.. note:: Adding ``--verbose`` option to the ``mirror pool status`` command will + additionally output status details for every mirroring image in the pool. + rbd-mirror Daemon =================