Commit 1d2254f6 authored by Elvin Sindrilaru's avatar 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
...@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment