Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
eos
eos-docker
Commits
1d2254f6
Commit
1d2254f6
authored
Sep 16, 2019
by
Elvin Sindrilaru
Browse files
Modify when the xrd.cf.fst script gets updated with the QDB contact details
parent
0030b65d
Pipeline
#1096986
skipped with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
scripts/start_services.sh
View file @
1d2254f6
...
@@ -120,11 +120,6 @@ for (( i=1; i<=$n_fst; i++ )); do
...
@@ -120,11 +120,6 @@ for (( i=1; i<=$n_fst; i++ )); do
docker run
--privileged
-dit
-h
$FSTHOSTNAME
.eoscluster.cern.ch
--name
$FSTHOSTNAME
--net
=
eoscluster.cern.ch
--net-alias
=
$FSTHOSTNAME
$image
&
docker run
--privileged
-dit
-h
$FSTHOSTNAME
.eoscluster.cern.ch
--name
$FSTHOSTNAME
--net
=
eoscluster.cern.ch
--net-alias
=
$FSTHOSTNAME
$image
&
PIDS
=
"
${
PIDS
}
$!
"
PIDS
=
"
${
PIDS
}
$!
"
sleep
0.1
sleep
0.1
# Configure the QDB contact details in the /etc/xrd.cf.fst file
if
[[
$with_qdb
==
1
]]
;
then
docker
exec
-i
eos-fst
${
i
}
-test
echo
"fstofs.qdbcluster eos-qdb-test.eoscluster.cern.ch:7777"
>>
/etc/xrd.cf.fst
fi
done
done
for
PID
in
${
PIDS
}
;
do
for
PID
in
${
PIDS
}
;
do
...
@@ -142,6 +137,11 @@ PIDS=""
...
@@ -142,6 +137,11 @@ PIDS=""
for
((
i
=
1
;
i<
=
$n_fst
;
i++
))
;
do
for
((
i
=
1
;
i<
=
$n_fst
;
i++
))
;
do
FSTHOSTNAME
=
eos-fst
${
i
}
-test
FSTHOSTNAME
=
eos-fst
${
i
}
-test
# Configure the QDB contact details in the /etc/xrd.cf.fst file
if
[[
$with_qdb
==
1
]]
;
then
docker
exec
-i
eos-fst
${
i
}
-test
echo
"fstofs.qdbcluster eos-qdb-test.eoscluster.cern.ch:7777"
>>
/etc/xrd.cf.fst
fi
docker
exec
-i
$FSTHOSTNAME
/eos_fst_setup.sh
$i
${
geotags
[i-1]
:+
"-g
${
geotags
[i-1]
}
"
}
&
docker
exec
-i
$FSTHOSTNAME
/eos_fst_setup.sh
$i
${
geotags
[i-1]
:+
"-g
${
geotags
[i-1]
}
"
}
&
PIDS
=
"
${
PIDS
}
$!
"
PIDS
=
"
${
PIDS
}
$!
"
sleep
0.1
sleep
0.1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment