11
IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls

IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls

Embed Size (px)

Citation preview

Page 1: IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls

IRMIS 2 Overview

Andrew Johnson

Computer Scientist, AES Controls

Page 2: 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…

Page 3: IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls

IRMIS2 User InterfaceUser 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 aoiExist aoiMedm pvUsage

Page 4: IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls

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

Page 5: IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls

IRMIS2 Database Schema

mfg

machine

ioc_stcmd_lineioc_statusioc_resource_type

Ioc_resource_history

ioc_resource

ioc_error_message

ioc_error

ioc_boot

ioc

group_name

function

form_factor

fld_type_history

fld_type

fld_history

fld

doc_type

criticality_type

conductor

component_type_status

component_type_person

component_type_if_type

component_type_if

component_type_function

component_type_document

component_type

component_state_category

component_rel_type

vuri_relcomponent_port_type

rec_type_dev_supaudit_action

component_semaphore

personaoi

person_groupaoi_crawler

component_state

component_rel

vuricomponent_port_template

uri_historycomponent_port

uricomponent_instance_state

technical_systemcomponent_instance

servercomponent

role_namechc_beamline_interest

rolecable

rec_type_historybase_component_type

rec_type_dev_sup_historyaudit_action_type

rec_typeaps_ioc

rec_historyaps_component

rec_client_typeaoi_topdisplay

rec_clientaoi_techsys

rec_alias_historyaoi_status

rec_aliasaoi_plc_stcmd_line

recaoi_note

port_pin_typeaoi_machine

port_pin_templateaoi_ioc_stcmd_line

port_pin_designatoraoi_epics_record

port_pinaoi_document

plcaoi_criticality83 Database Tables 25 tables automatically populated by crawlers

Page 6: IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls

Installed Components Viewer

Page 7: IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls

Unix Line Command tool ‘pvUsage’

$ pvUsage L1:RFG:DC3ARF.TGTM VM:01:2IP6ID1 ID01ds:DeviceEnbl%

L1:RFG:DC3ARF.TGTM PV link usage ioclid1 L1:RFG:DC3BRF.TKPV L1:RFG:DC3ARF.TGTM NPP NMS CA client usage MEDM L1:RFG:DC3ARF.TGTM /usr/local/iocapps/adlsys/linac/L1_RF_D1_mon_1.adl L1:RFG:DC3ARF.TGTM /usr/local/iocapps/adlsys/linac/L1_RF_D1_mon_2.adl VM:01:2IP6ID1 No PV link usage found CA client usage MEDM VM:01:2IP6ID1.SET1 /usr/local/iocapps/adlsys/sr/vacApp/srHex01-05.adl VM:01:2IP6ID1.VAL /usr/local/iocapps/adlsys/sr/vacApp/srHex01-05.adl Alarm Handler VM:01:2IP6ID1.VAL /usr/local/iocapps/opsys/asdops/alh/SJ_SR_Vacuum.alhConfig VM:01:2IP6ID1.VAL /usr/local/iocapps/opsys/asdops/alh/Shutdown1.alhConfig sddslogger VM:01:2IP6ID1.VAL /home/helios/oagData/dataLoggerConfig/timeSeries.sdds ID01ds:DeviceEnbl% PV link usage iocid01 ID01ds:DeviceEnable.FLNK ID01ds:DeviceEnblRdbk.PROC CA client usage MEDM ID01ds:DeviceEnblRdbk.VAL /usr/local/iocapps/adlsys/sr/id/GlobalIDEnable.adl ID01ds:DeviceEnblStat.VAL /usr/local/iocapps/adlsys/sr/id/IDStatus.adl 'ID=01ds,

M=2, D=1' /usr/local/iocapps/adlsys/sr/id/IDStatus.adl '' /net/helios/iocapps/adlsys/sr/id/2_Motor_Encoders.adl

Page 8: IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls

APS Controls Infrastructure Monitoring System Nagios User Interface

Page 9: IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls

Global Search Tool

IRMIS AOI Viewer

PHP MySQL

AJAX PHP MySQL

AJAX PHP MySQL

AJAX PHP MySQL

A one-stop global search tool for the entire IRMIS database.

GUI uses AJAX technology.

Includes a two-tier level of displayed search results and a database data integrity validation and reporting mechanism.

Global Search Tool Viewer

Page 10: IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls

XML protocol (REST style WS)

IRMIS 3 – Data Service Architecture

Web applicationsWeb applications

JavaScript bridgeJavaScript bridge Applets and Widgets

Applets and Widgets

Java Client APIJava Client API

Data Service layerData Service layer

Database layerDatabase layer

Page 11: IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls

IRMIS Contact Information

Don Dohan, Brookhaven National Laboratory <[email protected]> Gabriele Carcassi, Brookhaven National Laboratory <[email protected]> Debby Quock, Argonne National Laboratory <[email protected]>