1 BROOKHAVEN SCIENCE ASSOCIATES IRMIS Universal Component Types D. A. Dohan NSLS 2 Brookhaven National Laboratory ICALEPCS 2007.

Slides:



Advertisements
Similar presentations
Configuration management
Advertisements

Configuration management
Control System Studio (CSS)
SNS Integrated Control System SNS RDB Requirements, wish list, status A little history l Oracle RDB used exclusively by accelerator physics group l JERI.
WHAT D IS RAW, UNPROCESSED FACTS AND FIGURES COLLECTED, STORED AND PROCESSED BY COMPUTERS.
CLS Process Variable Database By: Diony Medrano. CLS PV Database - Topics Background Design Constraints Design and Implementation Benefits and Future.
HP Quality Center Overview.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
Maintenance Modifying the data –Add records –Delete records –Update records Modifying the design –Add fields into tables –Remove fields from a table –Change.
EPICS Meeting 2005ORNL Rdb systems at SNS Jeff Patton and cast April 27-29, 2005 EPICS Meeting 2005.
Aki Hecht Seminar in Databases (236826) January 2009
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
Cornell University Library Instruction Statistics Reporting System Members: Patrick Chen (pyc7) Soo-Yung Cho (sc444) Gregg Herlacher (gah24) Wilson Muyenzi.
Software Distribution in Microsoft System Center Configuration Manager v.Next: Part 1.
Chapter 1 Introduction to Databases
Chapter 4 Relational Databases Copyright © 2012 Pearson Education 4-1.
BIS310: Week 7 BIS310: Structured Analysis and Design Data Modeling and Database Design.
PHASE 3: SYSTEMS DESIGN Chapter 7 Data Design.
Database Systems: Design, Implementation, and Management Ninth Edition
Chapter 1 Database Systems. Good decisions require good information derived from raw facts Data is managed most efficiently when stored in a database.
Overview of Mini-Edit and other Tools Access DB Oracle DB You Need to Send Entries From Your Std To the Registry You Need to Get Back Updated Entries From.
SWIS Digital Inspections Project (SWIS DIP) Chris Allen, Information Management Branch California Integrated Waste Management Board November 5, 2008 The.
EPICS Developments at the Australian Synchrotron Contributors: Richard Farnsworth, Andrew C Starritt (Controls Team) Chris Myers & Mike DeSilva (Versi)
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 1 DATABASE SYSTEMS (Cont’d) Instructor Ms. Arwa Binsaleh.
Introduction to Database Systems
2/6/01D-1 © 2001 T. Horton CS 494 Object-Oriented Analysis & Design Using PARTS to Illustrate Requirements Concepts.
Debby Quock November 13, 2012 IRMIS at CLS. IRMIS Currently at CLS PV Crawler –Perl modules that parse EPICS IOC st.cmd, db, and dbd files. Information.
IRMIS 2 Overview Andrew Johnson Computer Scientist, AES Controls.
© 2008 IBM Corporation ® IBM Cognos Business Viewpoint Miguel Garcia - Solutions Architect.
BROOKHAVEN SCIENCE ASSOCIATES High level applications and EPICS control GUOBAO SHEN NSLS-II, Control Group May 4 th, 2009.
I Information Systems Technology Ross Malaga 4 "Part I Understanding Information Systems Technology" Copyright © 2005 Prentice Hall, Inc. 4-1 DATABASE.
IRMIS Status EPICS 2009 Vancouver D. A. Dohan. Outline IRMIS hardware model cable/cable run channel list Equipment Inventory System RDB Domain separation.
1 Schema Registries Steven Hughes, Lou Reich, Dan Crichton NASA 21 October 2015.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
Announcements. Data Management Chapter 12 Traditional File Approach  Structure Field  Record  File  Fixed All records have common fields, and a field.
MIS 327 Database Management system 1 MIS 327: DBMS Dr. Monther Tarawneh Dr. Monther Tarawneh Week 2: Basic Concepts.
1 Database Concepts 2 Definition of a Database An organized Collection Of related records.
(Spring 2015) Instructor: Craig Duckett Lecture 10: Tuesday, May 12, 2015 Mere Mortals Chap. 7 Summary, Team Work Time 1.
Lecture # 3 & 4 Chapter # 2 Database System Concepts and Architecture Muhammad Emran Database Systems 1.
The CLS Centralized Process Variable Database Robby Tanner.
IRMIS: a practical Ansatz for an Accelerator Operations DB? S. Herb,
IRMIS – Introduction - IRMIS collaboration meetings: APS,SNS, CLS, FNAL, TRIUMF, SLAC, DESY - accumulate participant facility data capture requirements.
Chapter 8 Data and Knowledge Management. 2 Learning Objectives When you finish this chapter, you will  Know the difference between traditional file organization.
ACNET to EPICS Meeting SNS Device DB Tools J. Patrick November 4, 2008.
AL-MAAREFA COLLEGE FOR SCIENCE AND TECHNOLOGY INFO 232: DATABASE SYSTEMS CHAPTER 1 DATABASE SYSTEMS Instructor Ms. Arwa Binsaleh.
Management Information Systems, 4 th Edition 1 Chapter 8 Data and Knowledge Management.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
SWIS Digital Inspections Project Chris Allen, Information Management Branch California Integrated Waste Management Board August 22, 2008.
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
Database Management Systems (DBMS)
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
Flat Files Relational Databases
B. Dalesio, N. Arnold, M. Kraimer, E. Norum, A. Johnson EPICS Collaboration Meeting December 8-10, 2004 Roadmap for IOC.
Nanbor Wang, Balamurali Ananthan Tech-X Corporation Gerald Gieraltowski, Edward May, Alexandre Vaniachine Argonne National Laboratory 2. ARCHITECTURE GSIMF:
A U.S. Department of Energy Office of Science Laboratory Operated by The University of Chicago Argonne National Laboratory Office of Science U.S. Department.
Chapter 3: Relational Databases
Database Systems: Design, Implementation, and Management Eighth Edition Chapter 1 Database Systems.
( ) 1 Chapter # 8 How Data is stored DATABASE.
SNS Integrated Control System ORACLE –JERI DB Generation April 27, 2004 Coles Sibley Jeff Patton.
Developing our Metadata: Technical Considerations & Approach Ray Plante NIST 4/14/16 NMI Registry Workshop BIPM, Paris 1 …don’t worry ;-) or How we concentrate.
BROOKHAVEN SCIENCE ASSOCIATES IRMIS Integrated Model of Installed Systems D. Dohan NSLS2 Controls Group EPICS Meeting, Padua, 2008.
IRMIS at the CLS E. Matias Canadian Light Source November 23, 2017
Relational Database Collaboration
IRMIS Technical Details
Databases A brief introduction….
What Do I Want from an RDB?
MANAGING DATA RESOURCES
Lesson 9: GUI HTML Editors and Mobile Web Sites
DATABASES WHAT IS A DATABASE?
Presentation transcript:

1 BROOKHAVEN SCIENCE ASSOCIATES IRMIS Universal Component Types D. A. Dohan NSLS 2 Brookhaven National Laboratory ICALEPCS 2007

2 BROOKHAVEN SCIENCE ASSOCIATES Introduction In an operating facility, the best (and usually the only) indicator of failed hardware is software – an EDM screen, an alarm handler, script, etc. - - what do we mean by ‘hardware’? - - is it possible to have a common definition of ‘hardware’? Universal Component Types  Goal: relate the accelerator software to the hardware 

3 BROOKHAVEN SCIENCE ASSOCIATES The IRMIS component model has been successful in capturing the APS control system hardware and infrastructure. This past year has been a period of data entry, validation, consolidation and collecting new ideas for IRMIS. The component database is now complete, and contains: > 30,000 components ~ 900 component-types primary mechanism for trouble shooting control system problems rich set of applications that use the component database (AOI, idt, gst, CCMS, ioc,… ) The IRMIS component model contains/provides site-neutral component-type definitions exhaustive coverage Universal Component Types

4 BROOKHAVEN SCIENCE ASSOCIATES At NSLS2, we want to leverage off this effort, and to extend the component-type definitions to include: beam delivery components (magnets, bpms, …) – support for machine modeling power supplies beam line components IT plant facilities... Universal Component Types

5 BROOKHAVEN SCIENCE ASSOCIATES What is an IRMIS component-type? - IRMIS components are common, familiar infrastructure elements (rooms, racks), COTS items (chassis, processors, I/O boards), instruments, … - derived by successive system partitioning, until the ‘unit-replaceable’ point is reached. This promotes exhaustive coverage, which is difficult to achieve using a modeling approach. - site independent component type definitions – everyone builds accelerators using the same set of vendor catalogues - the concept of component types began with the idea of EPICS supported devices, and has been generalized to include all infrastructure items needed to operate the facility Universal Component Types

6 BROOKHAVEN SCIENCE ASSOCIATES Component are not objects, classes or devices - no ‘role’ is assigned to components. In IRMIS, a magnet is not treated as something that is a corrector or a bend – it is simply a component whose function it is to convert an electric current into a magnetic field. - no role-based table names – e.g. linac-xxx, etc. Again, this would make the RDB site-specific. - no behavior, methods, etc are assigned to components Universal Component Types

7 BROOKHAVEN SCIENCE ASSOCIATES What is an IRMIS Component-Type?

8 BROOKHAVEN SCIENCE ASSOCIATES What is an IRMIS Component-Type?

9 BROOKHAVEN SCIENCE ASSOCIATES Hierarchical component assembly: Housing: Every component is a member of the housing hierarchy --> every component is housed somewhere, thus has a unique housing parent (which is another component somewhere in the system) Control: Each controlled component has a unique control parent, implying a hierarchy leading ultimately to the IOC or control ‘root’ for the component Power: This hierarchy captures the power distribution grid. This allows the power source for any active component to be traced to the originating switch gear. 3-Hierarchy Component Model

10 BROOKHAVEN SCIENCE ASSOCIATES What is an IRMIS Component-Type?

11 BROOKHAVEN SCIENCE ASSOCIATES What is an IRMIS Component-Type?

12 BROOKHAVEN SCIENCE ASSOCIATES

13 BROOKHAVEN SCIENCE ASSOCIATES Component Types – Wish List

14 BROOKHAVEN SCIENCE ASSOCIATES Component Types – Wish List - requires manual insertion of new component type and device support keys into the master association table. Not so easy (epics version, os, etc) - also nice would be a web app that would allow users to submit device support queries.

15 BROOKHAVEN SCIENCE ASSOCIATES Sharing Component Type Definitions - to model an installed system using the IRMIS component model, you really want to leverage off the APS investment in developing and refining the rich component-type relational schema. - implies a central repository (does not need to be a shareable relational database - can be a flat, csv file from which the local site could generate local RDB) - a mechanism is needed whereby the component-type RDB table can be extended from any site (including the APS) – to prevent a divergence in the component type definitions Sharing Component Types

16 BROOKHAVEN SCIENCE ASSOCIATES Component Types - Extended The IRMIS PV schema is populated by a non-invasive crawler. It provides a global view of the installed EPICS real-time software, inter- IOC/inter-record links, and EPICS client application references to PVs. Widely adopted schema, used in multiple laboratories Attempts to mine the EPICS PV database (dbhcr reports, DTYPS, etc) for hardware information have had limited success. This heuristic approach was used to populate the original APS component database, but only for the controls hierarchy. Housing and power hierarchies were populated with another set of heuristics, also error prone. The rest was done by hand. With the component database in hand --

17 BROOKHAVEN SCIENCE ASSOCIATES Component Types - Extended The IRMIS PV schema is populated by a non-invasive crawler. It provides a global view of the installed EPICS real-time software, inter- IOC/inter-record links, and EPICS client application references to PVs. Widely adopted schema, used in multiple laboratories Attempts to mine the EPICS PV database (dbhcr reports, DTYPS, etc) for hardware information have had limited success. This heuristic approach was used to populate the original APS component database, but only for the controls hierarchy. Housing and power hierarchies were populated with another set of heuristics, also error prone. The rest was done by hand. With the component database in hand --  how do we relate the accelerator software to the hardware? 

18 BROOKHAVEN SCIENCE ASSOCIATES Component Types - Extended

19 BROOKHAVEN SCIENCE ASSOCIATES port port_id PK cmpnt_installation_id FK port_type_id port_name port_order port_id PK cmpnt_installation_id FK port_type_id port_name port_order Component Types - Extended

20 BROOKHAVEN SCIENCE ASSOCIATES port port_id PK cmpnt_installation_id FK port_type_id port_name port_order port_id PK cmpnt_installation_id FK port_type_id port_name port_order Component Types - Extended

21 BROOKHAVEN SCIENCE ASSOCIATES port port_id PK cmpnt_installation_id FK port_type_id port_name port_order port_id PK cmpnt_installation_id FK port_type_id port_name port_order Component Types - Extended

22 BROOKHAVEN SCIENCE ASSOCIATES port port_id PK cmpnt_installation_id FK port_type_id port_name port_order port_id PK cmpnt_installation_id FK port_type_id port_name port_order Component Types - Extended

23 BROOKHAVEN SCIENCE ASSOCIATES  how do we relate the accelerator software to the hardware? 

24 BROOKHAVEN SCIENCE ASSOCIATES port port_id PK cmpnt_installation_id FK port_type_id port_name port_order port_id PK cmpnt_installation_id FK port_type_id port_name port_order rec rec_id PK ioc_boot_id FK rec_nm rec_type_id ioc_resource_id FK rec_id PK ioc_boot_id FK rec_nm rec_type_id ioc_resource_id FK fld fld_id PK rec_id FK fld_type_id FK fld_val ioc_resource_id FK fld_id PK rec_id FK fld_type_id FK fld_val ioc_resource_id FK Component – PV relationships

25 BROOKHAVEN SCIENCE ASSOCIATES port port_id PK cmpnt_installation_id FK port_type_id port_name port_order port_id PK cmpnt_installation_id FK port_type_id port_name port_order rec rec_id PK ioc_boot_id FK rec_nm rec_type_id ioc_resource_id FK rec_id PK ioc_boot_id FK rec_nm rec_type_id ioc_resource_id FK fld fld_id PK rec_id FK fld_type_id fld_val ioc_resource_id FK pin_id FK fld_id PK rec_id FK fld_type_id fld_val ioc_resource_id FK pin_id FK Component – PV relationships (proposal)

26 BROOKHAVEN SCIENCE ASSOCIATES Component – PV relationships (proposal ) Proposal: pv <> pin link entered as.db comment (similar to vdct graphical positioning comment entry) Work flow (new facility): - user ‘installs’ the component into IRMIS. RDB assigns each pin a primary key - EPICS database edit – user must be provided with the ability to drill down to the component pin-out. This primary key is then inserted into.db file. > This could be a plug-in/extension to vdct, or companion gui with cut and paste. (needed only for I/O records)

27 BROOKHAVEN SCIENCE ASSOCIATES Component – PV relationships (proposal ) Legacy site (assuming the component database has been populated) - IRMIS has access to the both the.db file that contains the PV fields and the component ports. Spawn an edit process that updates the.db file. This process could be automated, using existing heuristics, to minimize manual effort - the PV crawler would have to be modified to recognize the component-pin comment field and populate the IRMIS PV database. The correct pv<>pin foreign key relationship would be retained over ioc reboots, where the pv is assigned a new primary key.

28 BROOKHAVEN SCIENCE ASSOCIATES port port_id PK cmpnt_installation_id FK port_type_id port_name port_order port_id PK cmpnt_installation_id FK port_type_id port_name port_order rec rec_id PK ioc_boot_id FK rec_nm rec_type_id ioc_resource_id FK rec_id PK ioc_boot_id FK rec_nm rec_type_id ioc_resource_id FK fld fld_id PK rec_id FK fld_type_id fld_val ioc_resource_id FK pin_id FK fld_id PK rec_id FK fld_type_id fld_val ioc_resource_id FK pin_id FK Component – PV relationships (proposal)

29 BROOKHAVEN SCIENCE ASSOCIATES Summary The IRMIS component/type schema provides an exhaustive description of the accelerator hardware. The schema has been designed to be site neutral – adoption/extension at NSLS2 will be straightforward A mechanism is required whereby new component-types defined at BNL can be merged into a centralized repository. A trivial schema change (which will not break existing IRMIS applications) will provide the bidirectional relationships between EPICS PVs and component hardware.