From: Yu Shengzuo Date: Tue, 26 Dec 2017 13:58:48 +0000 (+0800) Subject: [DOC]Add introduction about different way to run rbd-mirror X-Git-Tag: v13.0.2~702^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F19692%2Fhead;p=ceph.git [DOC]Add introduction about different way to run rbd-mirror Add a way to run rbd-mirror process in foregroup. This way is useful to run rbd-mirror in a container when you don't want to build a specified rbd-mirror image Signed-off-by: Yu Shengzuo --- diff --git a/doc/rbd/rbd-mirroring.rst b/doc/rbd/rbd-mirroring.rst index 18dbb921d27f..08aa8c032031 100644 --- a/doc/rbd/rbd-mirroring.rst +++ b/doc/rbd/rbd-mirroring.rst @@ -314,6 +314,10 @@ ID as the daemon instance:: systemctl enable ceph-rbd-mirror@rbd-mirror.{unique id} +The ``rbd-morror`` can also be run in foreground by ``rbd-mirror`` command:: + + rbd-mirror -f --log-file={log_path} + .. _rbd: ../../man/8/rbd .. _ceph-conf: ../../rados/configuration/ceph-conf/#running-multiple-clusters .. _explicitly enabled: #enable-image-mirroring