AIDA GELINA BRIKEN nToF CRIB ISOLDE CIRCE nTOFCapture DESPEC DTAS EDI_PSA 179Ta CARME StellarModelling DCF K40
  CARME  ELOG logo
Message ID: 487     Entry time: Fri Feb 2 09:58:58 2024
Author: TD 
Subject: TapeServer not writng data to disk - plus fix  
DAQ and NewMerger appear to be cofigured correctly.

Can allocate device, create volume and open file with TapeServer but cannot write data.

See attachmnents 1-3




Noted aida09 WR timestamp issue in attachment 3 - FEE64 Reboot fixed aida09 WR timestamp issue

Restarted DAQ/Merger/TapeServer - still cannot write to disk


14.30 CU provides the following list of NetVar variables used by the Merger

"MERGE_PID"
"MERGE_ID"
"MERGE_Action"
"MERGE_Signal"
   "MERGE_Parameter"
   "MERGE_Response"
   "MERGE_State"
   "MERGE_Trace"
   "MERGE_Paused"
   "MERGE_RunOptions"
   "MERGE_HardwareVersion"
   "MERGE_LinksAvailable"
   "MERGE_TestMode"
   "MERGE_PollTicks"
   "MERGE_LinksInUse"
   "MERGE_LinksAlive"
   "MERGE_StatsTime"
   "MERGE_Command"
   "MERGE_ZeroStats"
   "MERGE_SyncStep"
   "MERGE_InitialTimeStamp"
"MERGE_LinkState"
"MERGE_LinkStatus"
"MERGE_LinkAlive"
"MERGE_LinkInUse"

15.30 Changed Merger startup and NetVars files ( attachments 6 & 7 )

      Change server command line from

./master64 -i 16 -l 16 -p 11001  &

to

./master64 -i 15 -l 15 -p 11001  &


i.e. *exactly* matches number of FEE64s currently in use ( 15x FEE64s, aida01-aida15 )

      Change NetVars from 

MERGE.LinksInUse string 1%1%1%1%1%1%1%1%1%1%1%1%1%1%1%0%

to

MERGE.LinksInUse string 1%1%1%1%1%1%1%1%1%1%1%1%1%1%1%

i.e. string has 15x 1% strings *not* 15x 1% *plus 1x 0% string 

With *both* changes we are now able to write to disk.

N.B. We did not test the above changes individually - it is possible/probable that just one of the changes above fixes the problem.
Attachment 1: Screenshot_from_2024-02-02_10-57-18.png  126 kB  | Hide | Hide all
Screenshot_from_2024-02-02_10-57-18.png
Attachment 2: Screenshot_from_2024-02-02_10-57-51.png  105 kB  | Hide | Hide all
Screenshot_from_2024-02-02_10-57-51.png
Attachment 3: Screenshot_from_2024-02-02_10-58-23.png  702 kB  | Hide | Hide all
Screenshot_from_2024-02-02_10-58-23.png
Attachment 4: Screenshot_from_2024-02-02_11-01-22.png  180 kB  | Hide | Hide all
Screenshot_from_2024-02-02_11-01-22.png
Attachment 5: Screenshot_from_2024-02-02_11-18-45.png  178 kB  | Hide | Hide all
Screenshot_from_2024-02-02_11-18-45.png
Attachment 6: NewMerger  593 Bytes  Uploaded Fri Feb 2 14:51:45 2024  | Hide | Hide all
#!/bin/csh -f 

echo "Tidy up"

killall -s9 MERGE
killall -s9 merge64.AD

killall -s9 master64
killall -s9 link64
killall -s9 merge64
killall -s9 statrate64

echo "Starting New Merger"

/bin/echo -e "\033];New Merger\007" 

  if (! $?MIDASBASE) setenv MIDASBASE /MIDAS

#
#

   setenv PATH ${MIDASBASE}/Linux/bin64:${PATH}
   setenv LD_LIBRARY_PATH ${MIDASBASE}/TclHttpd/Linux64:${MIDASBASE}/Linux/lib64:${MIDASBASE}/lib_Linux64

netint MERGE_SyncStep 0x0000000

cd ${MIDASBASE}/NewMerger/MergeServer/bin64
./master64 -i 15 -l 15 -p 11001  &

sleep 100000000000

#
echo startup complete
#




Attachment 7: CONTENTS  372 Bytes  Uploaded Fri Feb 2 14:52:09 2024  | Hide | Hide all
0x0006dead string 0x0000
MERGE.LinksAvailable string 15
Index string MERGE.LinksAvailable&&0x0006dead&&MERGE.RunOptions&&MERGE.LinksInUse
Merge.LinksInUse string 1%1%1%1%1%1%1%1%1%1%1%1%1%1%1%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%0%
MERGE.LinksInUse string 1%1%1%1%1%1%1%1%1%1%1%1%1%1%1%
MERGE.RunOptions string 3
ELOG V3.1.4-unknown