]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: document deploying multiple cephfs-mirror daemons 46868/head
authorVenky Shankar <vshankar@redhat.com>
Tue, 28 Jun 2022 08:56:11 +0000 (14:26 +0530)
committerVenky Shankar <vshankar@redhat.com>
Mon, 4 Jul 2022 02:05:25 +0000 (07:35 +0530)
Signed-off-by: Venky Shankar <vshankar@redhat.com>
doc/cephfs/cephfs-mirroring.rst

index 45f1638da52e8a1d228b21029cdc06641edf1783..08e07bc8b45d76415379ec72e14a471b822fbcbe 100644 (file)
@@ -44,6 +44,22 @@ The mirror daemon should be spawned using `systemctl(1)` unit files::
 
 .. note:: The user specified here is `mirror` created in the `Creating Users` section.
 
+Multiple `cephfs-mirror` daemons may be deployed for concurrent synchronization and high
+availability. Mirror daemons share the synchronization load using a simple `M/N` policy,
+where `M` is the number of directories and `N` is the number of `cephfs-mirror` daemons.
+
+When `cephadm` is used to manage a Ceph cluster, `cephfs-mirror` daemons can be deployed using::
+
+  $ ceph orch apply cephfs-mirror
+
+To deploy multiple mirror daemons use::
+
+  $ ceph orch apply cephfs-mirror --placement=<placement-spec>
+
+E.g., to deploy 3 `cephfs-mirror` daemons on different hosts, use::
+
+  $ ceph orch apply cephfs-mirror --placement="3 host1,host2,host3"
+
 Interface
 ---------