Managed by UT-Battelle for the Department of Energy Best Ever Archive Utility, Yet Creating a BEAST was easy. BEAUtY seems harder. April.

Slides:



Advertisements
Similar presentations
Managed by UT-Battelle for the Department of Energy Best Ever Archive Utility, Yet (BEAUtY) Kay Kasemir April 2013.
Advertisements

Control System Studio (CSS)
© 2012 Entrinsik, Inc. Informer Administration Exploring the system menu and functions PRESENTER: Jason Vorenkamp| Informer Software Engineer| March 2012.
1 Trieste, April 17 th 2008Lucio Zambon Electronic Graphic Interface for Global Archiving Technology: PHP, MySQL, JavaScript, JPGraph, etc Development.
Best Ever Alarm System Toolkit Kay Kasemir, Xihui Chen, Katia Danilova SNS/ORNL April, 2013.
Update on CSS at SNS Xihui Chen, Kay Kasemir June 2010.
Archive Systems What you always wanted to know but were afraid to ask: What’s available? Who’s doing what? PAL EPICS Meeting Oct
NETOP ONDEMAND What’s new in version 2.1? DECEMBER 09 NETOP ONDEMAND1.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Alarm System Use.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio Training - Alarm System Use.
SubVersioN – the new Central Service at DESY by Marian Gawron.
NovaBACKUP 10 xSP Technical Training By: Nathan Fouarge
DØ Channel Archiver Tutorial V.Sirotenko, 4/4/2001.
CVSQL 2 The Design. System Overview System Components CVSQL Server –Three network interfaces –Modular data source provider framework –Decoupled SQL parsing.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio Training - Workspaces, Shared.
PPOUG, 05-OCT-01 Agenda RMAN Architecture Why Use RMAN? Implementation Decisions RMAN Oracle9i New Features.
Linux Operations and Administration
Scan System Kay Kasemir, Xihui Chen Jan Managed by UT-Battelle for the U.S. Department of Energy Automated Experiment Control “Scan” should be.
Channel Archiver Stats & Problems Kay Kasemir, Greg Lawson, Jeff Patton Presented by Xiaosong Geng (ORNL/SNS) March 2008.
Channel Archiver Introduction 2006
From the ChannelArchiver to the Best Ever Archive Utility, Yet July 2009.
SRUTHI NAGULAVANCHA CIS 764, FALL 2008 Department of Computing and Information Sciences (CIS) Kansas State University -1- Back up & Recovery Strategies.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Ph.D. ORNL/SNS July 2011 at Control System Studio - CSS - Overview.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio - Introduction.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Ph.D. ORNL/SNS July 2011 at Control System Studio - CSS - Overview.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Web OPI.
This material is based upon work supported by the U.S. Department of Energy Office of Science under Cooperative Agreement DE-SC Michigan State.
Running Kuali: A Technical Perspective Ailish Byrne - Indiana University Jay Sissom - Indiana University Foundation.
Stanford Linear Accelerator Center R. Hall/L. Yasukawa1 EPICS Collaboration Mtg May 21, 2002 Oracle Storage for the Channel Archiver Managing Channel Archiver.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
CaDSR Freestyle Search June 11, caDSR Freestyle Search Overview Architecture Implementation Dependencies Futures 2.
Jan Hatje, DESY CSS ITER March 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
Control System Studio (CSS) Overview Kay Kasemir, July 2009.
The CSS Scan System Kay-Uwe Kasemir SNS/ORNL Dec
Stanford Linear Accelerator Center R. D. Hall1 EPICS Collaboration Mtg Oct , 2007 Oracle Archiver Past Experience Lessons Learned for Future EPICS.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Archive System Setup.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio, CSS Overview.
Database Reports and the IOC Crawler Presented by Katia Danilova 09/01/2005.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS With slides from Xihui Chen May 2014 Control System Studio Training.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2011, October at CEA Saclay, France Control System Studio.
Managed by UT-Battelle for the Department of Energy Kay Kasemir, Xihui Chen ORNL/SNS April Control System Studio Training - Development.
Managed by UT-Battelle for the Department of Energy CSS Update Matthias Clausen, Helge Rickens, Jan Hatje and DESY Delphy Armstrong, Xihui Chen,
Running Kuali: A Technical Perspective Ailish Byrne (Indiana University) Jonathan Keller (University of California, Davis)
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, January 9-12 at NSRRC, Taiwan Control System Studio Training.
MySQL Gubbins Richard Sinclair HepSysMan – 11/05/2012.
At the SNS Kay Kasemir, Xiaosong Geng, Dave Purcell ORNL/SNS March 2008.
1 KEKB Archiving Dec Tatsuro KEK.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio, CSS Overview.
9 Copyright © 2009, Oracle. All rights reserved. Deploying and Reporting on ETL Jobs.
Jan Hatje, DESY CSS GSI Feb. 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
ROCS Web Based Reporting Tool Using SNS Relational Database By Katia Danilova, Ernest L. Williams Jr. Control Systems group, ASD, SNS.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, January 9-12 at NSRRC, Taiwan Control System Studio Training.
5 Copyright © 2009, Oracle. All rights reserved. Configuring Essbase Server.
RDB Issues at SLAC Archiver Store General EPICS Support.
UpgradinguPortal to What’s new that matters Better use of third party frameworks Faster! Improved caching Drag and Drop New Skin & Theme Accessibility.
Channel Archiver Overview Jan Channel Archiver Channel Access client Stores samples in disk files Design target: handle values/sec Documentation,
Staging Archived Data at DESY December 2008.
Data Aging - Euthanasia Bob Dalesio. Data Management - Channel Data Allow recovery of unused data space Allow selective delete of channels Allow selective.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS May 2014 Control System Studio Training - Hierarchical Preferences.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio Training - Alarm System.
Implementation and Testing of RDB Channel Archiver with MySQL Richard Ma, DePauw University Supervisor: Richard Farnsworth, Argonne National Laboratory.
Managed by UT-Battelle for the Department of Energy Quest for the Best Ever Alarm System Tool Kay Kasemir Oct
Best Ever Alarm System Toolkit Kay Kasemir, Xihui Chen, Katia Danilova, SNS/ORNL ICALEPCS 2009, Kobe, Japan, Oct 2009.
Introduction to Control System Studio (CSS) Kay Kasemir, Kunal Shroff EPICS Fall Collaboration Meeting, October 2011 PSI.
SNS Integrated Control System ORACLE –JERI DB Generation April 27, 2004 Coles Sibley Jeff Patton.
Managed by UT-Battelle for the Department of Energy Channel Archiver Update Oct Kay Kasemir
Control System Studio (CSS)
Current State - and Replacement
Presentation transcript:

Managed by UT-Battelle for the Department of Energy Best Ever Archive Utility, Yet Creating a BEAST was easy. BEAUtY seems harder. April 2009

2Managed by UT-Battelle for the Department of Energy CSS-based OPI Archive Archive Engine config.xml IOC Binary Data Files Data Server “ASCII” Config. Channel Access XML-RPC Previous Setup History ~2000: Started by Bob Dalesio ~2003: Index Tools, Data Server ~2007: CSS Client

3Managed by UT-Battelle for the Department of Energy Details  Older Java “archive viewer” also available.  Archive Engines running on “sampling” computer, data server on “serving” machine.  Scripts to restart engines, copy data, update indices.  Headaches with data maintenance: –Index time grows with data –Stuck when index files reach 2GB –SNS Users faced with ~80 sub-archives –No clue what needs fixing after network/power problems –No idea who contributes how many samples –No way to remove selected channels or time ranges –Improving on this means implementing an RDB

4Managed by UT-Battelle for the Department of Energy CSS-based OPI ArchiveEngine config.xml IOC RDB (Oracle/MySQL) Channel Access New Setup Samples Config. EngineConfig -Import Other tools for config & samples

5Managed by UT-Battelle for the Department of Energy CSS Data Browser Handles Both  New URL  Just one ‘RDB’ sub-archive  Old and new data can be combined in one plot

6Managed by UT-Battelle for the Department of Energy Configure Sample Engines  Configuration is in RDB –Directly use SQL –EngineConfigImport for legacy config files –View/Edit via web  Hierarchical (as before) –Sampling engine (name, where to run, …)  Groups –Channels  No more duplicate channels!

7Managed by UT-Battelle for the Department of Energy Web Interface to Engine Config in RDB  Tomcat/JSP/Servlets to view and edit

8Managed by UT-Battelle for the Department of Energy Web Config View: Channel Stats

9Managed by UT-Battelle for the Department of Energy Web Config View: Sample Stats OK ??

10Managed by UT-Battelle for the Department of Energy Stats  34 sample engines, channels  Host that runs sampling engine: –CPU load 45%, zero disk I/O wait, very responsive  Oracle performance –8000 samples/sec peak in write tests –Operationally maybe ¼ of that  Better configuration would likely have fewer samples/sec

11Managed by UT-Battelle for the Department of Energy Report Example, SNS Beam Instr. Group  May be SNS-specific, but shows usefulness of data in RDB

12Managed by UT-Battelle for the Department of Energy Summary  Still testing, many Oracle setup issues –Ran since Oct 08, then.. –Oracle cluster setup since ~March –Updated partitioning in April  Plan for about a year now: Make operational in maybe 2 months  Thanks go to –Oracle: Jeff Patton –JSP: Katia Danilova –Beam Instr. Reports: Mariano Padilla, Jeff, Douglas Edwardson –IT: Greg Lawson

13Managed by UT-Battelle for the Department of Energy Stuff

14Managed by UT-Battelle for the Department of Energy Hurdles  Months: Get new Oracle server configured –Interface cards for storage array, fiber switches –Firewall holes for office access, backup, admin  Changes in 10g –SELECT MIN(stamp), MAX(stamp) -> NULL, NULL –No “range” partitioning on Index-Organized-Tables  Configuration issues –ORA-01654: unable to extend … –ORA-00257: archiver error  What used to be impossible is now “easy”, but still expensive –DELETE FROM SAMPLES WHERE …

15Managed by UT-Battelle for the Department of Energy Other Ideas  Jlab’s MyA –Operational, but  Wrapper code around MySQL to create ‘cluster’  Handles less meta info (units, limits, …)  Viewer is one-of C++/TCL/Tk  Gabriele Carcassi mentioned RDDTool –Toolset for logging data with data-aging –Command-line RPN tools, web viewer –May be faster than general-purpose RDB  but lacks advantage of gpp RDB

16Managed by UT-Battelle for the Department of Energy SNS Setup for EngineConfigImport Tool –Imports existing XML config files into RDB –On srv02 in …/imported_config  *.xml files copied from archive1, includes some editing to remove duplicate channels  Review *.log files –'chmk/chmkhebt/PPS_HEBT:PLC_B:Chmk100AlarmContactA’ already in 'pps/pps_hebt’  Maybe edit “your” *.xml file, refer to import.sh to re- import

17Managed by UT-Battelle for the Department of Energy Getting Sources, Building binaries  Get sources from DESY CVS repository –Maybe binaries “real soon” from ChannelArchiver web page  Build binaries –Find somebody who understands “Eclipse RCP”, how to use  org.csstudio.archive.rdb/EngineConfigImport.product  org.csstudio.archive.engine/ArchiveEngine.product  org.csstudio.sns.product/SNS_CSS.product (or DESY CSS.product) –Settings  Compile-time defaults usually in “preferences.ini” and “plugin_customization.ini” files.  Either change, or prepare file for -pluginCustomization command-line option

18Managed by UT-Battelle for the Department of Energy RDB Setup  Currently supported: MySQL or Oracle –Main table difference: Oracle TIMESTAMP has nanosecs, MySQL has separate nanosecs col. –All tools auto-configure based on JDBC URL  Table Schema –ERD, MySQL DBD in org.csstudio.archive.rdb/dbd –Setup for Oracle (table types, partitioning) not final

19Managed by UT-Battelle for the Department of Energy Run Archive Engine  Command-line tool similar to previous engine –More settings (RDB, Logging, JCA/CAJ, …)  Compiled-in defaults from “preferences.ini” and “plugin_customization.ini”  Can specify overrides via -pluginCustomization my_plugin_customization.ini  Mandatory command-line options for instance –engine_name to locate config in RDB –port for consistency, must match settings in RDB  Built-in web server for status, restart, stop:  Empty page (used to be ‘main’)  …./main: Main page  …./reset: Reset statistics  …./restart: Stop, re-read configuration, start again  …./stop: Stop