adjust eb configuration for bnet. under test.
ssh -X hadaq@lxhadesdaq "
xterm -geometry 80x24 -bg orange -fg black -e bash -c '
- echo "Starting Eventbuilder 1 - 16 with file prefix be"
+ echo "Starting Eventbuilders with file prefix be"
cd ~/trbsoft/hadesdaq/evtbuild/
- ./start_eb_gbe.pl -e restart -n 1-16 -d on -p be
+ ./start_eb_gbe.pl -e restart -n 1-16 -d on -p be
'
"
/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders have been started. Writing beam files." "EB" &
ssh -X hadaq@lxhadesdaq "
xterm -geometry 80x24 -bg orange -fg black -e bash -c '
- echo "Starting Eventbuilder 1 - 16, writing NO FILES"
+ echo "Starting Eventbuilder , writing NO FILES"
cd ~/trbsoft/hadesdaq/evtbuild/
- ./start_eb_gbe.pl -e restart -n 1-16 -d off -p '--'
+ ./start_eb_gbe.pl -e restart -n 1-16 -d off -p '--'
'
"
/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders have been started. NO FILES are being written" "EB" &
ssh -X hadaq@lxhadesdaq "
xterm -geometry 80x24 -bg orange -fg black -e bash -c '
- echo "Starting Eventbuilder 1 - 16 with prefix te"
+ echo "Starting Eventbuilders with prefix te"
cd ~/trbsoft/hadesdaq/evtbuild/
- ./start_eb_gbe.pl -e restart -n 1-16 -d on -p te
+ ./start_eb_gbe.pl -e restart -n 1-16 -d on -p te
'
"
/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders have been started. Writing test files" "EB" &
ssh -X hadaq@lxhadesdaq "
xterm -geometry 80x24 -bg orange -fg black -e bash -c '
- echo "Starting Eventbuilder 1 - 16 with prefix co"
+ echo "Starting Eventbuilders with prefix co"
cd ~/trbsoft/hadesdaq/evtbuild/
- ./start_eb_gbe.pl -e restart -n 1-16 -d on -p co
+ ./start_eb_gbe.pl -e restart -n 1-16 -d on -p co
'
"
/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders have been started. Writing Cosmics Files" "EB" &
ssh -X hadaq@lxhadesdaq "
xterm -geometry 80x24 -bg orange -fg black -e bash -c '
- echo "Starting Eventbuilder 1 - 16 with prefix tc"
+ echo "Starting Eventbuilders with prefix tc"
cd ~/trbsoft/hadesdaq/evtbuild/
- ./start_eb_gbe.pl -e restart -n 1-16 -d on -p tc
+ ./start_eb_gbe.pl -e restart -n 1-16 -d on -p tc
'
"
/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders have been started. Writing TDC-Calibration Files" "EB" &
ssh -X hadaq@lxhadesdaq "
xterm -geometry 80x24 -bg orange -fg black -e bash -c '
- echo "Starting Eventbuilder 1 - 16 with prefix ri"
+ echo "Starting Eventbuilders with prefix ri"
cd ~/trbsoft/hadesdaq/evtbuild/
- ./start_eb_gbe.pl -e restart -n 1-16 -d on -p ri
+ ./start_eb_gbe.pl -e restart -n 1-16 -d on -p ri
'
"
/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders have been started. Writing RICH Files" "EB" &
ssh -X hadaq@lxhadesdaq "
xterm -geometry 80x24 -bg orange -fg black -e bash -c '
- echo "Starting Eventbuilder 1 - 16 with prefix ec"
+ echo "Starting Eventbuilders with prefix ec"
cd ~/trbsoft/hadesdaq/evtbuild/
- ./start_eb_gbe.pl -e restart -n 1-16 -d on -p ec
+ ./start_eb_gbe.pl -e restart -n 1-16 -d on -p ec
'
"
/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders have been started. Writing ECAL Files" "EB" &
ssh -X hadaq@lxhadesdaq "
xterm -geometry 80x24 -bg orange -fg black -e bash -c '
- echo "Starting Eventbuilder 1 - 16 with prefix st"
+ echo "Starting Eventbuilders with prefix st"
cd ~/trbsoft/hadesdaq/evtbuild/
- ./start_eb_gbe.pl -e restart -n 1-16 -d on -p st
+ ./start_eb_gbe.pl -e restart -n 1-16 -d on -p st
'
"
/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders have been started. Writing START Files" "EB"&
ssh -X hadaq@lxhadesdaq "
xterm -geometry 80x24 -bg orange -fg black -e bash -c '
- echo "Starting Eventbuilder 1 - 16 with prefix md"
+ echo "Starting Eventbuilders with prefix md"
cd ~/trbsoft/hadesdaq/evtbuild/
./start_eb_gbe.pl -e restart -n 1-16 -d on -p md
'
ssh -X hadaq@lxhadesdaq "
xterm -geometry 80x24 -bg orange -fg black -e bash -c '
- echo "Starting Eventbuilder 1 - 16 with prefix sh"
+ echo "Starting Eventbuilders with prefix sh"
cd ~/trbsoft/hadesdaq/evtbuild/
- ./start_eb_gbe.pl -e restart -n 1-16 -d on -p sh
+ ./start_eb_gbe.pl -e restart -n 1-16 -d on -p sh
'
"
/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" "<I> Eventbuilders have been started. Writing Shower sh files" "EB" &
ssh -X hadaq@lxhadesdaq "
xterm -geometry 80x24 -bg orange -fg black -e bash -c '
- echo "Starting Eventbuilder 1 - 16 with prefix pt"
+ echo "Starting Eventbuilders with prefix pt"
cd ~/trbsoft/hadesdaq/evtbuild/
./start_eb_gbe.pl -e restart -n 1-16 -d on -p pt
'
--- /dev/null
+#!/bin/bash
+
+xterm -geometry 80x24 -bg orange -fg black -e bash -c ' ssh hadaq@140.181.91.154 "/home/hadaq/bin/restart_bnetmaster.sh ; echo closing window in 5 secs...; sleep 5" '
+
+
+
--- /dev/null
+#!/bin/bash
+MOZ_NO_REMOTE=1 firefox -P Eventbuilding http://lxhadeb03:8090
+
#Load TDC settings
load_register register_tdc_ecal.db
-
+ load_register register_monitoring_trigger.db
#wait
#BNETINP: 2 2 2 2
#BNETBLD: 2 2 2 2
#BNETBLD: 3 3 3 3
-BNETBLD: 1 1 1 1
+BNETBLD: 1 1 1 0
# EB Nr 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
#EB_LIST: 1 1 1 1 1 1 1 1 0 0 0 0 0 0 0 0
# LTSM switch (on=1/off=0) for 16 EB processes
# note: for bnet mode, only flag of EB15 is used!
# EB Nr 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
-LTSM: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 0
+LTSM: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
#LTSM: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
#LTSM: 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0
for(my $sender=0; $sender<$bnet_numsenders; $sender=$sender+1)
{
- my $sendnum= $sender + 1;
+ #my $sendnum= $sender + 1;
+
my $exports = " export MYHOST=" . $gsi_cpu . ";" .
- " export BNINPNUM=" . $sendnum . ";" .
- " export BNINPID=" . $sendid . "; " .
+ #" export BNINPNUM=" . $sendnum . ";" . # need to use different sender numbers on differentnodes
+ " export BNINPNUM=" . $ebid . ";" . # todo: extend if more than one sender per node
+ " export BNINPID=" . $sendid . "; " .
" export BNINPPORT=" . $bninpport . "; " .
" export BNETSENDERS=" . $bnetsenders . ";" .
" export BNETRECEIVERS=" . $bnetrcvs . ";" .
return;
}
-
# print "DISABLING regular eventbuilder start for testing!\n";
# return;
########################################
my $ebnum2print = $ebproc+1;
print "EB process: $ebnum2print\n";
-
+if($ebproc==15)
+{
+ print "Ignore eventbuilder 16, setup is reserved for BNET. \n";
+ return;
+}
+
+
# JAM first test if we should activate dabc eventbuilder or old one
if( $EB_Args_href->{$ebproc}->{'DABC'} ){
for (my $d=1;$d<=22;$d++) {
$str .= "<th>$d";
}
- for (my $n=2;$n<=7;$n++) {
- my @out = Hmon::qxtimeout("ssh lxhadeb0$n \"df -h \"",10);
+ for (my $n=2;$n<=10;$n++) {
+ my $hostn=sprintf("lxhadeb%02d", $n);
+ my @out = Hmon::qxtimeout("ssh $hostn \"df -h \"",10);
foreach my $a (@out) {
if ($a =~ /\d+,?.?\d+[TGM]?\s+(\d+,?.?\d+[TGM]?)\s+(\d+,?.?\d+[TGM]?)\s+(\d*)\%\s*\/data(\d\d)$/) {
$store->{$n}->{$4} = $3;
$store2->{$n}->{$4} = $2." / ".$1." = ".$3."%";
if ($3 > $max) {
- $max = $3; $maxb = "$3% on lxhadeb$n Disk $4";
+ $max = $3; $maxb = "$3% on $hostn Disk $4";
}
if ($3 > $maxqa) {
$maxqa = $3;
}
}
}
- $str .= "\n<tr><th>lxhadeb$n";
+ $str .= "\n<tr><th> $hostn";
for (my $d=1;$d<=22;$d++) {
my $id = $d;
$id = '0'.$d if $d<10;