IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls
Integrated Relational Model of Installed Systems (IRMIS) Relational database used to describe how EPICS process variables are integrated with accelerator controls hardware components and controls software applications Collaboration effort from several institutions: GANIL, Canadian Light Source, TRIUMF, SLAC, BESSY, SNS, PSI and others Use Cases: – Cabling – Vacuum – Beam Lines – Power Supplies – Accelerator Physics – IOC Architecture – More…
IRMIS 2 User Interface User Viewers Global Search Tool AOI IOC PLC Component Type Network Info Racks Info Controls Spares More… User Editors AOI PLC Component History Installed Components Cables Unix Line Command aoi. Exist aoi. Medm pv. Usage
Other ways of getting data into the IRMIS database… …Automated Software Crawlers 7 Main Crawlers to Date – PV • Record definitions loaded by IOCs – Sequence • Sequence programs running on IOCs – ADL • Operator displays (MEDM) – ALH • EPICS alarm handler – AOI • Applications Organizing Index – Network – SDDS • Self-Describing Data Set toolkit
IRMIS 2 Database Schema 83 Database Tables 25 tables automatically populated by crawlers
Installed Components Viewer
Unix Line Command tool ‘pv. Usage’ $ pv. Usage L 1: RFG: DC 3 ARF. TGTM VM: 01: 2 IP 6 ID 1 L 1: RFG: DC 3 ARF. TGTM PV link usage ioclid 1 L 1: RFG: DC 3 BRF. TKPV CA client usage MEDM L 1: RFG: DC 3 ARF. TGTM VM: 01: 2 IP 6 ID 1 No PV link usage found CA client usage MEDM VM: 01: 2 IP 6 ID 1. SET 1 VM: 01: 2 IP 6 ID 1. VAL Alarm Handler VM: 01: 2 IP 6 ID 1. VAL sddslogger VM: 01: 2 IP 6 ID 1. VAL ID 01 ds: Device. Enbl% L 1: RFG: DC 3 ARF. TGTM NPP NMS /usr/local/iocapps/adlsys/linac/L 1_RF_D 1_mon_1. adl /usr/local/iocapps/adlsys/linac/L 1_RF_D 1_mon_2. adl /usr/local/iocapps/adlsys/sr/vac. App/sr. Hex 01 -05. adl /usr/local/iocapps/opsys/asdops/alh/SJ_SR_Vacuum. alh. Config /usr/local/iocapps/opsys/asdops/alh/Shutdown 1. alh. Config /home/helios/oag. Data/data. Logger. Config/time. Series. sdds ID 01 ds: Device. Enbl% PV link usage iocid 01 ID 01 ds: Device. Enable. FLNK ID 01 ds: Device. Enbl. Rdbk. PROC CA client usage MEDM ID 01 ds: Device. Enbl. Rdbk. VAL /usr/local/iocapps/adlsys/sr/id/Global. IDEnable. adl ID 01 ds: Device. Enbl. Stat. VAL /usr/local/iocapps/adlsys/sr/id/IDStatus. adl 'ID=01 ds, M=2, D=1' /usr/local/iocapps/adlsys/sr/id/IDStatus. adl '' /net/helios/iocapps/adlsys/sr/id/2_Motor_Encoders. adl
APS Controls Infrastructure Monitoring System Nagios User Interface
Global Search Tool Viewer Global Search Tool A one-stop global search tool for the entire IRMIS database. GUI uses AJAX technology. AJAX PHP My. SQL Includes a two-tier level of displayed search results and a database data integrity validation and reporting mechanism. AJAX PHP My. SQL IRMIS AOI Viewer
IRMIS 3 – Data Service Architecture Web applications Java. Script bridge Applets and Widgets Java Client API XML protocol (REST style WS) Data Service layer Database layer
IRMIS Contact Information Don Dohan, Brookhaven National Laboratory Gabriele Carcassi, Brookhaven National Laboratory Debby Quock, Argonne National Laboratory