From dfcfe579f3c5f07cc5fd66423faf2c6acf0d4491 Mon Sep 17 00:00:00 2001 From: Venky Shankar Date: Tue, 28 Jun 2022 14:26:11 +0530 Subject: [PATCH] doc: document deploying multiple cephfs-mirror daemons Signed-off-by: Venky Shankar --- doc/cephfs/cephfs-mirroring.rst | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/doc/cephfs/cephfs-mirroring.rst b/doc/cephfs/cephfs-mirroring.rst index 45f1638da52..08e07bc8b45 100644 --- a/doc/cephfs/cephfs-mirroring.rst +++ b/doc/cephfs/cephfs-mirroring.rst @@ -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= + +E.g., to deploy 3 `cephfs-mirror` daemons on different hosts, use:: + + $ ceph orch apply cephfs-mirror --placement="3 host1,host2,host3" + Interface --------- -- 2.39.5