From: hadaq@CountingHouse Date: Mon, 14 Apr 2014 12:03:42 +0000 (+0200) Subject: Changed paths to match new sctrl server X-Git-Tag: pre2018~96 X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=949bc3858592a7c3de036143faceaee3472cf8f4;p=hadesdaq.git Changed paths to match new sctrl server --- diff --git a/control/gui/call_programs_local.sh b/control/gui/call_programs_local.sh index 0eeacd2..45cfbe1 100755 --- a/control/gui/call_programs_local.sh +++ b/control/gui/call_programs_local.sh @@ -1,6 +1,6 @@ #!/bin/bash -cd /home/hadaq/trbsoft/hadesdaq/control/gui/ -/home/hadaq/trbsoft/hadesdaq/control/gui/call_programs2.pl -geometry -0-0 & +#cd /home/hadaq/trbsoft/hadesdaq/control/gui/ +/home/hadaq/trbsoft/hadesdaq/control/gui/call_programs_wrapper.sh -geometry -0-0 & #cd /home/hadaq/trbsoft/daq/control/gui/ #/home/hadaq/trbsoft/daq/control/gui/call_programs.pl -geometry -0-0 diff --git a/control/gui/call_programs_wrapper.sh b/control/gui/call_programs_wrapper.sh index 6e10c77..7b20252 100755 --- a/control/gui/call_programs_wrapper.sh +++ b/control/gui/call_programs_wrapper.sh @@ -1,5 +1,4 @@ -ssh -X hadesdaq02 "cd /home/hadaq/trbsoft/hadesdaq/control/gui/ -/home/hadaq/trbsoft/hadesdaq/control/gui/call_programs2.pl -geometry -0-0" & +ssh -X lxhadeb06 "cd /home/hadaq/trbsoft/hadesdaq/control/gui/;/home/hadaq/trbsoft/hadesdaq/control/gui/call_programs2.pl -geometry -0-0" #cd /home/hadaq/trbsoft/daq/control/gui/ #/home/hadaq/trbsoft/daq/control/gui/call_programs.pl -geometry -0-0 diff --git a/control/gui/daq/10_Start_DAQ b/control/gui/daq/10_Start_DAQ index 4d716ac..363c611 100755 --- a/control/gui/daq/10_Start_DAQ +++ b/control/gui/daq/10_Start_DAQ @@ -1,6 +1,6 @@ #!/bin/bash -export myvar=$(doyoureallywant.pl "to restart the DAQ") +export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl "restart the DAQ") if [ $myvar == "256" ]; then exit; fi #notifyall.sh "DAQ" " DAQ is going to be restarted." "STARTUP" & diff --git a/control/gui/daq/20_Reprogram_FPGA b/control/gui/daq/20_Reprogram_FPGA index dd2cc1d..151cc72 100755 --- a/control/gui/daq/20_Reprogram_FPGA +++ b/control/gui/daq/20_Reprogram_FPGA @@ -1,6 +1,6 @@ #!/bin/bash -export myvar=$(doyoureallywant.pl "to reprogramm the FPGAs") +export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl " reprogramm the FPGAs") if [ $myvar == "256" ]; then exit; fi diff --git a/control/gui/daq/30_Reboot_OEP b/control/gui/daq/30_Reboot_OEP index 7b47d1d..ce73397 100755 --- a/control/gui/daq/30_Reboot_OEP +++ b/control/gui/daq/30_Reboot_OEP @@ -1,6 +1,6 @@ #!/bin/bash -export myvar=$(doyoureallywant.pl "to reboot the MDC-OEPs") +export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl " reboot the MDC-OEPs") if [ $myvar == "256" ]; then exit; fi diff --git a/control/gui/daq/35_Reboot_MDCHub b/control/gui/daq/35_Reboot_MDCHub index 48824cd..a0d709c 100755 --- a/control/gui/daq/35_Reboot_MDCHub +++ b/control/gui/daq/35_Reboot_MDCHub @@ -4,7 +4,7 @@ # echo ping # /home/hadaq/bin/command_client.pl -e etraxp023 -c ' -export myvar=$(doyoureallywant.pl "to reboot the MDC-Hubs") +export myvar=$(/home/hadaq/trbsoft/hadesdaq/utils/doyoureallywant.pl " reboot the MDC-Hubs") if [ $myvar == "256" ]; then exit; fi trbcmd reset diff --git a/control/gui/eb/10_Restart_EB b/control/gui/eb/10_Restart_EB index 52a4358..241b360 100755 --- a/control/gui/eb/10_Restart_EB +++ b/control/gui/eb/10_Restart_EB @@ -1,5 +1,5 @@ #!/bin/bash -notifyall.sh "DAQ" " Eventbuilders are being restarted." "EB" & +#/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders are being restarted." "EB" & ssh -X hadaq@lxhadesdaq " xterm -geometry 80x24 -bg orange -fg black -e bash -c ' @@ -10,5 +10,5 @@ ssh -X hadaq@lxhadesdaq " ./start_eb_gbe.sh ' " -notifyall.sh "DAQ" " Eventbuilders have been restarted with last prefix" "EB" & +/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders have been restarted with last prefix" "EB" & diff --git a/control/gui/eb/20_____Stop_EB b/control/gui/eb/20_____Stop_EB index 274bf3a..4846ee7 100755 --- a/control/gui/eb/20_____Stop_EB +++ b/control/gui/eb/20_____Stop_EB @@ -9,4 +9,4 @@ ssh -X hadaq@lxhadesdaq " ./start_eb_gbe.pl -e stop -n 1-16 ' " -notifyall.sh "DAQ" " Eventbuilders have been stopped" "EB" & +/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders have been stopped" "EB" & diff --git a/control/gui/eb/29_Prefix_Be b/control/gui/eb/29_Prefix_Be index b391315..82faba3 100755 --- a/control/gui/eb/29_Prefix_Be +++ b/control/gui/eb/29_Prefix_Be @@ -10,6 +10,6 @@ ssh -X hadaq@lxhadesdaq " ./start_eb_gbe.pl -e restart -n 1-16 -d on -p be ' " -notifyall.sh "DAQ" " Eventbuilders have been started. Writing beam files." "EB" & +/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders have been started. Writing beam files." "EB" & diff --git a/control/gui/eb/30_Prefix_NoFile b/control/gui/eb/30_Prefix_NoFile index a5e423d..c4843c6 100755 --- a/control/gui/eb/30_Prefix_NoFile +++ b/control/gui/eb/30_Prefix_NoFile @@ -9,5 +9,5 @@ ssh -X hadaq@lxhadesdaq " ./start_eb_gbe.pl -e restart -n 1-16 -d off -p '--' ' " -notifyall.sh "DAQ" " Eventbuilders have been started. NO FILES are being written" "EB" & +/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders have been started. NO FILES are being written" "EB" & diff --git a/control/gui/eb/40_Prefix_Te b/control/gui/eb/40_Prefix_Te index 3be97c7..eb2d9e4 100755 --- a/control/gui/eb/40_Prefix_Te +++ b/control/gui/eb/40_Prefix_Te @@ -9,5 +9,5 @@ ssh -X hadaq@lxhadesdaq " ./start_eb_gbe.pl -e restart -n 1-16 -d on -p te ' " -notifyall.sh "DAQ" " Eventbuilders have been started. Writing test files" "EB" & +/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders have been started. Writing test files" "EB" & diff --git a/control/gui/eb/50_Prefix_Co b/control/gui/eb/50_Prefix_Co index cd227af..c5c52cd 100755 --- a/control/gui/eb/50_Prefix_Co +++ b/control/gui/eb/50_Prefix_Co @@ -9,5 +9,5 @@ ssh -X hadaq@lxhadesdaq " ./start_eb_gbe.pl -e restart -n 1-16 -d on -p co ' " -notifyall.sh "DAQ" " Eventbuilders have been started. Writing Cosmics Files" "EB" & +/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders have been started. Writing Cosmics Files" "EB" & diff --git a/control/gui/eb/70_Prefix_Ri b/control/gui/eb/70_Prefix_Ri index 0c88723..6dca37a 100755 --- a/control/gui/eb/70_Prefix_Ri +++ b/control/gui/eb/70_Prefix_Ri @@ -9,5 +9,5 @@ ssh -X hadaq@lxhadesdaq " ./start_eb_gbe.pl -e restart -n 1-16 -d on -p ri ' " -notifyall.sh "DAQ" " Eventbuilders have been started. Writing RICH Files" "EB" & +/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders have been started. Writing RICH Files" "EB" & diff --git a/control/gui/eb/80_Prefix_St b/control/gui/eb/80_Prefix_St index 0415e6f..10630dd 100755 --- a/control/gui/eb/80_Prefix_St +++ b/control/gui/eb/80_Prefix_St @@ -7,5 +7,5 @@ ssh -X hadaq@lxhadesdaq " ./start_eb_gbe.pl -e restart -n 1-16 -d on -p st ' " -notifyall.sh "DAQ" " Eventbuilders have been started. Writing START Files" "EB"& +/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders have been started. Writing START Files" "EB"& diff --git a/control/gui/eb/90_Prefix_Md b/control/gui/eb/90_Prefix_Md index 2b2b4ab..8b2e3a5 100755 --- a/control/gui/eb/90_Prefix_Md +++ b/control/gui/eb/90_Prefix_Md @@ -7,5 +7,5 @@ ssh -X hadaq@lxhadesdaq " ./start_eb_gbe.pl -e restart -n 1-16 -d on -p md ' " -notifyall.sh "DAQ" " Eventbuilders have been started. Writing MDC Files" "EB"& +/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders have been started. Writing MDC Files" "EB"& diff --git a/control/gui/eb/99_Prefix_Pt b/control/gui/eb/99_Prefix_Pt index adf6813..9a79351 100755 --- a/control/gui/eb/99_Prefix_Pt +++ b/control/gui/eb/99_Prefix_Pt @@ -9,5 +9,5 @@ ssh -X hadaq@lxhadesdaq " ./start_eb_gbe.pl -e restart -n 1-16 -d on -p pt ' " -notifyall.sh "DAQ" " Eventbuilders have been started. Writing test files" "EB" & +/home/hadaq/trbsoft/hadesdaq/utils/notifyall.sh "DAQ" " Eventbuilders have been started. Writing PionTracker pt files" "EB" & diff --git a/control/gui/monitor/10_CTS_Mon b/control/gui/monitor/10_CTS_Mon index 4827533..0bd28a6 100755 --- a/control/gui/monitor/10_CTS_Mon +++ b/control/gui/monitor/10_CTS_Mon @@ -5,7 +5,7 @@ #notifyall.sh "DAQ" " DAQ is going to be restarted." "STARTUP" & #xterm -geometry 80x24 -bg orange -fg black -e bash --login -c ' -# ssh -X hadaq@hadesdaq02 " +# ssh -X hadaq@lxhadeb06 " source /home/hadaq/.bashrc export DAQOPSERVER=hadesp31 cd /home/hadaq/trbsoft/hadesdaq/control/ctsmon diff --git a/control/gui/monitor/28_Epics b/control/gui/monitor/28_Epics index 688b615..b5dbd93 100755 --- a/control/gui/monitor/28_Epics +++ b/control/gui/monitor/28_Epics @@ -1,3 +1,4 @@ #!/bin/bash -ssh -X -l scs hadesdaq02 '. /home/scs/.profile; medm -x hades.adl' +#ssh -X -l scs lxhadeb06 '. /home/scs/.profile; medm -x hades.adl' +export EPICS_CA_ADDR_LIST="192.168.103.255 hadsc1 e7had2"; export EPICS_CA_AUTO_ADDR_LIST=NO; /home/epics/EPICS/EPICS-3.14.12.4/extensions/bin/linux-x86_64/medm -x /home/scs/operator/hades.adl & diff --git a/control/gui/monitor/30_Epics_EB b/control/gui/monitor/30_Epics_EB index 5a0bd8d..ed9b9b7 100755 --- a/control/gui/monitor/30_Epics_EB +++ b/control/gui/monitor/30_Epics_EB @@ -1,2 +1,3 @@ #!/bin/bash -ssh -X scs@hadesdaq02 'export EPICS_CA_ADDR_LIST=192.168.103.255; export EPICS_CA_AUTO_ADDR_LIST=NO; /home/scs/epics/extensions/bin/linux-x86/medm -x -macro "SUBSYSNUM=24" ~/operator/ebmainctrl.adl' +#ssh -X scs@lxhadeb06 'export EPICS_CA_ADDR_LIST=192.168.103.255; export EPICS_CA_AUTO_ADDR_LIST=NO; /home/epics/EPICS/EPICS-3.14.12.4/extensions/bin/linux-x86_64/medm -x -macro "SUBSYSNUM=24" ~/operator/ebmainctrl.adl' +export EPICS_CA_ADDR_LIST=192.168.103.255; export EPICS_CA_AUTO_ADDR_LIST=NO; /home/epics/EPICS/EPICS-3.14.12.4/extensions/bin/linux-x86_64/medm -x -macro "SUBSYSNUM=24" /home/scs/operator/ebmainctrl.adl & diff --git a/utils/move_doublecpu_irq.sh b/utils/move_doublecpu_irq.sh index 5e4aa12..71442b8 100755 --- a/utils/move_doublecpu_irq.sh +++ b/utils/move_doublecpu_irq.sh @@ -1,8 +1,8 @@ #!/bin/bash # JAM moved actual setting of interrupt affinities to scripts on target machines -#ssh root@lxhadeb01 '/root/bin/set_eth_affinity.sh' ssh root@lxhadeb02 '/root/bin/set_eth_affinity.sh' ssh root@lxhadeb03 '/root/bin/set_eth_affinity.sh' ssh root@lxhadeb04 '/root/bin/set_eth_affinity.sh' -ssh root@lxhadeb05 '/root/bin/set_eth_affinity_lxhadeb05.sh' +ssh root@lxhadeb05 '/usr/bin/perl -w /root/bin/set_eth_affinity_lxhadeb05.pl' +#ssh root@lxhadeb05 '/root/bin/set_eth_affinity_lxhadeb05.sh' diff --git a/utils/move_doublecpu_irq_old.sh b/utils/move_doublecpu_irq_old.sh new file mode 100755 index 0000000..f2f06e8 --- /dev/null +++ b/utils/move_doublecpu_irq_old.sh @@ -0,0 +1,10 @@ +#!/bin/bash +#ssh root@lxhadeb01 'echo 000000 > /proc/irq/1272/smp_affinity' +ssh root@lxhadeb02 'echo c > /proc/irq/1272/smp_affinity' +ssh root@lxhadeb03 'echo c > /proc/irq/1272/smp_affinity' +ssh root@lxhadeb04 'echo c > /proc/irq/1272/smp_affinity' +#ssh root@lxhadeb05 'echo 0c > /proc/irq/31/smp_affinity;echo 03 > /proc/irq/32/smp_affinity;echo 03 > /proc/irq/33/smp_affinity;' +ssh root@lxhadeb05 'echo 0c > /proc/irq/77/smp_affinity;echo 03 > /proc/irq/78/smp_affinity;echo 03 > /proc/irq/79/smp_affinity;' +# todo- will go up to irq/100 JAM +#ssh root@lxhadeb05 'echo 030 > /proc/irq/46/smp_affinity;echo 0c0 > /proc/irq/47/smp_affinity;echo 300 > /proc/irq/48/smp_affinity;echo c00 > /proc/irq/49/smp_affinity;' + diff --git a/utils/notifyall.sh b/utils/notifyall.sh index fb2e017..5d47633 100755 --- a/utils/notifyall.sh +++ b/utils/notifyall.sh @@ -3,6 +3,7 @@ ssh -X hadaq@hadesdaq01 " kdialog -display :0 --title '$1' --passivepopup '$3: #ssh -X hadaq@hadesdaq01 " kdialog -display :50 --title '$1' --passivepopup '$3: $2' 12 " & ssh -X hadaq@hadesdaq02 " kdialog -display :0 --title '$1' --passivepopup '$3: $2' 12 " 2>/dev/null 1>/dev/null& ssh -X hadaq@hades30 " kdialog -display :0 --title '$1' --passivepopup '$3: $2' 12 " 2>/dev/null 1>/dev/null& +ssh -X hadaq@hades33 " kdialog -display :0 --title '$1' --passivepopup '$3: $2' 12 " 2>/dev/null 1>/dev/null& ssh -X hadaq@lxhadesdaq " kdialog -display :1 --title '$1' --passivepopup '$3: $2' 12 " 2>/dev/null 1>/dev/null & #ssh -X hadaq@lxhadesdaq " logger -p local1.info -t DAQ '$3 $2'" & logger -p local1.info -t DAQ "$3 $2"