Managed by UT-Battelle for the Department of Energy Channel Archiver Update Oct. 2008 Kay Kasemir

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.
Managed by UT-Battelle for the Department of Energy Xihui Chen, Kay Kasemir ORNL/SNS April 2013 at IHEP Control System Studio Setup - Hierarchical.
Best Ever Alarm System Toolkit Kay Kasemir, Xihui Chen, Katia Danilova SNS/ORNL April, 2013.
Archive Systems What you always wanted to know but were afraid to ask: What’s available? Who’s doing what? PAL EPICS Meeting Oct
Week 2 IBS 685. Static Page Architecture The user requests the page by typing a URL in a browser The Browser requests the page from the Web Server The.
Report Distribution Report Distribution in PeopleTools 8.4 Doug Ostler & Eric Knapp 7264.
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.
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.
Managed by UT-Battelle for the Department of Energy Best Ever Archive Utility, Yet Creating a BEAST was easy. BEAUtY seems harder. April.
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.
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 ORNL/SNS Jan Control System Studio Training - Web OPI.
M1G Introduction to Database Development 6. Building Applications.
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.
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.
The CSS Scan System Kay-Uwe Kasemir SNS/ORNL Dec
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.
Module 5: Upgrading to SQL Server 7.0. Overview Planning an Upgrade Preparing to Upgrade Verifying the Upgrade Setting a Compatibility Level.
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 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.
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.
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.
LHCb File-Metadata: Bookkeeping Carmine Cioffi Department of Physics, Oxford University UK Metadata Workshop Oxford, 04 July 2006.
Things that we offer Controls Software Team Web-based tools development Xihui Chen, Katia Danilova, Kay Kasemir, Dave Purcell.
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.
SNS EPICS Config. Database Control System Configuration DB Workshop, Sep. Jlab … participants from BESSY, BNL, JLab, PSI IOC DB meeting, Oct. 2-3.
5 Copyright © 2009, Oracle. All rights reserved. Configuring Essbase Server.
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,
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.
SMOOTHWALL FIREWALL By Nitheish Kumarr. INTRODUCTION  Smooth wall Express is a Linux based firewall produced by the Smooth wall Open Source Project Team.
DB Questions and Answers open session (comments during session) WLCG Collaboration Workshop, CERN Geneva, 24 of April 2008.
LAN Bridge Spanning Tree Animation Simon Arlott. Broadcast Networks ● In a broadcast LAN, all packets are sent to all hosts – even if they are not the.
ProgressBook Suite Maintenance
EPICS Channel History Storage
Fundamental of Databases
DEPTT. OF COMP. SC & APPLICATIONS
SQL Replication for RCSQL 4.5
June 2011 David Front Weizmann Institute
Introduction of Week 3 Assignment Discussion
Lecture 1: Multi-tier Architecture Overview
Control System Studio (CSS)
Channel Archiver Kay-Uwe Kasemir, LANL
A Scripting Server for Domain Automation Tasks
Current State - and Replacement
Banafsheh Hajinasab Based on presentation by K. Strnisa, Cosylab
Commissioning the European XFEL cryogenic system and best practice
Presentation transcript:

Managed by UT-Battelle for the Department of Energy Channel Archiver Update Oct Kay Kasemir

2Managed by UT-Battelle for the Department of Energy CSS-based OPI 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 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

6Managed 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

7Managed 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: –Sampling engine (name, where to run, …)  Groups –Channels  No more duplicate channels!

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

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

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

11Managed 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

12Managed by UT-Battelle for the Department of Energy View Data  CSS Data Browser: –As before, just different URL jdbc:oracle …  Web Config View shows some stats  Custom reports based on RDB data

13Managed 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

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 Stats  37 sample engines, channels  Host that runs sampling engine: –CPU load 45%, zero disk I/O wait, very responsive  Oracle performance –8000 samples/sec peak –Sustained maybe ¼ of that  Details of Oracle server load, data storage, backups, network access to data: –No longer have to care

16Managed by UT-Battelle for the Department of Energy Message to take home  All the pieces have been running for a few weeks  Looks more sustainable than previous setup .. but not operational, yet  Thanks go to –Oracle: Jeff Patton –JSP: Katia Danilova –Beam Instr. Reports: Mariano Padilla, Jeff, Douglas Edwardson –IT: Greg Lawson

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

18Managed 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

19Managed 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