cd /det/lar/project/LTDB/tools source set_bashrc.sh bash
ssh -X pcemf-felix-01 source /data/FELIX/setup.sh cd /data/ScriptInitFelix ./disable-minipod.sh #If forgotten you may have to repower the FE crate sudo /usr/local/bin/flxpci remove # DON'T FORGET THIS STEP, IF SO YOU MUST REBOOT THE COMPUTER fflash -f 3 -L -b 1 rm fflash-tmp.txt # this file is created when you do fflash but if someone else did it before, he is the owner of this file and you can't do fflsh. So please clean it (remove) after fflash command sudo shutdown -r now ( # there is a bug in flxpci since we are in CC7 don't execute sudo /usr/local/bin/flxpci rescan) ./enable-minipod.shNEW METHODE
ssh -X pc-emf-felix-fe-01
cd /det/lar/project/LTDB
source setup.shcd directory_of_your_felix_firmware
fflashprog -c 0 -f 3 LEFIRMW.mcs prog
fflashprog -c 0 -f 0 LEFIRMW.mcs prog
sudo shutdown now -rto verify use :
cat /proc/flxThe firware version ans build date should match with the one you flashed If not you need to shutdown the computer and restart it manually
ssh -X pc-emf-felix-fe-01 cd /det/lar/project/LTDB/OpcUaLarLtdbServer cd Felix/ source configurationFelixScript_productionServer.sh ./start.sh
ssh -X pc-emf-felix-fe-01<br />status #you need to edit your bashrc to have this command</sticky> To stop this server:
ssh -X pc-emf-felix-fe-01 status #note the felixcore's PID kill -9 PID</sticky>
ssh -X pc-emf-felix-fe-01 cd /det/lar/project/LTDB/tools/scanSca source setup.sh ./scan.sh -l 1 -------------------------LINK 1--------------------------- ----------------------Wendy position 9--------------------- ----------Scanning Adress for auxiliary elink 3d ----------Scanning Adress for auxiliary elink 7d ----------------------Wendy position 2--------------------- ----------Scanning Adress for auxiliary elink bd ----------Scanning Adress for auxiliary elink fd ----------Scanning Adress for auxiliary elink 13d elink 13d found SCA, serial=31482 elink 13d found SCA,LTDB 090 : SCA 1 ----------Scanning Adress for auxiliary elink 17d elink 17d found SCA, serial=31618 elink 17d found SCA,LTDB 090 : SCA 5 ----------Scanning Adress for auxiliary elink 1bd elink 1bd found SCA, serial=31598 elink 1bd found SCA,LTDB 090 : SCA 4 ----------------------Wendy position 1--------------------- ----------Scanning Adress for auxiliary elink 1fd elink 1fd found SCA, serial=31554 elink 1fd found SCA,LTDB 090 : SCA 3 ----------Scanning Adress for auxiliary elink 23d elink 23d found SCA, serial=31506 elink 23d found SCA,LTDB 090 : SCA 2 [...] ------- Result -------- Number of SCA found : 5
ssh -X pc-emf-felix-fe-01 gtbin cd OpcUaScaServer/ ./start.sh<
ssh -X pc-emf-felix-fe-01 status #note the ScaServer's PID kill -9 PID
ssh -X pc-emf-felix-fe-01 status #note the last_log_file tail -f last_log_file
ssh -X pc-emf-felix-fe-01 gtbin cd OpcUaLarLtdbServer/ ./start.sh<
ssh -X pc-emf-felix-fe-01 status #note the last_log_file tail -f last_log_file
*************************************************** Server opened endpoints for following URLs: opc.tcp://pcatllarltdbemf:48030 *************************************************** 2019-07-30 12:08.17.340425 [BaseQuasarServer.cpp:334, INF] *************************************************** 2019-07-30 12:08.17.340509 [BaseQuasarServer.cpp:335, INF] Press CTRL-C to shutdown server 2019-07-30 12:08.17.340552 [BaseQuasarServer.cpp:336, INF] ***************************************************
ssh -X pc-emf-felix-fe-01 status
ssh -X pc-emf-felix-fe-01 status #note the LarLtdbServer's PID kill -9 PID
sudo iptables -I INPUT -p tcp --dport 48030 -j ACCEPT
ssh -X lardcs@pcatllarltdbemf bash startPA (only if winccoa server is not launched, after a reboot for ex) ltdbMain (edit your bashrc) or WCCOAui -proj ATLLARLTDB -p main.pnl