]> jspc29.x-matter.uni-frankfurt.de Git - hadesdaq.git/commitdiff
further changed files
authorhadaq <jan@lxhadeb07>
Fri, 25 Aug 2023 13:18:57 +0000 (15:18 +0200)
committerhadaq <jan@lxhadeb07>
Fri, 25 Aug 2023 13:18:57 +0000 (15:18 +0200)
.gitignore
control/gui/eb/59_RESET_EB [new file with mode: 0755]
control/gui/eb/73_Set_4_EB [new file with mode: 0755]
control/gui/eb/76_Set_8_EB [new file with mode: 0755]
control/gui/eb/79_Set_16_EB [new file with mode: 0755]
nettools/Perl2Epics.pm
trg/triggerbox.trbcmd

index 9e7fab06b01b3e69029d09b7353823a06d9dd0b9..c4aa9c49f2f52460b8059b32fdcfda2a223d50e7 100644 (file)
@@ -28,3 +28,9 @@ oracle
 rich/trb_dirich_threshold_bck
 daq_readback
 rush_read
+readback_logs
+old_*
+bit
+oldlogs
+oldscripts
+*.sav*
diff --git a/control/gui/eb/59_RESET_EB b/control/gui/eb/59_RESET_EB
new file mode 100755 (executable)
index 0000000..7bb3bf4
--- /dev/null
@@ -0,0 +1,18 @@
+#!/bin/bash
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "Reset the event builders (drop all buffers)")
+if [ $myvar == "256" ]; then exit; fi                           
+
+#$HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> EBs are going to be changed to write no files." "EB" &
+
+xterm -geometry 80x24 -bg orange -fg black -e bash -c '
+  ssh hadaq@lxhadesdaq " 
+  echo "Resetting event builder buffers..."
+  /usr/bin/wget  -a /tmp/EB_reset.log -O /tmp/EB_resetres.txt \"http://lxhadeb12:8099/Master/BNET/ResetDAQ/execute\"
+  echo "have dropped all buffers."
+  sleep 2 
+  "
+'
+
+#$HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders are writing NO FILES." "EB" &
+
diff --git a/control/gui/eb/73_Set_4_EB b/control/gui/eb/73_Set_4_EB
new file mode 100755 (executable)
index 0000000..f82a08f
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+# notifyall.sh "DAQ" "<I> Eventbuilders are being restarted." "EB" &
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "restart the EBs with 4 builder nodes")
+if [ $myvar == "256" ]; then exit; fi                            
+
+$HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders are being started with 4 builder nodes." "EB" &
+
+xterm -geometry 80x24 -bg orange -fg black -e bash -c '
+  ssh hadaq@lxhadesdaqp "
+  echo "Starting Eventbuilders  with 4 BNET builder nodes"
+  cd ~/trbsoft/hadesdaq/evtbuild/
+  ./start_eb_gbe.pl -e restart -n 1-16  -d on -p te -b 4
+  sleep 2
+ "
+'
+
+$HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders have been restarted using 4 BNET builder nodes" "EB" &
+
diff --git a/control/gui/eb/76_Set_8_EB b/control/gui/eb/76_Set_8_EB
new file mode 100755 (executable)
index 0000000..3f74008
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+# notifyall.sh "DAQ" "<I> Eventbuilders are being restarted." "EB" &
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "restart the EBs with 8 builder nodes")
+if [ $myvar == "256" ]; then exit; fi                            
+
+$HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders are being started with 8 builder nodes." "EB" &
+
+xterm -geometry 80x24 -bg orange -fg black -e bash -c '
+  ssh hadaq@lxhadesdaqp "
+  echo "Starting Eventbuilders  with 10 BNET builder nodes"
+  cd ~/trbsoft/hadesdaq/evtbuild/
+  ./start_eb_gbe.pl -e restart -n 1-16  -d on -p te -b 8
+  sleep 2
+ "
+'
+
+$HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders have been restarted using 8 BNET builder nodes" "EB" &
+
diff --git a/control/gui/eb/79_Set_16_EB b/control/gui/eb/79_Set_16_EB
new file mode 100755 (executable)
index 0000000..b937e64
--- /dev/null
@@ -0,0 +1,20 @@
+#!/bin/bash
+
+# notifyall.sh "DAQ" "<I> Eventbuilders are being restarted." "EB" &
+
+export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "restart the EBs with 16 builder nodes")
+if [ $myvar == "256" ]; then exit; fi                            
+
+$HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders are being started with 16 builder nodes." "EB" &
+
+xterm -geometry 80x24 -bg orange -fg black -e bash -c '
+  ssh hadaq@lxhadesdaqp "
+  echo "Starting Eventbuilders  with 16 BNET builder nodes"
+  cd ~/trbsoft/hadesdaq/evtbuild/
+  ./start_eb_gbe.pl -e restart -n 1-16  -d on -p te -b 16
+  sleep 2
+ "
+'
+
+$HOME/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders have been restarted using 16 BNET builder nodes" "EB" &
+
index 90ce2f20482c917a816f7e556c257a16253b6f70..9ecbfd4fd493e3140c2e139a4a5ee6a881f390b4 100644 (file)
@@ -4,11 +4,12 @@ use strict;
 use Data::Dumper;
 # use Hmon;
 
-use lib '/home/scs/EPICS/EPICS-3.14.12.4/base/' . '/lib/perl';
-use lib '/home/hadaq/EPICS/EPICS-3.15.6/base' . '/lib/perl';
-use lib '/home/hadaq/soft/EPICS/EPICS-3.16.1/base/' . '/lib/perl';
-use lib '/home/epics/EPICS/EPICS-3.16.1/base/' . '/lib/perl';
-use lib '/home/hadaq/soft/EPICS/EPICS-7.0.1.1/base/' . '/lib/perl';
+# use lib '/home/scs/EPICS/EPICS-3.14.12.4/base/' . '/lib/perl';
+# use lib '/home/hadaq/EPICS/EPICS-3.15.6/base' . '/lib/perl';
+# use lib '/home/hadaq/soft/EPICS/EPICS-3.16.1/base/' . '/lib/perl';
+# use lib '/home/epics/EPICS/EPICS-3.16.1/base/' . '/lib/perl';
+# use lib '/home/hadaq/soft/EPICS/EPICS-7.0.1.1/base/' . '/lib/perl';
+use lib '/home/hadaq/soft/EPICS/EPICS-7.0.7/base/lib/perl/';
 use CA;
 
 #JAM 2020: back to default after EBs are done with epics
index 0bbdbd70c751a3e89da4320bc1ed2e6be4687ce9..ecf2206b98683e6e6ee32fe28701e273f3da847e 120000 (symlink)
@@ -1 +1 @@
-20221201_wFW_as_PT3.trbcmd
\ No newline at end of file
+20230530_FW_analogsum_as_PT8.trbcmd
\ No newline at end of file