From 16ba13c83d678656723173c061318dd83805768a Mon Sep 17 00:00:00 2001 From: Mykola Golub Date: Thu, 12 May 2016 11:15:34 +0300 Subject: [PATCH] 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) --- doc/rbd/rbd-mirroring.rst | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/doc/rbd/rbd-mirroring.rst b/doc/rbd/rbd-mirroring.rst index 163e7f84f8808..04e8e11c23d7b 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 ================= -- 2.39.5