|
AIDA
GELINA
BRIKEN
nToF
CRIB
ISOLDE
CIRCE
nTOFCapture
DESPEC
DTAS
EDI_PSA
179Ta
CARME
StellarModelling
DCF
K40
|
AIDA |
 |
|
Message ID: 618
Entry time: Wed May 31 16:43:52 2017
|
Author: |
TD |
Subject: |
Merger & TapeServer server startup scripts modified |
|
|
aidas1> cd /MIDAS/Merger/AIDA
aidas1> ls
GS_configuration GS_configuration.BAK-030516 Startup~
GS_configuration~ Startup Startup.BAK-010617
aidas1> diff Startup Startup.BAK-010617
63,64c63
< # 1 June 2017 - increase sleep time from 1000000 (11.6 days) to 150000000 (4.75 years)
< sleep 150000000
---
> sleep 1000000
aidas1> cd /MIDAS/TapeServer/startup
aidas1> ls
AidaTapeServer AidaTapeServer~ AidaTapeServer.BAK-010617
aidas1> diff AidaTapeServer AidaTapeServer.BAK-010617
24,26c24
< # 1 June 2017 - increase sleep time from 1000000 (11.6 days) to 150000000 (4.75 years)
< sleep 150000000
<
---
> sleep 1000000 |
|
#!/bin/bash
echo "Tidy up"
killall master64
killall link64
killall merge64.AD
echo "Starting Merge Server"
if [ "$MIDASBASE" = "" ]; then
export MIDASBASE=/MIDAS
fi
export PATH=${MIDASBASE}/Linux/bin64:${PATH}
if [ "$LD_LIBRARY_PATH" = "" ]; then
export LD_LIBRARY_PATH=${MIDASBASE}/Linux/lib64
else
export LD_LIBRARY_PATH=${MIDASBASE}/Linux/lib64:${LD_LIBRARY_PATH}
fi
#
#
#UM=`umask`
umask 0
#
# load main data acquisition program
# define netints and access registers
# supply (non default) options
#
#
netstring TS_Server "localhost"
netstring TS2_Server ""
#netint DACQ_Swop 1
netint DACQ_TxInit 0
#
netint Output_BufferSize 64
netint Format_Option 4
netint Xfer_Option 3
netint Xfer_Overlap 0
netint Xfer_Priority 0
netint Merge_OutputAll 1
#
export MIDAS_MEMSAS_PORT=0
# Merge_OutputTrace : 1 - adc traces
# Merge_OutputTrace : 2 - raw traces
# Merge_OutputTrace : 3 - all traces
netint Merge_OutputTrace 1
export MIDASGSBASE=${MIDASBASE}/Merger/AIDA
cd ${MIDASBASE}/Merger
${MIDASBASE}/Merger/master64 &
#
#umask $UM
#
echo startup complete
#
# 1 June 2017 - increase sleep time from 1000000 (11.6 days) to 150000000 (4.75 years)
sleep 150000000
|
|
#!/bin/bash
echo "Tidy up"
killall master
killall stats
killall driver
killall linkTCP
echo "Starting Tape Server"
export MIDASBASE=/MIDAS
#
#
#UM=`umask`
umask 0
#
export MIDASTSBASE=${MIDASBASE}/TapeServer/Linux64
cd ${MIDASTSBASE}
./master &
# 1 June 2017 - increase sleep time from 1000000 (11.6 days) to 150000000 (4.75 years)
sleep 150000000
#
echo startup complete
#
|