Setup Files
Library Script (updated) edit
Location: Computer: jlabdaq User: root Directory: /root File: lib32_install.sh
# Updated Script File
yum -y install ibgcc-11.4.1-3.el9.alma.1.i686 yum -y install glibc-gconv-extra-2.34-100.el9_4.4.i686 yum -y install glibc-2.34-100.el9_4.4.i686 yum -y install libICE-1.0.10-8.el9.i686 yum -y install libXau-1.0.9-8.el9.i686 yum -y install libxcb-1.13.1-9.el9.i686 yum -y install libX11-1.7.0-9.el9.i686 yum -y install libXpm-3.5.13-10.el9.i686 yum -y install libstdc++-11.4.1-3.el9.alma.1.i686 yum -y install libstdc++-devel-11.4.1-3.el9.alma.1.i686 yum -y install libXext-1.3.4-8.el9.i686 yum -y install libXp-1.0.3-11.el9.i686 yum -y install libuuid-2.37.4-18.el9.i686 yum -y install libSM-1.2.3-10.el9.i686 yum -y install libXt-1.2.0-6.el9.i686 yum -y install libXmu-1.1.3-8.el9.i686 yum -y install libnsl-2.34-100.el9_4.4.i686 yum -y install libXi-1.7.10-8.el9.i686 yum -y install libXtst-1.2.3-16.el9.i686 yum -y install libXcomposite-0.4.5-7.el9.i686 yum -y install zlib-1.2.11-40.el9.i686 yum -y install libunistring-0.9.10-15.el9.i686 yum -y install libtasn1-4.16.0-8.el9_1.i686 yum -y install libffi-3.4.2-8.el9.i686 yum -y install p11-kit-0.25.3-2.el9.i686 yum -y install libidn2-2.3.0-7.el9.i686 yum -y install libpng-1.6.37-12.el9.i686 yum -y install xz-libs-5.2.5-8.el9_0.i686 yum -y install libxml2-2.9.13-6.el9_4.i686 yum -y install pcre2-10.40-5.el9.i686 yum -y install pcre-8.44-3.el9.3.i686 yum -y install nettle-3.9.1-1.el9.i686 yum -y install gnutls-3.8.3-4.el9_4.i686 yum -y install libsepol-3.6-1.el9.i686 yum -y install libselinux-3.6-1.el9.i686 yum -y install libbrotli-1.0.9-6.el9.i686 yum -y install libblkid-2.37.4-18.el9.i686 yum -y install libmount-2.37.4-18.el9.i686 yum -y install glib2-2.68.4-14.el9_4.1.i686 yum -y install graphite2-1.3.14-9.el9.i686 yum -y install bzip2-libs-1.0.8-8.el9.i686 yum -y install harfbuzz-2.7.4-10.el9.i686 yum -y install freetype-2.10.4-9.el9.i686 yum -y install fontconfig-2.14.0-2.el9_1.i686 yum -y install libXrender-0.9.10-16.el9.i686 yum -y install lksctp-tools-1.0.19-3.el9_4.i686 yum -y install alsa-lib-1.2.10-2.el9.i686 yum -y install java-1.8.0-openjdk-headless-1.8.0.432.b06-2.el9.i686 yum -y install java-1.8.0-openjdk-1.8.0.432.b06-2.el9.i686 yum -y install java-1.8.0-openjdk-devel-1.8.0.432.b06-2.el9.i686
#Old/Outdated Script File
yum -y install libICE.i686 yum -y install libXpm.i686 yum -y install libstdc++-devel.i686 yum -y install libXp.i686 yum -y install libSM.i686 yum -y install libXmu.i686 yum -y install compat-libstdc++-33.i686 yum -y install compat-libstdc++-296.i686 yum -y install openmotif-2.3.3-7.1.el6_5.i686 #needed for rcplatform yum -y install java-1.6.0-openjdk yum -y install java-1.6.0-openjdk-devel yum -y install java-1.6.0-openjdk-javadoc-1.6.0.0-5.1.13.3.el6_5.i686 yum -y install xterm #cmake yum -y install cmake-2.6.4-5.el6.i686 #needed for ROOT yum -y install libX11-devel-1.5.0-4.el6.i686 yum -y install libXpm-devel-3.5.10-2.el6.i686 yum -y install libXft-devel-2.3.1-2.el6.i686 yum -y install libXext-devel-1.3.1-2.el6.i686 yum -y install python-devel-2.6.6-52.el6.i686 #needed for Geant4 yum -y install libXmu-devel-1.1.1-2.el6.i686 yum -y install expat-devel-2.0.1-11.el6_2.i686 yum -y install avahi-qt4-devel-0.6.25-12.el6_5.1.i686
Hosts File (updated) edit
Location: Computer: jlabdaq User: root Directory: /etc File: hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4 ::1 localhost localhost.localdomain localhost4 localhost4.localdomain4 10.126.1.101 jlabdaq.cnuadmin.cnu.edu jlabdaq 10.126.1.102 jlabanalysis.cnuadmin.cnu.edu jlabanalysis 10.126.1.103 jlabvis1.cnuadmin.cnu.edu jlabvis1 10.126.1.104 jlabvis2.cnuadmin.cnu.edu jlabvis2 10.126.0.58 jlabcoda2.cnuadmin.cnu.edu jlabcoda2 10.126.0.235 jlabcoda.cnuadmin.cnu.edu jlabcoda 10.126.0.65 jlabscope.cnuadmin.cnu.edu jlabscope 10.126.1.217 jlabhallb.cnuadmin.cnu.edu jlabhallb 10.126.1.218 gaisgeach.cnuadmin.cnu.edu gaisgeach 10.126.1.219 gaisgeach2.cnuadmin.cnu.edu gaisgeach2 137.155.254.99 ws06pv.cnuadmin.cnu.edu as37pv.cnuadmin.cnu.edu 192.168.0.2 jlabvme.cnuadmin.cnu.edu jlabvme
Environment Variables (dosetupcoda262) (updated) edit
Location: Computer: jlabdaq User: coda Directory: home/coda File: dosetupcoda262
#!/bin/csh # # This environment must be changed to match your system # This is just an example setenv CODA /usr/local/coda/2.6.2 setenv JAVA_HOME /usr/lib/jvm/java-1.7.0 echo Setting up coda 2.6.2 from ${CODA} source $CODA/.setup setenv MSQL_TCP_HOST jlabcoda setenv MSQL_HOME /home/coda/msql setenv EXPID PCSE setenv SESSION Luter345 setenv KILL_CODA_SCRIPT setenv CODA_DIRECTORY /home/coda/CODA setenv CODA_DATA /home/coda/CODA/data # CODA 3 Run Control echo AFECS Home set to ${CODA}/afecs setenv AFECS_HOME ${CODA}/afecs setenv CMSG_HOME ${CODA}/cMsg setenv COOL_HOME ${CODA_DIRECTORY}/cool setenv RCREMLOG ${CODA_DIRECTORY} setenv CODA_DB_DRIVER com.imaginary.sql.msql.MsqlDriver setenv CODA_DB_URL jdbc:msql://${MSQL_TCP_HOST}:8101/$EXPID setenv CODA_DB_USER coda setenv CODA_DB_PASSWORD setenv PATH ${AFECS_HOME}/bin:${JAVA_HOME}/bin:${HOME}/bin:$PATH echo done.
.tcshrc (updated) edit
Location: Computer: jlabdaq User: coda Directory: home/coda File: .tcshrc
source {$HOME}/dosetupcoda262 if (!($?LD_LIBRARY_PATH)) then setenv LD_LIBRARY_PATH .:/home/coda/crl:/usr/lib else setenv LD_LIBRARY_PATH .:/home/coda/crl:/usr/lib:${LD_LIBRARY_PATH} endif alias gojlab ssh -X [email protected]
Exports File (updated) edit
Location: Computer: jlabdaq User: root Directory: /etc File: exports
/diskless/Centos6.2/root/ 10.30.22.0/255.255.255.0(ro,sync,no_root_squash) /diskless/Centos6.2/root/ 137.155.2.0/255.255.255.0(ro,sync,no_root_squash) /diskless/Centos6.2/root/ 10.124.0.0/255.255.255.0(ro,sync,no_root_squash) /diskless/Centos6.2/root/ 10.126.1.0/255.255.255.0(ro,sync,no_root_squash) /diskless/Centos6.2/root/ 10.126.0.0/255.255.255.0(ro,sync,no_root_squash) /diskless/Centos6.2/root/ 192.168.0.0/255.255.255.0(ro,sync,no_root_squash) /diskless/Centos6.2/snapshot/ 10.30.22.0/255.255.255.0(rw,sync,no_root_squash) /diskless/Centos6.2/snapshot/ 137.155.2.0/255.255.255.0(rw,sync,no_root_squash) /diskless/Centos6.2/snapshot/ 10.124.0.0/255.255.255.0(rw,sync,no_root_squash) /diskless/Centos6.2/snapshot/ 10.126.1.0/255.255.255.0(rw,sync,no_root_squash) /diskless/Centos6.2/snapshot/ 10.126.0.0/255.255.255.0(rw,sync,no_root_squash) /diskless/Centos6.2/snapshot/ 192.168.0.0/255.255.255.0(rw,sync,no_root_squash) /usr/local/coda 10.30.22.0/255.255.255.0(fsid=0,rw,sync,no_root_squash) /usr/local/coda 137.155.2.0/255.255.255.0(fsid=0,rw,sync,no_root_squash) /usr/local/coda 10.124.0.0/255.255.255.0(fsid=0,rw,sync,no_root_squash) /usr/local/coda 10.126.1.0/255.255.255.0(fsid=0,rw,sync,no_root_squash) /usr/local/coda 10.126.0.0/255.255.255.0(fsid=0,rw,sync,no_root_squash) /usr/local/coda 192.168.0.0/255.255.255.0(fsid=0,rw,sync,no_root_squash) /home 10.30.22.0/255.255.255.0(fsid=1,rw,sync,no_root_squash) /home 137.155.2.0/255.255.255.0(fsid=1,rw,sync,no_root_squash) /home 10.124.0.0/255.255.255.0(fsid=1,rw,sync,no_root_squash) /home 10.126.1.0/255.255.255.0(fsid=1,rw,sync,no_root_squash) /home 10.126.0.0/255.255.255.0(fsid=1,rw,sync,no_root_squash) /usr/lib/jvm 10.30.22.0/255.255.255.0(rw,sync,no_root_squash) /usr/lib/jvm 137.155.2.0/255.255.255.0(rw,sync,no_root_squash) /usr/lib/jvm 10.124.0.0/255.255.255.0(rw,sync,no_root_squash) /usr/lib/jvm 10.126.1.0/255.255.255.0(rw,sync,no_root_squash) /usr/lib/jvm 10.126.0.0/255.255.255.0(rw,sync,no_root_squash) /usr/lib/jvm 192.168.0.0/255.255.255.0(rw,sync,no_root_squash) /diskless/CentOS7/x86_64/root jlabvme(rw,no_root_squash,async) /diskless/CentOS7/x86_64/snapshot jlabvme(rw,no_root_squash,async) /diskless/CentOS7/x86_64/home jlabvme(fsid=0,rw,no_root_squash,async)
fstab File (updated) edit
# # /etc/fstab # Created by anaconda on Mon Oct 28 19:02:20 2024 # # Accessible filesystems, by reference, are maintained under '/dev/disk/'. # See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info. # # After editing this file, run 'systemctl daemon-reload' to update systemd # units generated from this file. # /dev/mapper/almalinux-root / xfs defaults 0 0 UUID=303b53aa-6a16-439e-b432-1569b16a4a60 /boot xfs defaults 0 0 /dev/mapper/almalinux-home /localhome xfs defaults 0 0 /dev/mapper/almalinux-swap none swap defaults 0 0 jlabdaq:/home /home nfs defaults 0 0 jlabdaq:/home /diskless/CentOS7/x86_64/home nfs defaults 0 0 jlabdaq:/usr/local/coda /usr/local/coda nfs defaults 0 0 #jlabdaq:/usr/lib/jvm /usr/lib/jvm nfs defaults 0 0
Environment Variables On jlabvme (coda_Luter345) edit
Location: Computer: jlabvme User: root Directory: /root File: coda_Luter345
#!/bin/csh setenv JAVA_HOME /usr/lib/jvm/java-1.6.0 setenv CODA /usr/local/coda/2.6.2 echo Setting up coda 2.6.2 from ${CODA} source $CODA/.setup setenv MSQL_TCP_HOST <jlabdaq.pcs.cnu.edu> setenv MSQL_HOME /<daqhome>/<codauser>/<msql> setenv EXPID <PCSE> setenv SESSION <Luter345> setenv KILL_CODA_SCRIPT setenv CODA_DIRECTORY /<daqhome>/<codauser>/<CODA> setenv CODA_DATA /<daqhome>/<codauser>/<CODA>/data # CODA 3 Run Control setenv AFECS_HOME ${CODA}/afecs-1.4 echo AFECS Home set to $AFECS_HOME setenv CMSG_HOME ${CODA}/cMsg setenv COOL_HOME ${CODA_DIRECTORY}/cool setenv RCREMLOG ${CODA_DIRECTORY} setenv CODA_DB_DRIVER com.imaginary.sql.msql.MsqlDriver setenv CODA_DB_URL jdbc:msql://${MSQL_TCP_HOST}:8101/$EXPID setenv CODA_DB_USER coda setenv CODA_DB_PASSWORD setenv PATH ${AFECS_HOME}/bin:${JAVA_HOME}/bin:$PATH echo done.
setLuter345.sh edit
Location: Computer: jlabvme User: root Directory: /root File: setLuter345.sh
source /root/coda_Luter345 setenv ARCH Linux setenv LINUXVME_HOME /home/adaq/linuxvme setenv LINUXVME_LIB ${LINUXVME_HOME}/lib setenv LINUXVME_INC ${LINUXVME_HOME}/include setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:${LINUXVME_HOME}/lib:${LINUXVME_HOME}/tir:${LINUXVME_HOME}/ti:${LINUXVME_HOME}/jvme:${LINUXVME_HOME}/tsUtil
Startcoda Script (updated) edit
Location: Computer: jlabdaq User: <codauser> Directory: ~/bin File: startcoda
#!/bin/bash echo Starting ET system ... xterm -bg yellow -fg blue -geometry 96x12-0+0 -e $SHELL -c '$SHELL -c "rm /tmp/et_sys_$SESSION; echo Starting ET Process; et_start"; read' & echo Starting rcplatform ... xterm -bg yellow -fg blue -geometry 96x12-0+192 -e $SHELL -c '$SHELL -c "echo Starting rcplatform; rcplatform"; read' & echo Waiting ... sleep 10 echo Continuing ... echo Starting coda_*_rc3 processes ... xterm -bg white -fg blue -geometry 96x12+0+0 -e $SHELL -c '$SHELL -c "echo Starting coda_eb_rc3; coda_eb_rc3 -i -s $SESSION -name EB1 -type CDEB"; read' & xterm -bg white -fg blue -geometry 96x12+0+192 -e $SHELL -c '$SHELL -c "echo Starting coda_er_rc3; coda_er_rc3 -i -s $SESSION -name ER1 -type ER"; read' & xterm -bg white -fg blue -geometry 96x12+0+384 -e $SHELL -c '$SHELL -c "echo Starting coda_roc_rc3; ssh -t root@jlabvme coda_roc_rc3 -i -s $SESSION -name ROC1 -type ROC"; read' & echo Waiting ... sleep 5 echo Starting rcgui ... rcgui &
Killcoda Script (updated) edit
Location: Computer: jlabdaq User: <codauser> Directory: ~/bin File: killcoda
#!/bin/bash echo Killing ET system ... ps wwwaux | grep et_start | awk '{print $2}' | xargs kill -9 & echo Killing rcplatform ... ps wwwaux | grep rcplatform | awk '{print $2}' | xargs kill -9 & echo Waiting ... sleep 1 echo Continuing ... echo Killing coda_*_rc3 processes ... ps wwwaux | grep coda_eb_rc3 | awk '{print $2}' | xargs kill -9 & ps wwwaux | grep coda_er_rc3 | awk '{print $2}' | xargs kill -9 & ps wwwaux | grep coda_roc_rc3 | awk '{print $2}' | xargs kill -9 & echo Waiting ... sleep 1 echo Killing rcgui ... ps wwwaux | grep rcgui | awk '{print $2}' | xargs kill -9 & #wait