-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheos_env.example
436 lines (324 loc) · 16.7 KB
/
eos_env.example
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
#-------------------------------------------------------------------------------
# File: eos_env.example
# Author: Ivan Arizanovic <ivan.arizanovic@comtrade.com>
# Author: Branko Blagojevic <branko.blagojevic@comtrade.com>
#-------------------------------------------------------------------------------
# ************************************************************************
# * EOS - the CERN Disk Storage System *
# * Copyright (C) 2018 CERN/Switzerland *
# * *
# * This program is free software: you can redistribute it and/or modify *
# * it under the terms of the GNU General Public License as published by *
# * the Free Software Foundation, either version 3 of the License, or *
# * (at your option) any later version. *
# * *
# * This program is distributed in the hope that it will be useful, *
# * but WITHOUT ANY WARRANTY; without even the implied warranty of *
# * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
# * GNU General Public License for more details. *
# * *
# * You should have received a copy of the GNU General Public License *
# * along with this program. If not, see <http://www.gnu.org/licenses/>.*
# ************************************************************************
# Should we run with another limit on the core file size other than the default?
DAEMON_COREFILE_LIMIT=unlimited
# Preload jemalloc
LD_PRELOAD=/usr/lib64/libjemalloc.so.1
# Disable the KRB5 replay cache
KRB5RCACHETYPE=none
# What roles should the xroot daemon run for. For each role you can overwrite
# the default options using a dedicate sysconfig file
# e.g. /etc/sysconfig/xrd.<role>. The role based mechanism allows for
# multiple xrd's running with different options to be controlled via
# the same systemd script
#-------------------------------------------------------------------------------
# EOS roles - Systemd Services
#-------------------------------------------------------------------------------
XRD_ROLES="mq mgm fed sync fst"
#-------------------------------------------------------------------------------
# EOS Configuration
#-------------------------------------------------------------------------------
# The fully qualified hostname of current MGM
EOS_MGM_HOST=mgm-master.localdomain
# The fully qualified hostname of target MGM
EOS_MGM_HOST_TARGET=mgm-slave.localdomain
# The EOS instance name N.B.! It MUST start with "eos" and then some alphanumeric characters
# This is important since there are some special files and directories created inside the /eos/<instance_name> subtree
# indispensable for the proper functioning of the instance.
EOS_INSTANCE_NAME=eosdev
# The EOS configuration to load after daemon start
EOS_AUTOLOAD_CONFIG=default
# The EOS broker URL
EOS_BROKER_URL=root://localhost:1097//eos/
# The EOS host geo location tag used to sort hosts into geographical (rack) locations
# !!! REQUIRED !!! list of ":" separated tokens of up to 8 chars
EOS_GEOTAG=""
# The fully qualified hostname of MGM master1
EOS_MGM_MASTER1=eosdevsrv1.cern.ch
# The fully qualified hostname of MGM master2
EOS_MGM_MASTER2=eosdevsrv2.cern.ch
# The alias which selects master 1 or 2
EOS_MGM_ALIAS=eosdev.cern.ch
# In HA mode, presence of this env enables the redirection of the
# read traffic from the slaves to the master
# EOS_HA_REDIRECT_READS=1
# The mail notification in case of fail-over
EOS_MAIL_CC="apeters@mail.cern.ch"
EOS_NOTIFY="mail -s `date +%s`-`hostname`-eos-notify $EOS_MAIL_CC"
# Enable core dumps initiated internally
#EOS_CORE_DUMP
# Disable shutdown/signal handlers for debugging
#EOS_NO_SHUTDOWN
# Enable coverage report signal handler
#EOS_COVERAGE_REPORT
# Enable QoS support
#EOS_ENABLE_QOS=""
# Allow UTF-8 path names excluding only CR,LF
#EOS_UTF8=""
# Add secondary group information from database/LDAP (set to 1 to enable)
#EOS_SECONDARY_GROUPS=0
# Do subtree accounting on directories (set to 1 to enable)
#EOS_NS_ACCOUNTING=0
# Do sync time propagation (set to 1 to enable)
#EOS_SYNCTIME_ACCOUNTING=0
# Use std::shared_timed_mutex for the RWMutex implementation - uncomment to
# enable.
# EOS_USE_SHARED_MUTEX=1
# By default statvfs reports the total space if the path deepness is < 4
# If you want to report only quota accouting you can define
# EOS_MGM_STATVFS_ONLY_QUOTA=1
# If you only want to report the space acacounting you can define
# EOS_MGM_STATVFS_ONLY_SPACE=1
# If variable defined then enable the use of xrootd connection pool i.e.
# create/share different physical connections for transfers to the same
# destination xrootd server. By default this is disabled.
# This applies both in context of the MGM server when it comes to TPC jobs and
# also on the FST server for FST to FST transfers.
# EOS_XRD_USE_CONNECTION_POOL=1
# When xrootd connection pool is enabled, one can control the maximum number
# of physical connection that can be established with the destination server.
# The min value is 1 and the max 1024. By default this 1024.
# EOS_XRD_CONNECTION_POOL_SIZE=128
#-------------------------------------------------------------------------------
# FST Configuration
#-------------------------------------------------------------------------------
# Disable 'sss' enforcement to allow generic TPC
#EOS_FST_NO_SSS_ENFORCEMENT=1
# Network interface to monitor (default eth0)
#EOS_FST_NETWORK_INTERFACE="eth0"
# Specify in seconds how often FSTs should query for new delete operations
# EOS_FST_DELETE_QUERY_INTERVAL=300
# Disable fast boot and always do a full resync when a fs is booting
# EOS_FST_NO_FAST_BOOT=0 (default off)
# If variable defined then enable the use of xrootd connection pool i.e.
# create/share different physical connections for queries done from the FST
# to the MGM in the CallManager method. By default this is disabled.
# EOS_FST_CALL_MANAGER_XRD_POOL=1
# If CallManager xrootd connection pool is enabled one can set the maxium size
# of the pool of connections. The min value is 1, the max value is 32. By default
# the value is 10.
# EOS_FST_CALL_MANAGER_XRD_POOL_SIZE=10
# If variable defined use asynchronous (double-buffered) reading in TPCs - By default
# it is undefined = disabled
# EOS_FST_TPC_READASYNC=1
# Modify the TPC key validity which by default is 120 seconds
# EOS_FST_TPC_KEY_VALIDITY_SEC=120
# Control the asynchronous callback on close, if undefined or 0 then disabled,
# else if 1 then enabled. This option is applied only for write operations.
# EOS_FST_ASYNC_CLOSE=0
# When asynchronous callback on close is enabled, one can use the following env
# variable to control the minimum size of files for which this gets triggered.
# If not specified then the values is 0 bytes.
# EOS_FST_ASYNC_CLOSE_MIN_SIZE_BYTES=0
# Enable internal stacktrace printing in the logs - this is useful especially
# for container environments where abrtd is not running
# EOS_FST_ENABLE_STACKTRACE=1
# Enable async writes between replicas - this can improve the performance for
# FSTs with long latency.
# EOS_FST_REPLICA_ASYNC_WRITE=1
# If this variable is present then deletion requests coming from the Fsck
# engine are actually performed as a move on the file system mount in a special
# directory called .eosdeletions. By default disabled.
# EOS_FST_FSCK_DELETE_BY_MOVE=1
# This variable overwrites the FST hostname in MGM redirection
# - use it when the internal name is different from the external name
# EOS_FST_ALIAS=""
# This variable overwrites the FST port in MGM redirection
# - use it when the internal name is different from the external name
# EOS_FST_PORT_ALIAS=1094
# Enable XrdIo read-ahead functionality. By default disabled ie. 0.
# EOS_FST_XRDIO_READAHEAD=0
# Force disable XrdIo read-ahead even if this is enabled by using the above
# env variable or through the fst.readahead opaque information. By default
# disabled ie. 0 This can be useful in case read-ahead needs to be disabled
# instance wide.
# EOS_FST_XRDIO_READAHEAD_FORCE_DISABLE=0
# In case XrdIo read-ahead is enabled this can control the number of blocks that
# are pre-fetched. By default this is set to 2.
# EOS_FST_XRDIO_READAHEAD_BLOCKS=2
# In case XrdIo read-ahead is enabled this controls the block size of requests
# that are pre-fetched. By default this is set to 1024*1024 (1MB).
# EOS_FST_XRDIO_READAHEAD_BLOCK_SIZE=1024*1024
# XFS filesystems will use file allocation, other filesystems like EXT4 and BTRFS will not use fallocation
# unless the following variable is defined (the value is not considered)
# EOS_FST_POSIX_FALLOCATE=1
#-------------------------------------------------------------------------------
# Libmicrohttpd configuration
#-------------------------------------------------------------------------------
# HTTP server ports
# MGM - by default libmicrohttpd is disabled i.e. 0. To enable it one needs
# to set the following env variable to 1 and a non-zero value for the port.
# EOS_MGM_ENABLE_LIBMICROHTTPD=0
# MGM - set to 0 to disable libmicrohttpd implementation
# EOS_MGM_HTTP_PORT=8000
# FST - by default libmicrohttpd is disabled i.e. 0. To enable it one needs
# to set the following env variable to 1 and a non-zero value for the port.
# EOS_FST_ENABLE_LIBMICROHTTPD=0
# FST - set to 0 to disable libmicrohttpd implementation
# EOS_FST_HTTP_PORT=8001
# HTTP uses by default one thread per connection
# EOS_HTTP_THREADPOOL="threads"
# Use EPOLL and 16 threads
EOS_HTTP_THREADPOOL="epoll"
EOS_HTTP_THREADPOOL_SIZE=16
# Memory buffer size per connection
# EOS_HTTP_CONNECTION_MEMORY_LIMIT=134217728 (default 128M)
EOS_HTTP_CONNECTION_MEMORY_LIMIT=4194304
# Timeout after which an idle connection is considered to be closed (default 2 min)
# EOS_HTTP_CONNECTION_TIMEOUT=120
#-------------------------------------------------------------------------------
# GRPC Configuration
#-------------------------------------------------------------------------------
# GRPC port - set to 0 toi disable GRPC
# EOS_MGM_GRPC_PORT=50051
# GRPC security - define to enable SSL server
# EOS_MGM_GRPC_SSL_CERT
# EOS_MGM_GRPC_SSL_KEY
# EOS_MGM_GRPC_SSL_CA
#-------------------------------------------------------------------------------
# Configure GRPC server dedicated for access via Windows native client (EOS-wnc)
#-------------------------------------------------------------------------------
# GRPC Wnc port - set to 0 to disable EOS-wnc server
# EOS_MGM_WNC_PORT=50052
# Define to enable SSL authentication on EOS-wnc server
# EOS_MGM_WNC_SSL_CERT
# EOS_MGM_WNC_SSL_KEY
# EOS_MGM_WNC_SSL_CA
#-------------------------------------------------------------------------------
# REST API dedicated GRPC service
#-------------------------------------------------------------------------------
# Enable the REST API support. The effect of this env variable depends if the
# code has been built with grpc-gateway (eos-grpc-gateway) support or not. To
# have a fully functional REST API both conditions (built-in support and env
# variable set to 1) need to be satisfied. Disabled by default i.e. 0.
# EOS_MGM_ENABLE_REST_API=0
# Set the port for the internal GRPC server handling the REST API requests.
# Default value is 500054.
# EOS_MGM_REST_GRPC_PORT=50054
#-------------------------------------------------------------------------------
# FUSEX Configuration
#-------------------------------------------------------------------------------
# Listener port of the ZMQ server used by FUSEx)
# EOS_MGM_FUSEX_PORT=1100
# Maximum number of 'listable' children
# EOS_MGM_FUSEX_MAX_CHILDREN=32768
#-------------------------------------------------------------------------------
# Federation Configuration
#-------------------------------------------------------------------------------
# The host[:port] name of the meta manager (global redirector)
EOS_FED_MANAGER=eos.cern.ch:1094
# The port of the PSS xrootd server
EOS_PSS_PORT=1098
# The hostname[:port] of the EOS MGM service
EOS_PSS_MGM=$EOS_MGM_ALIAS:1094
# The path which should be proxied (/ for all)
EOS_PSS_PATH=/
#-------------------------------------------------------------------------------
# Test Configuration
#-------------------------------------------------------------------------------
# Mail notification for failed tests
#EOS_TEST_MAILNOTIFY=apeters@mail.cern.ch
# SMS notification for failed tests
#EOS_TEST_GSMNOTIFY="0041764875002@mail2sms.cern.ch"
# Instance name = name of directory at deepness 2 /eos/<instance>/
#EOS_TEST_INSTANCE="dev"
# MGM host redirector
#EOS_TEST_REDIRECTOR=localhost
# Local test output directory
#EOS_TEST_TESTSYS=/tmp/eos-instance-test
# Time to lock re-sending of SMS for consecutively failing tests
#EOS_TEST_GSMLOCKTIME=3600
# Max. time given to the test to finish
#EOS_TEST_TESTTIMESLICE=600
#-------------------------------------------------------------------------------
# QuarkDB Configuration
#-------------------------------------------------------------------------------
# QuarkDB Hostport
# EOS_QUARKDB_HOSTPORT=localhost:9999
# QuarkDB Password
# EOS_QUARKDB_PASSWD=password_must_be_atleast_32_characters
#-------------------------------------------------------------------------------
# Archive configuration
#-------------------------------------------------------------------------------
# Set the root destination for all archives beloging to this instance
# EOS_ARCHIVE_URL=root://castorpps.cern.ch//user/cern.ch/c3/archive/
# Set the CASTOR service class (svcClass) for all file transfers to CASTOR
# EOS_ARCHIVE_SVCCLASS=default
#-------------------------------------------------------------------------------
# MGM TTY Console Broadcast Configuration
#-------------------------------------------------------------------------------
# define the log file where you want to grep
EOS_TTY_BROADCAST_LISTEN_LOGFILE="/var/log/eos/mgm/xrdlog.mgm"
# define the log file regex you want to broad cast to all consoles
EOS_TTY_BROACAST_EGREP="\"CRIT|ALERT|EMERG|PROGRESS\""
#-------------------------------------------------------------------------------
# MGM Namespace Preset Size - this can safe memory for large namespaces if you
# know an upper limit for the namespace size
#-------------------------------------------------------------------------------
# EOS_NS_DIR_SIZE=1000000
# EOS_NS_FILE_SIZE=1000000
# ------------------------------------------------------------------
# MGM Boot options
# ------------------------------------------------------------------
# uncomment to avoid mmaping a changelog file
# EOS_NS_BOOT_NOMMAP
# uncomment to speed up the scanning phase skipping CRC32 computation
# EOS_NS_BOOT_NOCRC32
# uncomment to allow a multi-threaded boot process using maximum number of cores available
# EOS_NS_BOOT_PARALLEL
# ------------------------------------------------------------------
# MGM FUSE configuration
# ------------------------------------------------------------------
# uncomment to change the minimum needed size available to create a new file
# EOS_MGM_FUSE_BOOKING_SIZE = 5368709120
# ------------------------------------------------------------------
# MGM 'xrdfs query space' configuration
# ------------------------------------------------------------------
# uncoment to set the EOS space name to be used by 'xrdfs query space' commands
# that do not explicitly specify an EOS space name
# EOS_MGM_STATVFS_DEFAULT_SPACE="default"
# ------------------------------------------------------------------
# MGM Directory Listing Cache configuration
# set to 0 to disable listing cache for 'xrdfs ls' and 'eos ls', or a number with the number of dirs to cache
# EOS_MGM_LISTING_CACHE=1024
# ------------------------------------------------------------------
# MGM OIDC configuration
# ------------------------------------------------------------------
# by default the sub field is mapped from OIDC tokens
# EOS_MGM_OIDC_MAP_FIELD=sub
# by default (undefined) the server certificate and hostname are verified, to skip this, define
# EOS_MGM_OIDC_INSECURE=1
# ------------------------------------------------------------------
# MGM token generation configuration
# ------------------------------------------------------------------
# by default the token generation key is derived from an sss key
# EOS_MGM_TOKEN_KEYFILE=/etc/eos/token.key
# ------------------------------------------------------------------
# MGM Device Tracking
# ------------------------------------------------------------------
# change the interval at which the MGM takes out compressed JSON S.M.A.R.T info and publishes them
# EOS_MGM_DEVICES_PUBLISHING_INTERVAL=900
# ------------------------------------------------------------------
# MGM SciToken Cache
# ------------------------------------------------------------------
XDG_CACHE_HOME=/var/tmp/