Channel Access Archiver EPICS Meeting May 2002 Berlin Thomas Birke Toolkit Structure Toolkit Components I/O Library ArchiveEngineArchiveManager ArchiveExport.

Slides:



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

Usage of the memoQ web service API by LSP – a case study
1 1999/Ph 514: Channel Access Concepts EPICS Channel Access Concepts Bob Dalesio LANL.
A new Network Concept for transporting and storing digital video…………
IWay Service Manager 6.1 Product Update Scott Hathaway iWay Software Copyright 2010, Information Builders. Slide 1.
Archive Systems What you always wanted to know but were afraid to ask: What’s available? Who’s doing what? PAL EPICS Meeting Oct
An Adaptable Benchmark for MPFS Performance Testing A Master Thesis Presentation Yubing Wang Advisor: Prof. Mark Claypool.
Software Frameworks for Acquisition and Control European PhD – 2009 Horácio Fernandes.
Department of Computer Science and Engineering, CUHK 1 Final Year Project 2003/2004 LYU0302 PVCAIS – Personal Video Conference Archives Indexing System.
The EPICS Channel Archiver Timothy Graber The Center for Advanced Radiation Sources The University of Chicago EPICS "Getting Started" Lecture Series August.
DØ Channel Archiver Tutorial V.Sirotenko, 4/4/2001.
Centralized SIM Server for iGATE/VoIPBOX GSM FX / UMTS systems
Linux Operations and Administration
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
Performance Testing of DDN WOS Boxes Shaun de Witt, Roger Downing Future of Big Data Workshop June 27 th 2013.
CERN - IT Department CH-1211 Genève 23 Switzerland t Monitoring the ATLAS Distributed Data Management System Ricardo Rocha (CERN) on behalf.
From the ChannelArchiver to the Best Ever Archive Utility, Yet July 2009.
Copyrighted material John Tullis 9/17/2015 page 1 04/08/00 Team Projects John Tullis DePaul Instructor
History Server & API Christopher Larrieu Jefferson Laboratory.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio - Introduction.
Chapter 9 Scripting RMAN. Background Authors felt that scripting was a topic not covered well Authors wanted to cover both Unix/Linux and Windows environments.
Stanford Linear Accelerator Center November 15, 2000Lee Ann Yasukawa1 Archive Data to ORACLE The Prototype PEPII model.
Imperial College Tracker Slow Control & Monitoring.
COLD FUSION Deepak Sethi. What is it…. Cold fusion is a complete web application server mainly used for developing e-business applications. It allows.
Department of Computer Science and Engineering, CUHK 1 Final Year Project 2003/2004 LYU0302 PVCAIS – Personal Video Conference Archives Indexing System.
HPS Online Software Discussion Jeremy McCormick, SLAC Status and Plans.
All rights reserved, property and © CAD Computer GmbH & Co.KG 2009 Cover page.
Dirk Zimoch, Pikett Training Channel Access Gateway.
Berliner Elektronenspeicherringgesellschaft für Synchrotronstrahlung mbH (BESSY) CA Proxy Gateway Status and Plans Ralph Lange, BESSY.
Thomas Jefferson National Accelerator Facility Page 1 Slow Controls Ken Livingston University of Glasgow.
All rights reserved, property and © CAD Computer GmbH & Co.KG 2009 Cover page.
Update on a New EPICS Archiver Kay Kasemir and Leo R. Dalesio 09/27/99.
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.
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.
Module 10 Administering and Configuring SharePoint Search.
XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser Matthias Clausen, DESY XFEL Refrigerator Controls – April CSS Core Applications.
Spring 2003 EPICS Collaboration Controls Group CZAR 2.0 (in development) Christopher A. Larrieu Chris Slominski.
Petra III Status Teresa Núñez Hasylab-DESY Tango Meeting DESY,
Epics Archiving at DESY Albert Kagarmanov (IHEP Protvino Russia) Matthias Clausen (DESY Hamburg Germany)
Controls Group Archiving at Jefferson Lab (Presentation of work by Chris Larrieu)
BOĞAZİÇİ UNIVERSITY DEPARTMENT OF MANAGEMENT INFORMATION SYSTEMS MATLAB AS A DATA MINING ENVIRONMENT.
06-1L ASTRO-E2 ASTRO-E2 User Group - 14 February, 2005 Astro-E2 Archive Lorella Angelini/HEASARC.
Channel Archiver Oct 2000 Kay-Uwe Kasemir, LANL. Channel Archiver Generic archiving system for EPICS Stores independent “Channels” = any Process Variable.
INFSO-RI Enabling Grids for E-sciencE ARDA Experiment Dashboard Ricardo Rocha (ARDA – CERN) on behalf of the Dashboard Team.
07/21/97 MOSS Project Introduction and Definition -Senior Project-
Reconfigurable Communication Interface Between FASTER and RTSim Dec0907.
Distributed Logging Facility Castor External Operation Workshop, CERN, November 14th 2006 Dennis Waldron CERN / IT.
StripHistoryTool new features M. Clausen, Albert Kagarmanov EPICS workshop Trieste’99 1 Strip History Tool new features Matthias Clausen, Albert Kagarmanov.
Steven Perry Dave Vieglais. W a s a b i Web Applications for the Semantic Architecture of Biodiversity Informatics Overview WASABI is a framework for.
FTS monitoring work WLCG service reliability workshop November 2007 Alexander Uzhinskiy Andrey Nechaevskiy.
1 Channel Access Concepts – IHEP EPICS Training – K.F – Aug EPICS Channel Access Concepts Kazuro Furukawa, KEK (Bob Dalesio, LANL)
Channel Archiver Overview Jan Channel Archiver Channel Access client Stores samples in disk files Design target: handle values/sec Documentation,
UNICOS LHCLoggingDB Josef Hofer EN/ICE/SCD. Agenda The LHC Logging Database Purpose of the LHCLogging component Basic concepts Advanced concepts Logging.
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.
Berliner Elektronenspeicherringgesellschaft für Synchrotronstrahlung mbH (BESSY) CA Gateway Update Ralph Lange, BESSY Ken Evans Jr., APS Jeff Hill, LANL.
© 2006 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice Database Growth: Problems & Solutions.
Implementation and Testing of RDB Channel Archiver with MySQL Richard Ma, DePauw University Supervisor: Richard Farnsworth, Argonne National Laboratory.
Cover page.
RecTech - Associated Recreation Council
Channel Archiver Kay-Uwe Kasemir, LANL
Ralph Lange EPICS Seminar IHEP Beijing 2002
Channel Access Concepts
European Spallation Source Archiving Service
Channel Access Concepts
Presentation transcript:

Channel Access Archiver EPICS Meeting May 2002 Berlin Thomas Birke Toolkit Structure Toolkit Components I/O Library ArchiveEngineArchiveManager ArchiveExport / CGIExport CAManager / CAbgManager casi Work in Progress

Channel Access Archiver EPICS Meeting ‘02 Berlin Thomas Birke BESSY Toolkit Structure LibIO (C++) LibIO (C++) ArchiveEngine Archive Config casi (swig) Tcl Perl Python xarr StripTool WinBrowser ArchiveExport CGIExport ArchiveManager CA CAManager Online Access to Excel/GNUplot… Graphic Retrieval extract, merge, delete some examples provided

Channel Access Archiver EPICS Meeting ‘02 Berlin Thomas Birke BESSY Toolkit Components I/O Library read/write from/to archives of any flavor ArchiveEngine collect data from CA and write these into an archive ArchiveManager maintain archives ArchiveExport, CGIExport export data in various formats casi access the I/O Library from scripting languages CAManager create/manage archivers and keep them running

Channel Access Archiver EPICS Meeting ‘02 Berlin Thomas Birke BESSY I/O Library Read/write from/to any archive Class library to represent an archive Archive, Channel, Value, ControlInfo, Iterators… Basic I/O-functionality No filtering, preprocessing, data-dependant access… Access via channel and point in time Store/retrieve data from external storage BinArchive, OracleArchive, SDDSArchive… Internal layout currently taylored to BinArchive

Channel Access Archiver EPICS Meeting ‘02 Berlin Thomas Birke BESSY ArchiveEngine Collect data via ChannelAccess Frequency based or monitored Writes into archive periodically Archiving of a group may be switched (disabled/enabled) with a PV Simple Web-interface to view status and add more channels

Channel Access Archiver EPICS Meeting ‘02 Berlin Thomas Birke BESSY ArchiveManager Low-level management functions Show information (# of channels, min/max timestamp...) Test integrity Dump values for a channel Export data into another archive Read ASCII-file of data into archive Compare archives Rename a channel Delete a channel

Channel Access Archiver EPICS Meeting ‘02 Berlin Thomas Birke BESSY ArchiveExport Export data in various target formats GNUplot Excel (CSV) Matlab Output is ASCII Additional exporters to any format can be added

Channel Access Archiver EPICS Meeting ‘02 Berlin Thomas Birke BESSY CGIExport Same Functionality as ArchiveExport GNUplot Spreadsheet/Excel Matlab Gives access to archived data over the web No data reduction (except for preview) GNUplot output “optimized” but auto-scales y-axis Stateless queries Temporary files impact performance

Channel Access Archiver EPICS Meeting ‘02 Berlin Thomas Birke BESSY CGIExport firstminmaxlast BucketingValueIterator reduces data on retrieval in a way that at most four values (first, min, max and last) per “bucket” (a timeslice) are returnedExamplew/ow/ ArchiveExport~30s~5s resulting file-size~20MB~80kB GNUplot~11s~0.5s CGIExport~45s~7s

Channel Access Archiver EPICS Meeting ‘02 Berlin Thomas Birke BESSY casi - Channel Archiver Scripting Interface Interface to Perl, Python, Tcl Access to all classes/functions of I-/O library Archive – open, close, getChannel…, addChannel, … Channel – next, prev, getValue…, addValue, … Value – next, prev, [gs]etValue, [gs]etCtrlInfo, … ControlInfo – [gs]et(Status, Severity, …), … Read/write data to archives Create archives

Channel Access Archiver EPICS Meeting ‘02 Berlin Thomas Birke BESSY casi – a Python example 1: # USAGE: xample.py 2: # copy channels in archive, but reduce values using simple deadband-algorithm 3: 4: import sys 5: from casi import * 6: 7: cmd, source, target, pattern, delta = sys.argv # get cmdline-args 8: 9: s_arc = archive(); t_arc = archive() 10: s_chan = channel(); t_chan = channel() 11: s_val = value(); t_val = value() 12: 13: s_arc.open(source) # read-only access 14: t_arc.write(target, 24) # write access, 24 hours per file 15: 16: s_arc.findChannelByPattern(pattern, s_chan) 17: while s_chan.valid(): 18: t_arc.addChannel(s_chan.name(), t_chan) # create channel in target 19: t_arc.newValue(DBR_TIME_FLOAT, 1, t_val) # create value in target 20: s_chan.getFirstValue(s_val) 21: firstval = 1 22: while s_val.valid(): 23: t_val.clone(s_val) # copy all info about s_val 24: if (s_val.isInfo()): # info (ARCHIVE_OFF, DISCONNECT...) 25: t_chan.addValue(t_val) # copied 26: firstval = 1 27: elif ((s_val.ntype() == DBR_TIME_FLOAT) and (s_val.count() == 1)): # process only floats 28: if (firstval or (abs(lastval - s_val.get()) >= float(delta))): 29: t_chan.addValue(t_val) 30: lastval = t_val.get() 31: firstval = 0 32: s_val.next() 33: s_chan.next()

Channel Access Archiver EPICS Meeting ‘02 Berlin Thomas Birke BESSY CAManager Two processes CAManager with GUI, CAbgManager without Manage archives and archivers (no retrieval!) Configure ArchiveEngines host, port, files, directories, schedule… Starts/Stops/Restarts ArchiveEngines Current status via http-interface Runs on Windows and Unix Access to ArchiveManager and ArchiveExport test/info, export data to spreadsheet, GNUplot, Matlab or another archive, rename/delete channels from archive

Channel Access Archiver EPICS Meeting ‘02 Berlin Thomas Birke BESSY CAManager Overview of configured archivers Start/stop archivers manually Block archivers from being started/stopped Access ArchiveManager and ArchiveExport Simple configuration file editor

Channel Access Archiver EPICS Meeting ‘02 Berlin Thomas Birke BESSY CAManager Host, port, description, config-file Schedule hour, day, week, month - start at x, every y from – to, always or no schedule at all en-/disable online-config Use cvs for config-files Archive- and log-file %-substitution MultiArchive

Channel Access Archiver EPICS Meeting ‘02 Berlin Thomas Birke BESSY CAbgManager Background process (no GUI) Status via web-interface Starts/stops/restarts archivers according to required schedule Prepares directories Checks online config-changes into CVS and uses new config for next start Updates all MultiArchives that are affected

Channel Access Archiver EPICS Meeting ‘02 Berlin Thomas Birke BESSY Work in Progress ORACLE – an alternative to BinArchive Motivation Archives hold important data not only covering measurements but also long-term surveillance of a machine Keep data in a reasonable resolution online forever BESSY e.g: 2 years of data -> ~100GB BinArchive First approach: One big archive  Unmaintainable after a few months! Second (and current) approach: weekly archives combined with MultiArchive-functionality  Better, but… … retrieval (still) requires some patience … And retrieval-time scales with time of archived data!!!

Channel Access Archiver EPICS Meeting ‘02 Berlin Thomas Birke BESSY Work in Progress ORACLE – an alternative to BinArchive DB-layer almost done by SLAC Bob Hall, Lee-Ann Yasukawa I/O-library extensions by BESSY Thomas Birke Not yet connected! Planned to run in July Tests/dry-runs are promising Inserting up to ~20k values per second scales with server size Partitioning, Direct-Path inserts, indexing “older” partitions Archive consumes a lot more diskspace estimate is ~4-5 times Access time should be fairly constant benefits from partitioning and indexing Need “real” machine and storage-system Should be able to serve multi-TB-online-archives

Channel Access Archiver EPICS Meeting ‘02 Berlin Thomas Birke BESSY Work in Progress Network API – access remote archives Motivation Perform certain data-reduction on server-side Averaging Any other statistical analysis FFT, … Whatever one may ask for (modular, pluggable…) Reduce amount of data transferred over the net Two approaches DESY – “AAPI” – Albert Kagarmanov et al. Jlab – Corba based? – Chris Larrieu et al.

Channel Access Archiver EPICS Meeting ‘02 Berlin Thomas Birke BESSY Conclusion An awful lot of work has already been done Kay Kasemir et LANL SLAC, DESY, BESSY… Lots of things still to do Trying to create a modular system where Labs may pick/improve/develop features they need and have a core system that works for everyone Let’s work out some directions…