]> git.proxmox.com Git - ceph.git/blob - ceph/src/common/options/cephfs-mirror.yaml.in
import quincy beta 17.1.0
[ceph.git] / ceph / src / common / options / cephfs-mirror.yaml.in
1 # -*- mode: YAML -*-
2 ---
3
4 options:
5 - name: cephfs_mirror_max_concurrent_directory_syncs
6 type: uint
7 level: advanced
8 desc: maximum number of concurrent snapshot synchronization threads
9 long_desc: maximum number of directory snapshots that can be synchronized concurrently
10 by cephfs-mirror daemon. Controls the number of synchronization threads.
11 default: 3
12 services:
13 - cephfs-mirror
14 min: 1
15 - name: cephfs_mirror_action_update_interval
16 type: secs
17 level: advanced
18 desc: interval for driving asynchornous mirror actions
19 long_desc: Interval in seconds to process pending mirror update actions.
20 default: 2
21 services:
22 - cephfs-mirror
23 min: 1
24 - name: cephfs_mirror_restart_mirror_on_blocklist_interval
25 type: secs
26 level: advanced
27 desc: interval to restart blocklisted instances
28 long_desc: Interval in seconds to restart blocklisted mirror instances. Setting
29 to zero (0) disables restarting blocklisted instances.
30 default: 30
31 services:
32 - cephfs-mirror
33 min: 0
34 - name: cephfs_mirror_max_snapshot_sync_per_cycle
35 type: uint
36 level: advanced
37 desc: number of snapshots to mirror in one cycle
38 long_desc: maximum number of snapshots to mirror when a directory is picked up for
39 mirroring by worker threads.
40 default: 3
41 services:
42 - cephfs-mirror
43 min: 1
44 - name: cephfs_mirror_directory_scan_interval
45 type: uint
46 level: advanced
47 desc: interval to scan directories to mirror snapshots
48 long_desc: interval in seconds to scan configured directories for snapshot mirroring.
49 default: 10
50 services:
51 - cephfs-mirror
52 min: 1
53 - name: cephfs_mirror_max_consecutive_failures_per_directory
54 type: uint
55 level: advanced
56 desc: consecutive failed directory synchronization attempts before marking a directory
57 as "failed"
58 long_desc: number of consecutive snapshot synchronization failues to mark a directory
59 as "failed". failed directories are retried for synchronization less frequently.
60 default: 10
61 services:
62 - cephfs-mirror
63 min: 0
64 - name: cephfs_mirror_retry_failed_directories_interval
65 type: uint
66 level: advanced
67 desc: failed directory retry interval for synchronization
68 long_desc: interval in seconds to retry synchronization for failed directories.
69 default: 60
70 services:
71 - cephfs-mirror
72 min: 1
73 - name: cephfs_mirror_restart_mirror_on_failure_interval
74 type: secs
75 level: advanced
76 desc: interval to restart failed mirror instances
77 long_desc: Interval in seconds to restart failed mirror instances. Setting to zero
78 (0) disables restarting failed mirror instances.
79 default: 20
80 services:
81 - cephfs-mirror
82 min: 0
83 - name: cephfs_mirror_mount_timeout
84 type: secs
85 level: advanced
86 desc: timeout for mounting primary/seconday ceph file system
87 long_desc: Timeout in seconds for mounting primary or secondary (remote) ceph file system
88 by the cephfs-mirror daemon. Setting this to a higher value could result in the mirror
89 daemon getting stalled when mounting a file system if the cluster is not reachable. This
90 option is used to override the usual client_mount_timeout.
91 default: 10
92 services:
93 - cephfs-mirror
94 min: 0