glusterfs

Форк
0
/
gsyncd.conf.in 
349 строк · 7.5 Кб
1
[__meta__]
2
version = 4.0
3

4
[primary-bricks]
5
configurable=false
6

7
[secondary-bricks]
8
configurable=false
9

10
[primary-volume-id]
11
configurable=false
12

13
[secondary-volume-id]
14
configurable=false
15

16
[primary-replica-count]
17
configurable=false
18
type=int
19
value=1
20

21
[primary-disperse-count]
22
configurable=false
23
type=int
24
value=1
25

26
[primary-distribution-count]
27
configurable=false
28
type=int
29
value=1
30

31
[glusterd-workdir]
32
value = @GLUSTERD_WORKDIR@
33

34
[gluster-logdir]
35
value = /var/log/glusterfs
36

37
[gluster-rundir]
38
value = /var/run/gluster
39

40
[gsyncd-miscdir]
41
value = /var/lib/misc/gluster/gsyncd
42

43
[stime-xattr-prefix]
44
value=
45

46
[checkpoint]
47
value=0
48
help=Set Checkpoint
49
validation=unixtime
50
type=int
51

52
[gluster-cli-options]
53
value=
54
help=Gluster CLI Options
55

56
[pid-file]
57
value=${gluster_rundir}/gsyncd-${primary}-${primary_secondary_host}-${secondaryvol}.pid
58
configurable=false
59
template = true
60
help=PID file path
61

62
[state-file]
63
value=${glusterd_workdir}/geo-replication/${primary}_${primary_secondary_host}_${secondaryvol}/monitor.status
64
configurable=false
65
template=true
66
help=Status File path
67

68
[georep-session-working-dir]
69
value=${glusterd_workdir}/geo-replication/${primary}_${primary_secondary_host}_${secondaryvol}/
70
template=true
71
help=Session Working directory
72
configurable=false
73

74
[access-mount]
75
value=false
76
type=bool
77
validation=bool
78
help=Do not lazy unmount the primary volume. This allows admin to access the mount for debugging.
79

80
[secondary-access-mount]
81
value=false
82
type=bool
83
validation=bool
84
help=Do not lazy unmount the secondary volume. This allows admin to access the mount for debugging.
85

86
[isolated-secondarys]
87
value=
88
help=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.
97
value=727040
98
help=Max size of Changelogs to process per batch.
99
type=int
100

101
[secondary-timeout]
102
value=120
103
type=int
104
help=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]
107
value=60
108
type=int
109
help=Timeout for mounts
110

111
[replica-failover-interval]
112
value=1
113
type=int
114
help=Minimum time interval in seconds for passive worker to become Active
115

116
[changelog-archive-format]
117
value=%Y%m
118
help=Processed changelogs will be archived in working directory. Pattern for archive file
119

120
[use-meta-volume]
121
value=false
122
type=bool
123
help=Use this to set Active Passive mode to meta-volume.
124

125
[meta-volume-mnt]
126
value=/run/gluster/shared_storage
127
help=Meta Volume or Shared Volume mount path
128

129
[allow-network]
130
value=
131

132
[change-interval]
133
value=5
134
type=int
135

136
[sync-method]
137
value=rsync
138
help=Sync method for data sync. Available methods are tar over ssh and rsync. Default is rsync.
139
validation=choice
140
allowed_values=tarssh,rsync
141

142
[remote-gsyncd]
143
value =
144
help=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]
147
value=@SBIN_DIR@
148
help=Directory where Gluster binaries exist on primary
149

150
[secondary-gluster-command-dir]
151
value=@SBIN_DIR@
152
help=Directory where Gluster binaries exist on secondary
153

154
[gluster-params]
155
value = aux-gfid-mount acl
156
help=Parameters for Gluster Geo-rep mount in Primary
157

158
[secondary-gluster-params]
159
value = aux-gfid-mount acl
160
help=Parameters for Gluster Geo-rep mount in Secondary
161

162
[ignore-deletes]
163
value = false
164
type=bool
165
help=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
175
value =
176
help=
177

178
[gfid-conflict-resolution]
179
value = true
180
validation=bool
181
type=bool
182
help=Disables automatic gfid conflict resolution while syncing
183

184
[working-dir]
185
value = ${gsyncd_miscdir}/${primary}_${primary_secondary_host}_${secondaryvol}/
186
template=true
187
configurable=false
188
help=Working directory for storing Changelogs
189

190
[change-detector]
191
value=changelog
192
help=Change detector
193
validation=choice
194
allowed_values=changelog,xsync
195

196
[cli-log-file]
197
value=${gluster_logdir}/geo-replication/cli.log
198
template=true
199
configurable=false
200

201
[cli-log-level]
202
value=INFO
203
help=Set CLI Log Level
204
validation=choice
205
allowed_values=ERROR,INFO,WARNING,DEBUG
206

207
[log-file]
208
value=${gluster_logdir}/geo-replication/${primary}_${primary_secondary_host}_${secondaryvol}/gsyncd.log
209
configurable=false
210
template=true
211

212
[changelog-log-file]
213
value=${gluster_logdir}/geo-replication/${primary}_${primary_secondary_host}_${secondaryvol}/changes-${local_id}.log
214
configurable=false
215
template=true
216

217
[gluster-log-file]
218
value=${gluster_logdir}/geo-replication/${primary}_${primary_secondary_host}_${secondaryvol}/mnt-${local_id}.log
219
template=true
220
configurable=false
221

222
[secondary-log-file]
223
value=${gluster_logdir}/geo-replication-secondaries/${primary}_${primary_secondary_host}_${secondaryvol}/gsyncd.log
224
template=true
225
configurable=false
226

227
[secondary-gluster-log-file]
228
value=${gluster_logdir}/geo-replication-secondaries/${primary}_${primary_secondary_host}_${secondaryvol}/mnt-${primary_node}-${primary_brick_id}.log
229
template=true
230
configurable=false
231

232
[secondary-gluster-log-file-mbr]
233
value=${gluster_logdir}/geo-replication-secondaries/${primary}_${primary_secondary_host}_${secondaryvol}/mnt-mbr-${primary_node}-${primary_brick_id}.log
234
template=true
235
configurable=false
236

237
[log-level]
238
value=INFO
239
help=Set Log Level
240
validation=choice
241
allowed_values=ERROR,INFO,WARNING,DEBUG
242

243
[gluster-log-level]
244
value=INFO
245
help=Set Gluster mount Log Level
246
validation=choice
247
allowed_values=ERROR,INFO,WARNING,DEBUG
248

249
[changelog-log-level]
250
value=INFO
251
help=Set Changelog Log Level
252
validation=choice
253
allowed_values=ERROR,INFO,WARNING,DEBUG
254

255
[secondary-log-level]
256
value=INFO
257
help=Set Secondary Gsyncd Log Level
258
validation=choice
259
allowed_values=ERROR,INFO,WARNING,DEBUG
260

261
[secondary-gluster-log-level]
262
value=INFO
263
help=Set Secondary Gluster mount Log Level
264
validation=choice
265
allowed_values=ERROR,INFO,WARNING,DEBUG
266

267
[ssh-port]
268
value=22
269
validation=minmax
270
min=1
271
max=65535
272
help=Set SSH port
273
type=int
274

275
[ssh-command]
276
value=ssh
277
help=Set ssh binary path
278
validation=execpath
279

280
[tar-command]
281
value=tar
282
help=Set tar command path
283
validation=execpath
284

285
[ssh-options]
286
value = -oPasswordAuthentication=no -oStrictHostKeyChecking=no -i ${glusterd_workdir}/geo-replication/secret.pem
287
template=true
288

289
[ssh-options-tar]
290
value = -oPasswordAuthentication=no -oStrictHostKeyChecking=no -i ${glusterd_workdir}/geo-replication/tar_ssh.pem
291
template=true
292

293
[gluster-command]
294
value=gluster
295
help=Set gluster binary path
296
validation=execpath
297

298
[sync-jobs]
299
value=3
300
help=Number of Syncer jobs
301
validation=minmax
302
min=1
303
max=100
304
type=int
305

306
[rsync-command]
307
value=rsync
308
help=Set rsync command path
309
validation=execpath
310

311
[rsync-options]
312
value=
313

314
[rsync-ssh-options]
315
value=
316

317
[rsync-opt-ignore-missing-args]
318
value=true
319
type=bool
320

321
[rsync-opt-existing]
322
value=true
323
type=bool
324

325
[log-rsync-performance]
326
value=false
327
help=Log Rsync performance
328
validation=bool
329
type=bool
330

331
[use-rsync-xattrs]
332
value=false
333
type=bool
334

335
[sync-xattrs]
336
value=true
337
type=bool
338

339
[sync-acls]
340
value=true
341
type=bool
342

343
[max-rsync-retries]
344
value=10
345
type=int
346

347
[state_socket_unencoded]
348
# Unused, For backward compatibility
349
value=
350

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.