1 / 16

B est E ver A rchive Ut ility, Y et (BEAUtY)

B est E ver A rchive Ut ility, Y et (BEAUtY). Kay Kasemir kasemirk@ornl.gov April 2013. Previous Setup with Channel Archiver. IOC. “ASCII” Config. Channel Access. History ~2000: Started by Bob Dalesio ~2003: Index Tools, Data Server ~2007: CSS Client. Archive Engine. config.xml.

Download Presentation

B est E ver A rchive Ut ility, Y et (BEAUtY)

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Best Ever Archive Utility, Yet (BEAUtY) Kay Kasemir kasemirk@ornl.gov April 2013

  2. Previous Setup with Channel Archiver IOC “ASCII” Config. Channel Access History ~2000:Started byBob Dalesio ~2003:Index Tools,Data Server ~2007:CSS Client Archive Engine config.xml Binary Data Files Data Server XML-RPC CSS-based OPI

  3. 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

  4. New Setup IOC Channel Access ArchiveEngine Samples Config. config.xml RDB(Oracle/MySQL) Other tools for config & samples EngineConfig -Import CSS-based OPI

  5. RDB Alternatives • Data Browser • read from old Channel Archiver’s ArchiveDataServer.cgi • Read from RDB • use your own site-specific ‘reader’ plugins • Archive Engine • Pluggable Configuration • Pluggable ‘Write’ support

  6. CSS Data Browser Handles Both • New URL • Just one‘RDB’sub-archive • Old and newdata can becombined inone plot

  7. View Archive Data in CSS Data Browser • Open Data Browser Plot • Add PV • If default archive setup lists data source with historic data for the PV, it will be displayed

  8. Searching for PVs in Archive • Open Archive Search View • Data Browser Perspective,or Plot’s context menu • Search for channelsvia pattern • Send to new Data Browser • Via context menu • Send toexisting Plot • Via drag& drop

  9. 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!

  10. Web Interface to Engine Config in RDB • Tomcat/JSP/Servlets to view and edit

  11. Web Config View: Channel Stats

  12. Web Config View: Sample Stats ?? OK

  13. Stats • 34 sample engines, 79400 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 configurationwould likely havefewer samples/sec

  14. RDB Supported • 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 • PostgreSQL support from ITER

  15. Which one to use? • Channel Archiver • Fast • Can’t be maintained • RDB • Slow • Super easy to maintain • Worth a look: • SLAC Archiver Appliance • http://epicsarchiverap.sourceforge.net/ • HyperArchiver • http://www.lnl.infn.it/~epics/joomla/archiver.html • Both of them work with CSS Data Browser

  16. Thanks!

More Related