-
Notifications
You must be signed in to change notification settings - Fork 46
Expand file tree
/
Copy pathalice
More file actions
59 lines (48 loc) · 1.84 KB
/
alice
File metadata and controls
59 lines (48 loc) · 1.84 KB
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
# ------------------------------------------------------------ #
[mgm:xrootd:mgm]
# ------------------------------------------------------------ #
mgmofs.authlib /usr/lib64/libXrdAliceTokenAcc.so
mgmofs.authorize 1
alicetokenacc.multiprocess 8
alicetokenacc.noauthzhost eosmon01
alicetokenacc.noauthzhost eosmon01.cern.ch
alicetokenacc.noauthzhost eosmon02
alicetokenacc.noauthzhost eosmon02.cern.ch
alicetokenacc.noauthzhost localhost
alicetokenacc.noauthzhost localhost.localdomain
alicetokenacc.truncateprefix /eos/${INSTANCE_NAME}/grid
# ------------------------------------------------------------ #
[fst:xrootd:fst]
# ------------------------------------------------------------ #
xrootd.monitor all flush 60s window 30s dest files info user aliendb2.cern.ch:9930
# ------------------------------------------------------------ #
[mgm:init]
# ------------------------------------------------------------ #
set -x
yum install alicetokenacc -y --nogpgcheck
ALICE_UID=${ALICEUID-16437}
ALICE_GID=${ALICEGID-1395}
id -G z2 >& /dev/null
if [ $? -ne 0 ]; then
groupadd --gid ${ALICE_GID} z2
fi
id alice >& /dev/null
if [ $? -ne 0 ]; then
adduser --uid ${ALICE_UID} alice
fi
eos vid set map -unix \<pwd\> vuid:${ALICE_UID}
eos vid set map -unix \<pwd\> vgid:${ALICE_GID}
eos mkdir -p /eos/${INSTANCE_NAME:3}/grid/
eos chown ${ALICE_UID}:${ALICE_GID} /eos/${INSTANCE_NAME:3}/grid/
eos chmod 700 /eos/${INSTANCE_NAME:3}/grid/
for name in 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 ; do
eos map link /$name/ /eos/${INSTANCE_NAME:3}/grid/$name/
eos mkdir -p /eos/${INSTANCE_NAME:3}/grid/$name/
done
# ------------------------------------------------------------ #
[fst:init]
# ------------------------------------------------------------ #
yum install eos-apmon -y --nogpgcheck
[fst:sysconfig]
APMON_INSTANCE_NAME=${ALICE_SE_NAME}
APMON_STORAGEPATH="data"