glusterfs
349 строк · 7.5 Кб
1[__meta__]
2version = 4.0
3
4[primary-bricks]
5configurable=false
6
7[secondary-bricks]
8configurable=false
9
10[primary-volume-id]
11configurable=false
12
13[secondary-volume-id]
14configurable=false
15
16[primary-replica-count]
17configurable=false
18type=int
19value=1
20
21[primary-disperse-count]
22configurable=false
23type=int
24value=1
25
26[primary-distribution-count]
27configurable=false
28type=int
29value=1
30
31[glusterd-workdir]
32value = @GLUSTERD_WORKDIR@
33
34[gluster-logdir]
35value = /var/log/glusterfs
36
37[gluster-rundir]
38value = /var/run/gluster
39
40[gsyncd-miscdir]
41value = /var/lib/misc/gluster/gsyncd
42
43[stime-xattr-prefix]
44value=
45
46[checkpoint]
47value=0
48help=Set Checkpoint
49validation=unixtime
50type=int
51
52[gluster-cli-options]
53value=
54help=Gluster CLI Options
55
56[pid-file]
57value=${gluster_rundir}/gsyncd-${primary}-${primary_secondary_host}-${secondaryvol}.pid
58configurable=false
59template = true
60help=PID file path
61
62[state-file]
63value=${glusterd_workdir}/geo-replication/${primary}_${primary_secondary_host}_${secondaryvol}/monitor.status
64configurable=false
65template=true
66help=Status File path
67
68[georep-session-working-dir]
69value=${glusterd_workdir}/geo-replication/${primary}_${primary_secondary_host}_${secondaryvol}/
70template=true
71help=Session Working directory
72configurable=false
73
74[access-mount]
75value=false
76type=bool
77validation=bool
78help=Do not lazy unmount the primary volume. This allows admin to access the mount for debugging.
79
80[secondary-access-mount]
81value=false
82type=bool
83validation=bool
84help=Do not lazy unmount the secondary volume. This allows admin to access the mount for debugging.
85
86[isolated-secondarys]
87value=
88help=List of Secondary nodes which are isolated
89
90[changelog-batch-size]
91# Max size of Changelogs to process per batch, Changelogs Processing is
92# not limited by the number of changelogs but instead based on
93# size of the changelog file, One sample changelog file size was 145408
94# with ~1000 CREATE and ~1000 DATA. 5 such files in one batch is 727040
95# If geo-rep worker crashes while processing a batch, it has to retry only
96# that batch since stime will get updated after each batch.
97value=727040
98help=Max size of Changelogs to process per batch.
99type=int
100
101[secondary-timeout]
102value=120
103type=int
104help=Timeout in seconds for Secondary Gsyncd. If no activity from primary for this timeout, Secondary gsyncd will be disconnected. Set Timeout to zero to skip this check.
105
106[connection-timeout]
107value=60
108type=int
109help=Timeout for mounts
110
111[replica-failover-interval]
112value=1
113type=int
114help=Minimum time interval in seconds for passive worker to become Active
115
116[changelog-archive-format]
117value=%Y%m
118help=Processed changelogs will be archived in working directory. Pattern for archive file
119
120[use-meta-volume]
121value=false
122type=bool
123help=Use this to set Active Passive mode to meta-volume.
124
125[meta-volume-mnt]
126value=/run/gluster/shared_storage
127help=Meta Volume or Shared Volume mount path
128
129[allow-network]
130value=
131
132[change-interval]
133value=5
134type=int
135
136[sync-method]
137value=rsync
138help=Sync method for data sync. Available methods are tar over ssh and rsync. Default is rsync.
139validation=choice
140allowed_values=tarssh,rsync
141
142[remote-gsyncd]
143value =
144help=If SSH keys are not secured with gsyncd prefix then use this configuration to set the actual path of gsyncd(Usually /usr/libexec/glusterfs/gsyncd)
145
146[gluster-command-dir]
147value=@SBIN_DIR@
148help=Directory where Gluster binaries exist on primary
149
150[secondary-gluster-command-dir]
151value=@SBIN_DIR@
152help=Directory where Gluster binaries exist on secondary
153
154[gluster-params]
155value = aux-gfid-mount acl
156help=Parameters for Gluster Geo-rep mount in Primary
157
158[secondary-gluster-params]
159value = aux-gfid-mount acl
160help=Parameters for Gluster Geo-rep mount in Secondary
161
162[ignore-deletes]
163value = false
164type=bool
165help=Do not sync deletes in Secondary
166
167[special-sync-mode]
168# tunables for failover/failback mechanism:
169# None - gsyncd behaves as normal
170# blind - gsyncd works with xtime pairs to identify
171# candidates for synchronization
172# wrapup - same as normal mode but does not assign
173# xtimes to orphaned files
174# see crawl() for usage of the above tunables
175value =
176help=
177
178[gfid-conflict-resolution]
179value = true
180validation=bool
181type=bool
182help=Disables automatic gfid conflict resolution while syncing
183
184[working-dir]
185value = ${gsyncd_miscdir}/${primary}_${primary_secondary_host}_${secondaryvol}/
186template=true
187configurable=false
188help=Working directory for storing Changelogs
189
190[change-detector]
191value=changelog
192help=Change detector
193validation=choice
194allowed_values=changelog,xsync
195
196[cli-log-file]
197value=${gluster_logdir}/geo-replication/cli.log
198template=true
199configurable=false
200
201[cli-log-level]
202value=INFO
203help=Set CLI Log Level
204validation=choice
205allowed_values=ERROR,INFO,WARNING,DEBUG
206
207[log-file]
208value=${gluster_logdir}/geo-replication/${primary}_${primary_secondary_host}_${secondaryvol}/gsyncd.log
209configurable=false
210template=true
211
212[changelog-log-file]
213value=${gluster_logdir}/geo-replication/${primary}_${primary_secondary_host}_${secondaryvol}/changes-${local_id}.log
214configurable=false
215template=true
216
217[gluster-log-file]
218value=${gluster_logdir}/geo-replication/${primary}_${primary_secondary_host}_${secondaryvol}/mnt-${local_id}.log
219template=true
220configurable=false
221
222[secondary-log-file]
223value=${gluster_logdir}/geo-replication-secondaries/${primary}_${primary_secondary_host}_${secondaryvol}/gsyncd.log
224template=true
225configurable=false
226
227[secondary-gluster-log-file]
228value=${gluster_logdir}/geo-replication-secondaries/${primary}_${primary_secondary_host}_${secondaryvol}/mnt-${primary_node}-${primary_brick_id}.log
229template=true
230configurable=false
231
232[secondary-gluster-log-file-mbr]
233value=${gluster_logdir}/geo-replication-secondaries/${primary}_${primary_secondary_host}_${secondaryvol}/mnt-mbr-${primary_node}-${primary_brick_id}.log
234template=true
235configurable=false
236
237[log-level]
238value=INFO
239help=Set Log Level
240validation=choice
241allowed_values=ERROR,INFO,WARNING,DEBUG
242
243[gluster-log-level]
244value=INFO
245help=Set Gluster mount Log Level
246validation=choice
247allowed_values=ERROR,INFO,WARNING,DEBUG
248
249[changelog-log-level]
250value=INFO
251help=Set Changelog Log Level
252validation=choice
253allowed_values=ERROR,INFO,WARNING,DEBUG
254
255[secondary-log-level]
256value=INFO
257help=Set Secondary Gsyncd Log Level
258validation=choice
259allowed_values=ERROR,INFO,WARNING,DEBUG
260
261[secondary-gluster-log-level]
262value=INFO
263help=Set Secondary Gluster mount Log Level
264validation=choice
265allowed_values=ERROR,INFO,WARNING,DEBUG
266
267[ssh-port]
268value=22
269validation=minmax
270min=1
271max=65535
272help=Set SSH port
273type=int
274
275[ssh-command]
276value=ssh
277help=Set ssh binary path
278validation=execpath
279
280[tar-command]
281value=tar
282help=Set tar command path
283validation=execpath
284
285[ssh-options]
286value = -oPasswordAuthentication=no -oStrictHostKeyChecking=no -i ${glusterd_workdir}/geo-replication/secret.pem
287template=true
288
289[ssh-options-tar]
290value = -oPasswordAuthentication=no -oStrictHostKeyChecking=no -i ${glusterd_workdir}/geo-replication/tar_ssh.pem
291template=true
292
293[gluster-command]
294value=gluster
295help=Set gluster binary path
296validation=execpath
297
298[sync-jobs]
299value=3
300help=Number of Syncer jobs
301validation=minmax
302min=1
303max=100
304type=int
305
306[rsync-command]
307value=rsync
308help=Set rsync command path
309validation=execpath
310
311[rsync-options]
312value=
313
314[rsync-ssh-options]
315value=
316
317[rsync-opt-ignore-missing-args]
318value=true
319type=bool
320
321[rsync-opt-existing]
322value=true
323type=bool
324
325[log-rsync-performance]
326value=false
327help=Log Rsync performance
328validation=bool
329type=bool
330
331[use-rsync-xattrs]
332value=false
333type=bool
334
335[sync-xattrs]
336value=true
337type=bool
338
339[sync-acls]
340value=true
341type=bool
342
343[max-rsync-retries]
344value=10
345type=int
346
347[state_socket_unencoded]
348# Unused, For backward compatibility
349value=
350