...
description | cvs root | production directory tree root | details |
---|---|---|---|
IRMIS software | SLAC code has diverged from the original collaboration version, and LCLS IRMIS code has diverged from the main SLAC code (i.e. we have 2 different version of the IRMIS PV crawler.) | CD: |
|
CD scripts | For ease and clarity, the CD scripts are also in the LCLS CVS repository under | /afs/slac/g/cd/tools/irmis |
|
LCLS scripts | /afs/slac/g/lcls/cvs | /usr/local/lcls/tools/irmis |
|
FACET scripts | These scripts share the LCLS repository (different names so they don’t collide with LCLS scripts) | /usr/local/facet/tools/irmis |
|
...
Sometimes an IOC becomes obsolete. Although IOCs are automatically added to the IRMISDB.IOC table when the crawler encounters a new $IOC/<ioc> directory, IOCs are not automatically removed from the system. Typically, an IOC engineer will request that her IOC be removed from the crawler (and hence all current PV and IOC lists, and reports).
To remove an IOC from the active crawler list:
...
- log into mcclogin
- cvs co irmis gui code:
export CVSROOT=/afs/slac/package/epics/slaconly/cvs
cd to a working directory
cvs co -d irmis tools/irmisV2_SLAC - cd irmis
- edit site.build.properties and change this line:
db.trust-read-write.password=newpw - set java environment to version 1.4 (this may not be needed):
export JAVA_HOME=/afs/slac/package/java/@sys/jdk1.4
export JAVA_VER=1.4
export PATH=${JAVA_HOME}/bin:${PATH}
- cd db
- ant clean
- ant deploy
- cd ..
- cp db/build/irmisDb.jar apps/deploy
- cd apps/deploy
- test the gui:
java -jar irmis.jar
The gui should connect to the db. - deploy new jars to production:
scp irmisirmisDb.jar over to /usr/local/lcls/package/irmis/irmisV2_SLAC/apps/deploy/. (this one is used by LCLS and FACET)
cp irmisirmisDb.jar /afs/slac/package/epics/tools/irmisV2_SLAC/apps/deploy/.
*** Please note, the app directory (parallel to the db directory) is not build-able in ant anymore, because of changes in java version syntax and method calls deep in the gui code. Therefore, please follow the directions above to BUILD AND DEPLOY THE DB JAR ONLY!
...
IRMISDB history data cleanup
$TOOLS/irmis/data_cleanup has scripts and a README for cleaning historical IRMIS data. The procedure has been done once in February, 2012.
Description and plans and click IRMIS_database_cleanup
...
SCHEMA DIAGRAM
Anchor | ||||
---|---|---|---|---|
|
...