From a83a5721457e0f571d16582c23d3ea0dbed5fc79 Mon Sep 17 00:00:00 2001 From: Hades DAQ Date: Mon, 1 Oct 2018 13:38:07 +0200 Subject: [PATCH] move eb to lxhadeb07 --- evtbuild/start_eb_gbe.pl | 5 +++++ evtbuild/tdc_calib_start.sh | 2 +- evtbuild/tdc_calib_stop.sh | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/evtbuild/start_eb_gbe.pl b/evtbuild/start_eb_gbe.pl index 64d6910..90f4f1b 100755 --- a/evtbuild/start_eb_gbe.pl +++ b/evtbuild/start_eb_gbe.pl @@ -615,6 +615,9 @@ my $ebproc =0; my @bnetservers = ("192.168.100.8","192.168.100.9","192.168.100.10","192.168.100.15"); + # variable master node now: + my $bnetmaster = "lxhadeb07"; + #lxhadeb07"; # before we start inidividual bnet processes, need to evaluate list of ports and nodes: # BNETSENDERS=[localhost:12501,localhost:12502] @@ -762,6 +765,7 @@ for ( my $ebserver=0; $ebserver<4; $ebserver=$ebserver+1){ #my $sendnum= $sender + 1; my $exports = " export MYHOST=" . $gsi_cpu . ";" . + " export BNETMASTER=" . $bnetmaster . ";" . #" 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 . "; " . @@ -822,6 +826,7 @@ for ( my $ebserver=0; $ebserver<4; $ebserver=$ebserver+1){ { my $exports = " export MYHOST=" . $gsi_cpu . ";" . + " export BNETMASTER=" . $bnetmaster . ";" . " export BNEBNUM=" . $ebid . ";" . " export BNEBID=" . $portid . "; " . " export BNEBPORT=" . $bnebport . "; " . diff --git a/evtbuild/tdc_calib_start.sh b/evtbuild/tdc_calib_start.sh index 68bdf68..5d9bb0d 100755 --- a/evtbuild/tdc_calib_start.sh +++ b/evtbuild/tdc_calib_start.sh @@ -8,7 +8,7 @@ export DAQOPSERVER=hadesp31; trbcmd setbit 0x003 0xa0c0 0x1D; trbcmd w 0x003 0xa0e3 0x1E8480; echo Setting file prefix tc; - /usr/bin/wget -a /tmp/EB_filestart.log -O /tmp/EB_fileres.txt "http://lxhadeb03:8090/Master/BNET/StartRun/execute?prefix=tc&oninit=10"; + /usr/bin/wget -a /tmp/EB_filestart.log -O /tmp/EB_fileres.txt "http://lxhadeb07:8099/Master/BNET/StartRun/execute?prefix=tc&oninit=10"; echo set prefix tc on BNET master controller; diff --git a/evtbuild/tdc_calib_stop.sh b/evtbuild/tdc_calib_stop.sh index 147ca16..17f3e6d 100755 --- a/evtbuild/tdc_calib_stop.sh +++ b/evtbuild/tdc_calib_stop.sh @@ -1,7 +1,7 @@ #!/bin/bash echo Setting file prefix no file - /usr/bin/wget -a /tmp/EB_filestart.log -O /tmp/EB_fileres.txt "http://lxhadeb03:8090/Master/BNET/StartRun/execute?prefix='--'&oninit=10" + /usr/bin/wget -a /tmp/EB_filestart.log -O /tmp/EB_fileres.txt "http://lxhadeb07:8099/Master/BNET/StartRun/execute?prefix='--'&oninit=10" echo set prefix nofile on BNET master controller sleep 2 echo setting CTS back to regular mode -- 2.43.0