summaryrefslogtreecommitdiffstats
path: root/src/common/options/cephfs-mirror.yaml.in
blob: f826161872b8800b81cc1028af5885588e7203a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# -*- mode: YAML -*-
---

options:
- name: cephfs_mirror_max_concurrent_directory_syncs
  type: uint
  level: advanced
  desc: maximum number of concurrent snapshot synchronization threads
  long_desc: maximum number of directory snapshots that can be synchronized concurrently
    by cephfs-mirror daemon. Controls the number of synchronization threads.
  default: 3
  services:
  - cephfs-mirror
  min: 1
- name: cephfs_mirror_action_update_interval
  type: secs
  level: advanced
  desc: interval for driving asynchronous mirror actions
  long_desc: Interval in seconds to process pending mirror update actions.
  default: 2
  services:
  - cephfs-mirror
  min: 1
- name: cephfs_mirror_restart_mirror_on_blocklist_interval
  type: secs
  level: advanced
  desc: interval to restart blocklisted instances
  long_desc: Interval in seconds to restart blocklisted mirror instances. Setting
    to zero (0) disables restarting blocklisted instances.
  default: 30
  services:
  - cephfs-mirror
  min: 0
- name: cephfs_mirror_max_snapshot_sync_per_cycle
  type: uint
  level: advanced
  desc: number of snapshots to mirror in one cycle
  long_desc: maximum number of snapshots to mirror when a directory is picked up for
    mirroring by worker threads.
  default: 3
  services:
  - cephfs-mirror
  min: 1
- name: cephfs_mirror_directory_scan_interval
  type: uint
  level: advanced
  desc: interval to scan directories to mirror snapshots
  long_desc: interval in seconds to scan configured directories for snapshot mirroring.
  default: 10
  services:
  - cephfs-mirror
  min: 1
- name: cephfs_mirror_max_consecutive_failures_per_directory
  type: uint
  level: advanced
  desc: consecutive failed directory synchronization attempts before marking a directory
    as "failed"
  long_desc: number of consecutive snapshot synchronization failures to mark a directory
    as "failed". failed directories are retried for synchronization less frequently.
  default: 10
  services:
  - cephfs-mirror
  min: 0
- name: cephfs_mirror_retry_failed_directories_interval
  type: uint
  level: advanced
  desc: failed directory retry interval for synchronization
  long_desc: interval in seconds to retry synchronization for failed directories.
  default: 60
  services:
  - cephfs-mirror
  min: 1
- name: cephfs_mirror_restart_mirror_on_failure_interval
  type: secs
  level: advanced
  desc: interval to restart failed mirror instances
  long_desc: Interval in seconds to restart failed mirror instances. Setting to zero
    (0) disables restarting failed mirror instances.
  default: 20
  services:
  - cephfs-mirror
  min: 0
- name: cephfs_mirror_mount_timeout
  type: secs
  level: advanced
  desc: timeout for mounting primary/secondary ceph file system
  long_desc: Timeout in seconds for mounting primary or secondary (remote) ceph file system
    by the cephfs-mirror daemon. Setting this to a higher value could result in the mirror
    daemon getting stalled when mounting a file system if the cluster is not reachable. This
    option is used to override the usual client_mount_timeout.
  default: 10
  services:
  - cephfs-mirror
  min: 0
- name: cephfs_mirror_perf_stats_prio
  type: int
  level: advanced
  desc: Priority level for mirror daemon replication perf counters
  long_desc: The daemon will send perf counter data to the manager daemon if the priority
    is not lower than mgr_stats_threshold.
  default: 5
  services:
  - cephfs-mirror
  min: 0
  max: 11