Channel Archiver Introduction 2006

Slides:



Advertisements
Similar presentations
WEB AND WIRELESS AUTOMATION connecting people and processes InduSoft Web Solution Welcome.
Advertisements

Managed by UT-Battelle for the Department of Energy Best Ever Archive Utility, Yet (BEAUtY) Kay Kasemir April 2013.
EPICS Channel Access Overview 2006
Archive Systems What you always wanted to know but were afraid to ask: What’s available? Who’s doing what? PAL EPICS Meeting Oct
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
NLC - The Next Linear Collider Project Lee Ann Yasukawa 05/25/99 NLC Archiving Requirements (Preliminary)
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment, Enhanced Chapter 8: Implementing and Managing Printers.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 8: Implementing and Managing Printers.
Hands-On Microsoft Windows Server 2003 Administration Chapter 6 Managing Printers, Publishing, Auditing, and Desk Resources.
1 The World Wide Web. 2  Web Fundamentals  Pages are defined by the Hypertext Markup Language (HTML) and contain text, graphics, audio, video and software.
The Soft-IOC Based Alarm Handler – an Operations View Pam Gurd October 31, 2007.
Check Disk. Disk Defragmenter Using Disk Defragmenter Effectively Run Disk Defragmenter when the computer will receive the least usage. Educate users.
Web Proxy Server Anagh Pathak Jesus Cervantes Henry Tjhen Luis Luna.
The EPICS Channel Archiver Timothy Graber The Center for Advanced Radiation Sources The University of Chicago EPICS "Getting Started" Lecture Series August.
DEMONSTRATION FOR SIGMA DATA ACQUISITION MODULES Tempatron Ltd Data Measurements Division Darwin Close Reading RG2 0TB UK T : +44 (0) F :
NovaBACKUP 10 xSP Technical Training By: Nathan Fouarge
DØ Channel Archiver Tutorial V.Sirotenko, 4/4/2001.
Overview Print and Document Services Print Management console Printer properties Troubleshooting.
INTRODUCTION TO WEB DATABASE PROGRAMMING
Apache Tomcat Web Server SNU OOPSLA Lab. October 2005.
Managed by UT-Battelle for the Department of Energy Best Ever Archive Utility, Yet Creating a BEAST was easy. BEAUtY seems harder. April.
FALL 2005CSI 4118 – UNIVERSITY OF OTTAWA1 Part 4 Web technologies: HTTP, CGI, PHP,Java applets)
OCLC Online Computer Library Center CONTENTdm Migration Training Craig Yamashita Vice President, Technology and Product Development DiMeMa, Inc. July 2005.
Channel Archiver Stats & Problems Kay Kasemir, Greg Lawson, Jeff Patton Presented by Xiaosong Geng (ORNL/SNS) March 2008.
From the ChannelArchiver to the Best Ever Archive Utility, Yet July 2009.
History Server & API Christopher Larrieu Jefferson Laboratory.
5 Chapter Five Web Servers. 5 Chapter Objectives Learn about the Microsoft Personal Web Server Software Learn how to improve Web site performance Learn.
Installing and Configuring IIS. Reliable IIS 6.0 uses a new request-processing architecture and application-isolation environment that enables individual.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
Update on a New EPICS Archiver Kay Kasemir and Leo R. Dalesio 09/27/99.
10/13/2015 ©2006 Scott Miller, University of Victoria 1 Content Serving Static vs. Dynamic Content Web Servers Server Flow Control Rev. 2.0.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Oct EPICS Meeting, PAL, Korea Control System Studio Training.
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.
Wir schaffen Wissen – heute für morgen Gateway (Redux) PSI - GFA Controls IT Alain Bertrand Renata Krempaska, Hubert Lutz, Matteo Provenzano, Dirk Zimoch.
General Time Update David Thompson Epics Collaboration Meeting June 14, 2006.
STATE MANAGEMENT.  Web Applications are based on stateless HTTP protocol which does not retain any information about user requests  The concept of state.
Configuring Data Protection Chapter 12 powered by dj.
SNS Alarm System Status Curtis Dunn Control System Suite/Eclipse Frameworks Workshop EPICS Collaboration Meeting June 12-16, 2006.
Spring 2003 EPICS Collaboration Controls Group CZAR 2.0 (in development) Christopher A. Larrieu Chris Slominski.
6/1/2001 Supplementing Aleph Reports Using The Crystal Reports Web Component Server Presented by Bob Gerrity Head.
At the SNS Kay Kasemir, Xiaosong Geng, Dave Purcell ORNL/SNS March 2008.
Channel Access Client Coding 2006
Channel Archiver Oct 2000 Kay-Uwe Kasemir, LANL. Channel Archiver Generic archiving system for EPICS Stores independent “Channels” = any Process Variable.
Module: Software Engineering of Web Applications Chapter 2: Technologies 1.
NASRULLAH KHAN.  Lecturer : Nasrullah   Website :
ROCS Web Based Reporting Tool Using SNS Relational Database By Katia Danilova, Ernest L. Williams Jr. Control Systems group, ASD, SNS.
Student Centered ODS ETL Processing. Insert Search for rows not previously in the database within a snapshot type for a specific subject and year Search.
Applications Kay Kasemir ORNL/SNS Using Information and pictures from Matthias Clausen, Jan Hatje, and Helge Rickens (DESY) October 2007.
CS100 Final Review Study the quizzes Find out what you missed on the midterms.
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.
Channel Access Security 2006 O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 2 Channel Access Security  The IOC Application.
9/21/04 James Gallagher Server-Side: The Basics This part of the workshop contains an overview of the two servers which OPeNDAP has developed. One uses.
Implementation and Testing of RDB Channel Archiver with MySQL Richard Ma, DePauw University Supervisor: Richard Farnsworth, Argonne National Laboratory.
Monitoring Dynamic IOC Installations Using the alive Record Dohn Arms Beamline Controls & Data Acquisition Group Advanced Photon Source.
11 DEPLOYING AN UPDATE MANAGEMENT INFRASTRUCTURE Chapter 6.
Managed by UT-Battelle for the Department of Energy Channel Archiver Update Oct Kay Kasemir
1 Chapter 1 INTRODUCTION TO WEB. 2 Objectives In this chapter, you will: Become familiar with the architecture of the World Wide Web Learn about communication.
ArcGIS for Server Security: Advanced
Cleveland SQL Saturday Catch-All or Sometimes Queries
z/Ware 2.0 Technical Overview
Web Caching? Web Caching:.
Chapter 12: Query Processing
Apache Tomcat Web Server
Channel Archiver Kay-Uwe Kasemir, LANL
EPICS ArchiveViewer Project
Current State - and Replacement
Presentation transcript:

Channel Archiver Introduction 2006

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 2 Basic Pieces of the Channel Archiver  ArchiveEngine  Collect samples as a CA client  Network Data Server  Serve the archived samples  Java Viewer  Plot, …

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 3 ArchiveEngine  Receives data via CA, writes to disk  'Monitored' Mode  Every received sample is written to disk.  Limited by memory used to buffer between disk writes. Configurable, based on estimated period.  'Scanned'  Periodically writes the most recent value to disk.  Internally uses 'get' or also 'monitor'.  Marks repeated values as such to conserve space.

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 4 Engine's XML Configuration File Stuff tx:aiExample 10 tx:setpoint 10 tx:room 60 tx:PID 1 tx:tank 1

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 5 Sampling stores original time stamps!  9.96, 10.98, s ?

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 6 Engine's Web Server for Status  URL of engine’s HTTPD: : :<port  Local machine, default port: "localhost:4812"  Port set via command-line option.  Status & Config., not data!  “Client Pull”: Updates on reload

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 7 Network Data Server  Usually a 'CGI' plug-in to a web server  Hosted by web server, but the result is 'XML-RPC' protocol for special archive client, not HTML.  "Real" web server, not the one inside the engine.  Good, because we can use security mechanisms as common to web servers, get through firewalls, …  Bad, because you have to understand httpd config to get going.

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 8 Idea

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 9 Supported Export Options  Original Time Stamps: ill-suited for Spreadsheets  “Staircase” interpolation, repeat values  Linear Interpolation for given period

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 10 Export for plot  Creates “Plot-Bins” of requested width.  Bins with >2 values replaced by: Initial, min, max, final.  Result: Plots with hardly any visual difference, but a lot less data.

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 11 ArchiveDataServerStandalone  Combines the data server with a simple web server ('abyss') into server for single archive: cd /ade/training/ubuntu_stuff/ext/src/ChannelArchiver/DemoData ArchiveDataServerStandalone abys.conf /ade/training/groups/tx/whereever/index  … as long as you only run one per machine. Otherwise need different abys.conf  Then run viewer: archiveviewer -u &

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 12 Java Data Viewer  Search PV names  Plot, zoom, pan  Multiple axes  Formulas  Export spreadsheet- type text files.

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 13 One Archive = Directory with …  Data files  ' ', …  Index File  'index'  Do not separate these! Data will be lost!  One typically gets more then one  Stop & restart in new directory every week limits possible data loss.  Split config into one engine per sub-system

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 14 How do I look at more than one Archive?  Create 'list' index file  Basically XML file that lists individual index files.  Point data server to that one.  Degrades since each query looks everywhere until something's found.  Problems when same channel in more then one sub- archive.  Run ArchiveIndexTool on 'list' index file  Creates binary index with info from sub-indices.  Optimal for retrieval, but creation takes some time.  Need to re-run index tool when sub-archives change.

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 15 Features support long-term history, not data acquisition for experiments  'Monitored' (with buffer limit) and 'scanned'  'Disabling' feature for groups allows suspension of sampling  Example: Skip power supply data while PS is off.  Not implemented:  'On demand' snapshots to save/restore settings  'triggered': Save A, B, C, … whenever X=2  Also not implemented: pre/post trigger to get detailed samples on some event, while ignoring the rest.  More detailed correlation: Wait for matching time stamps on channels A, B, C, …, and X=2, …

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 16 Missing Data Management Features  Index type in between 'list' and 'binary'  Not as complete as the 'binary' index, but with acceptable creation/update time to allow looking at "everything"  Any type of data compression  (Convenient) ways of deleting selected channel or time range  Replace samples with slower-sampled average or other statistical data.

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 17 More Stuff  ArchiveExport  Command-line data extraction  ArchiveDaemon  Starts/stops/restarts engines automatically  Scripts for copying data, headaches with managing terabytes of data, …  Documentation, Snapshots: Extensions, ChannelArchiver.

O AK R IDGE N ATIONAL L ABORATORY U. S. D EPARTMENT OF E NERGY 18 Acknowledgements  Bob Dalesio implemented the first version  Craig McChesney: data server protocol  Sergei Chevtsov: index file algorithm, Java Archive Viewer (initially w/ Craig)  Thomas Birke, Chris Larrieu, Greg Lawson, Peregrine McGehee, Nick Pattengale, Ernest Williams, Noboru Yamamoto: Ideas and/or code