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.

Slides:



Advertisements
Similar presentations
Epics Configuration Management Steve Hunt v1.0. Goals Maximize control system availability Minimize development cycle time Reduce risk.
Advertisements

SNS Integrated Control System SNS RDB Requirements, wish list, status A little history l Oracle RDB used exclusively by accelerator physics group l JERI.
© 2012 Entrinsik, Inc. Informer Administration Exploring the system menu and functions PRESENTER: Jason Vorenkamp| Informer Software Engineer| March 2012.
CLS Process Variable Database By: Diony Medrano. CLS PV Database - Topics Background Design Constraints Design and Implementation Benefits and Future.
Company Confidential 1 © 2005 Nokia DBUpgradeTool_ ppt / / JMa A Database Upgrade Tool Nokia Networks Jukka Maaranen.
1 1999/Ph 514: Working With an IOC EPICS Working with an IOC Marty Kraimer APS.
PHP and MySQL Database. Connecting to MySQL Note: you need to make sure that you have MySQL software properly installed on your computer before you attempt.
OpenVMS System Management A different perspective by Andy Park TrueBit b.v.
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.
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.
SPEAR PV RDB Database EPICS Collaboration Meeting April 27, SPEAR PV RDB Database Clemens Wermelskirchen.
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.
Input/Output Controller (IOC) Overview Andrew Johnson Computer Scientist, AES Controls Group.
March 20, 2008Electronic Resources and Libraries College Center for Library Automation Tallahassee, FL Susan B. Campbell Susan.
SNS Integrated Control System EPICS IOCs – Relational DB Connectivity Bridge A. Liyu, A. Zhukov.
PostgreSQL and relational databases As well as assignment 4…
 Intro/features  DCBD tool architecture  Software used Dynamic library loader EPICS Device support modules DCDB-server DCDB-client  RPM packages &
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.
– Introduction to the Shell 10/1/2015 Introduction to the Shell – Session Introduction to the Shell – Session 2 · Permissions · Users.
Eurotrace Hands-On The Eurotrace File System. 2 The Eurotrace file system Under MS ACCESS EUROTRACE generates several different files when you create.
S1-1 ADM740, Section 1, June 2007 Copyright  2007 MSC.Software Corporation SECTION 1 Introducing Adams/Car.
PostgreSQL and relational databases As well as assignment 4…
March 9-11 IRMISRon Chestnut SLAC RDB and EPICS The World According to SLAC Ideas and Implementations by: J. Rock, D. Rogind, S. Allison.
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.
The Network Performance Advisor J. W. Ferguson NLANR/DAST & NCSA.
Argonne National Laboratory is managed by The University of Chicago for the U.S. Department of Energy IRMIS Out of the Box.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
Searching Business Data with MOSS 2007 Enterprise Search Presenter: Corey Roth Enterprise Consultant Stonebridge Blog:
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.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
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.
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.
Get your hands dirty cleaning data European EMu Users Meeting, 3rd June. - Elizabeth Bruton, Museum of the History of Science, Oxford
Elder Matias, Diony Medrano, Dong Liu (At Michigan State University - Nov 2011) IRMIS at CLS.
APEL & MySQL Alison Packer Richard Sinclair. APEL Accounting Processor for Event Logs extracts job information by parsing batch system (PBS, LSF, SGE.
1 1999/Ph 514: IOC Development Environment EPICS IOC Development Environment Marty Kraimer APS.
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.
The CLS Centralized Process Variable Database Robby Tanner.
Database Reports and the IOC Crawler Presented by Katia Danilova 09/01/2005.
ACNET to EPICS Meeting SNS Device DB Tools J. Patrick November 4, 2008.
Michele Caselle INFN - BariITS Meeting 4 Jun 2002 LabVIEW&Windows – MySQL interface  SPD database general architecture  LabVIEW – MySQL interface. 
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.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
EPICS Application Development At The Canadian Light Source Glen Wright.
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.
Reliability/ Secure IOC / Outlook M. Clausen / DESY 1 CA-Put Logging BurtSave Warm Reboot Matthias Clausen DESY/ MKS.
1 1999/Ph 514: Flow of Control EPICS Flow of Control Marty Kraimer APS.
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.
Control Systems GroupORNL Extending RdbCore at SNS Jeff Patton March 9-11, 2005 IRMIS Collaboration Meeting.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
ROCS Web Based Reporting Tool Using SNS Relational Database By Katia Danilova, Ernest L. Williams Jr. Control Systems group, ASD, SNS.
A Quick Look at the EPICS IDE Kenneth Evans, Jr. Presented at the EPICS Collaboration Meeting June 13, 2006 Argonne National Laboratory, Argonne, IL.
SNS EPICS Config. Database May 2001 Kay-Uwe Kasemir, LANL.
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.
1 EPICS Flow of Control: EPICS Workshop at IHEP, Beijing, August 2001 EPICS Flow of Control Marty Kraimer APS.
K.Vijayan : RDB for Diamond Control Systems EPICS DB in RDB K.Vijayan June 2006.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio Training - Alarm System.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC , the State of Michigan.
SNS Integrated Control System ORACLE –JERI DB Generation April 27, 2004 Coles Sibley Jeff Patton.
Stephanie Allison Software Mar 2, 2006 IOC Applications Host Applications Directory Structure Environment Setup Issues.
IRMIS at the CLS E. Matias Canadian Light Source November 23, 2017
Control State Definition
IRMIS Crawlers Tutorial
Relational Database Collaboration
IRMIS Technical Details
EPICS IOCs – Relational DB
R.Keitel Epics Collaboration Meeting, Padova, Oct. 2008
Design of a Diversified Router: Project Management
Developments on IRMIS at APS
Presentation transcript:

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 of Energy IRMIS PV Crawler Auto-populating the IRMIS PV Schema

Pioneering Science and Technology Office of Science U.S. Department of Energy 2 IRMIS PV Crawler Requirements -Perl 5 with DBI and DBD:mysql modules -MySQL 4.x (4.1 preferred) -EPICS msi tool (for now…) -Reasonably consistent ioc boot process -Some ability to write/edit perl code - To create *BootScan module - To handle site-specific boot peculiarities

Pioneering Science and Technology Office of Science U.S. Department of Energy 3 IRMIS PV Crawler db.properties path.properties pv_crawler.pl *BootScan Parser DBIDBI bootparams st.cmd dbd db IOC boot file system(s) MySQL ioc Ioc_boot, ioc_resource Rec,fld,…

Pioneering Science and Technology Office of Science U.S. Department of Energy 4 IRMIS PV Crawler What pv_crawler does (every 5 minutes): -Identify ioc’s to be scanned and their last known boot date (ie. APSBootScan.pm or SNSBootScan.pm) -foreach ioc - Check for new boot date If so, insert new ioc_boot record in db and proceed If not, skip to next ioc - Parse st.cmd (collecting all info on dbd and db files) - Check for any dbd or db file time mods If so, insert all pv and field data in db for ioc

Pioneering Science and Technology Office of Science U.S. Department of Energy 5 IRMIS PV Crawler Sample output from test run [bacchus]saunders> pv_crawler.pl --go --boot-scan=APSBootScan --test --debug-level=debug I| |pv crawler beginning usage: msi -V -Ipath... -Msub... -Ssubfile template Specifying path will replace the default '.' stdin is used if template is not given D| |PVCrawlerDBLayer: begin ioc_find D| |iocs to be boot scanned: iocpar01 I| |Processing ioc iocpar01, boot date: I| |Parsing /usr/local/iocapps/R /ioc/par/3/iocBoot/iocpar01/st.cmd D| |script mod time = D| |sl = < cdCommands D| |script mod time = D| |sl = startup = "/net/helios/iocapps/R /ioc/par/3/iocBoot/iocpar01" D| |sl = dbLoadDatabase("dbd/par01App.dbd") D| |parse_function_call D| |function dbLoadDatabase with args ("dbd/par01App.dbd") D| |opening /net/helios/iocapps/R /ioc/par/3/dbd/par01App.dbd D| |sl = dbLoadRecords "par01App/commonDb/par01status.db" D| |parse_function_call D| |function dbLoadRecords with args "par01App/commonDb/par01status.db" D| |calling parse_db with /net/helios/iocapps/R /ioc/par/3/par01App/commonDb/par 01status.db D| |check_for_file_mods(): no record found in db, so return 1 I| |IOC Resources changed: 1, Parse error: 0 I| |Write data to DB I| |pv crawler done

Pioneering Science and Technology Office of Science U.S. Department of Energy 6 IRMIS PV Crawler What info do we store over time for a given IOC? -Boot history - Each new ioc boot is recorded with date, regardless of whether any configuration has changed - If there is an identifiable problem with the boot, or inability to parse it’s configuration, an associated error is recorded -File system resources (only if changed from last crawl) - Path to each dbd and db file that make up configuration, along with file modified date and any text substitutions applied -Record type definitions (dbd) (only if changed from last crawl) - The set of fields defined for each record type at that time -Record definitions (db) (only if changed from last crawl) - Record name, fields and their default/overriden values

Pioneering Science and Technology Office of Science U.S. Department of Energy 7 IRMIS PV Crawler rdbCore PV Schema

Pioneering Science and Technology Office of Science U.S. Department of Energy 8 IRMIS PV Crawler Experience to date -Running continuously for weeks now -No involvement of ioc developers time -All but 3 of 265 IOCs crawled successfully (including soft iocs) -Continual crawler parser improvement required, but has settled down to trivial cases now. -Crawler log raised useful issues for about 16 IOCs - Ioc’s registered as active in ioc table, but were not - Some file system resources unreachable due to perms - Identified ioc’s booting out of home directory - Identified references to non-existent st.cmd, dbd, db files - Fields defined in db files that don’t exist in record type - Identified ioc’s outside of general boot guidelines - Duplicate record definitions