]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
[DOC]Add introduction about different way to run rbd-mirror 19692/head
authorYu Shengzuo <yu.shengzuo@99cloud.net>
Tue, 26 Dec 2017 13:58:48 +0000 (21:58 +0800)
committerYu Shengzuo <yu.shengzuo@99cloud.net>
Tue, 26 Dec 2017 14:16:12 +0000 (22:16 +0800)
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 <yu.shengzuo@99cloud.net>
doc/rbd/rbd-mirroring.rst

index 18dbb921d27fd0551e291143de9bb98ce8ed39d9..08aa8c032031a4cf551e2bce8a1ed14ca142912f 100644 (file)
@@ -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