Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 1 Archiving ALBA Sergi Rubio Manrique.

Slides:



Advertisements
Similar presentations
Archivage « Contrôle Machine » Groupe Gestion de Données 26 January 2014 Meeting Tango February ESRF Archiving.
Advertisements

Instant JChem - current status and what's coming soon. Tim Dudgeon Solutions for Cheminformatics.
Software change management
Configuration management
CLEARSPACE Digital Document Archiving system INTRODUCTION Digital Document Archiving is the process of capturing paper documents through scanning and.
19/06/2002WP4 Workshop - CERN WP4 - Monitoring Progress report
A new Network Concept for transporting and storing digital video…………
MUNIS Platform Migration Project WELCOME. Agenda Introductions Tyler Cloud Overview Munis New Features Questions.
TAC Vista Security. Target  TAC Vista & Security Integration  Key customer groups –Existing TAC Vista users Provide features and hardware for security.
70-290: MCSE Guide to Managing a Microsoft Windows Server 2003 Environment Chapter 12: Managing and Implementing Backups and Disaster Recovery.
Tango Collaboration Meeting1 Tango C++ Kernel Development J. Meyer European Synchrotron Radiation Facility (ESRF)
Tripwire Enterprise Server – Getting Started Doreen Meyer and Vincent Fox UC Davis, Information and Education Technology June 6, 2006.
Paper on Best implemented scientific concept for E-Governance Virtual Machine By Nitin V. Choudhari, DIO,NIC,Akola By Nitin V. Choudhari, DIO,NIC,Akola.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
Using The WDK For Windows Logo And Signature Testing Craig Rowland Program Manager Windows Driver Kits Microsoft Corporation.
Centralized SIM Server for iGATE/VoIPBOX GSM FX / UMTS systems
1 Archiving Workshop (Soleil, May 2010) Archiving System Status.
Paper on Best implemented scientific concept for E-Governance projects Virtual Machine By Nitin V. Choudhari, DIO,NIC,Akola.
Hands-On Microsoft Windows Server 2008 Chapter 5 Configuring, Managing, and Troubleshooting Resource Access.
Introduction to HP LoadRunner Getting Familiar with LoadRunner >>>>>>>>>>>>>>>>>>>>>>
Using the WDK for Windows Logo and Signature Testing Craig Rowland Program Manager Windows Driver Kits Microsoft Corporation.
Promoting Open Source Software Through Cloud Deployment: Library à la Carte, Heroku, and OSU Michael B. Klein Digital Applications Librarian
Visual Linker Final presentation.
 To explain the importance of software configuration management (CM)  To describe key CM activities namely CM planning, change management, version management.
Components of Database Management System
Plenary meeting 2015 – Chania - Crete CASCADE Data Services Yusuf Yigini, Panos Panagos, Martha B. Dunbar Joint Research Centre - European Commission.
Introduction: Distributed POOL File Access Elizabeth Gallas - Oxford – September 16, 2009 Offline Database Meeting.
1 Alice DAQ Configuration DB
BLU-ICE and the Distributed Control System Constraints for Software Development Strategies Timothy M. McPhillips Stanford Synchrotron Radiation Laboratory.
18 Copyright © Oracle Corporation, All rights reserved. Workshop.
ISetup – A Guide/Benefit for the Functional User! Mohan Iyer January 17 th, 2008.
1 Performance Optimization In QTP Execution Over Video Automation Testing Speaker : Krishnesh Sasiyuthaman Nair Date : 10/05/2012.
Slim Ayadi, Majid Ounsy Tango Meeting Mai Mai 2009 Archiving News.
CERN IT Department CH-1211 Geneva 23 Switzerland t Daniel Gomez Ruben Gaspar Ignacio Coterillo * Dawid Wojcik *CERN/CSIC funded by Spanish.
A Brief Documentation.  Provides basic information about connection, server, and client.
"Witness of a new dancer". 14 October TANGO at ALBA Alba team: Presented by DFC. Witness of a new dancer.
Fast Crash Recovery in RAMCloud. Motivation The role of DRAM has been increasing – Facebook used 150TB of DRAM For 200TB of disk storage However, there.
 Replication is the process of copying database information  Replication is used for:  Backing up your database  Migrating to a new server  Mirroring.
TANGO Events “To be or not to be ?” Architecture Implementation Demonstration (?) Open questions.
5-Oct-051 Tango collaboration status ICALEPCS 2005 Geneva (October 2005)
The Million Point PI System – PI Server 3.4 The Million Point PI System PI Server 3.4 Jon Peterson Rulik Perla Denis Vacher.
1 Tango Meeting (Hamburg, September 2007) Archiving System Deployed at Soleil.
Lecture 4 Mechanisms & Kernel for NOSs. Mechanisms for Network Operating Systems  Network operating systems provide three basic mechanisms that support.
November 1, 2004 ElizabethGallas -- D0 Luminosity Db 1 D0 Luminosity Database: Checklist for Production Elizabeth Gallas Fermilab Computing Division /
1 September 2007 – Tango Meeting – A.Buteau ICALEPS 2005 Status report SOLEIL September 2007.
SRM “Multiple Inheritance for PyTango Device Classes” 21st Tango Meeting, 14th May A Multiple Inheritance Mechanism for PyTango Device Classes Sergi.
UNICOS LHCLoggingDB Josef Hofer EN/ICE/SCD. Agenda The LHC Logging Database Purpose of the LHCLogging component Basic concepts Advanced concepts Logging.
Overview on Web Caching COSC 513 Class Presentation Instructor: Prof. M. Anvari Student name: Wei Wei ID:
JCOP Framework and PVSS News ALICE DCS Workshop 14 th March, 2006 Piotr Golonka CERN IT/CO-BE Outline PVSS status Framework: Current status and future.
Open Map Yamama Dagash & Haitham Khateeb under the supervision of: Benny Daon & Eyal Levin Open Map.
LIOProf: Exposing Lustre File System Behavior for I/O Middleware
Building Preservation Environments with Data Grid Technology Reagan W. Moore Presenter: Praveen Namburi.
HDB and TDB archiving at MAXlab Y.A.Gaponov, K.Larsson, P.Goryl, A.G.Persson.
Configuring SQL Server for a successful SharePoint Server Deployment Haaron Gonzalez Solution Architect & Consultant Microsoft MVP SharePoint Server
MESA A Simple Microarray Data Management Server. General MESA is a prototype web-based database solution for the massive amounts of initial data generated.
“This improved a lot since I started using Tango (three years ago) from scratch so I'm happy to see the efforts from the developers. Still there is room.
Tango Meeting Grenoble September 5/ Claudio Scafuri, Elettra ELETTRA Status Claudio Scafuri
Spacewalk + Fedora = 42. What is Spacewalk? A systems management platform designed to provide complete lifecycle management of the operating system and.
TANGO Harmonization Meeting (Edinburgh)
Overview of TANGO Control system
Archiving System News Tango Meeting (Elettra, April 2008)
Glasgow, SQL Server Meetup
Archiving System Deployed at Soleil
Tango Administrative Tools
Storage Virtualization
Alarm Extension Pack from Wonderware Finland (Klinkmann)
Data, Databases, and DBMSs
Tango in a Nutshell 31/12/2018.
Tango SOLEIL 24/02/2019 G. Abeillé - SOLEIL.
TANGO from an EPICS perspective
Presentation transcript:

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 1 Archiving ALBA Sergi Rubio Manrique

“Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 2 One Year Ago October 2007: Archiving meeting at Soleil Main actions: –Performance tests on MySQL (ALBA) –Deployment of Distributed Archiving (ALBA) –Events integration (Elettra) –Refactoring of Archiving API (Soleil) –Milliseconds resolution on MySQL tables (ALBA) –Widgets for ATK and Qt (Soleil/ALBA)

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 3 Performance Tests on MySQL Our Test Platform is a 64Bit CPU with 2 Xeon Dual processors, 16GB RAM and 6TB HardDisk. We used SuSE 10.2, MySQL 5.0, Archiving release 1.3 and the precious help of our Systems section Attributes were generated using PySignalSimulators Device Servers. HDB tested using 10 seconds period and daily backup. TDB tested using 1 seconds period, 10 minutes export period and 7 days round-buffer.

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 4 Test Results 6000 Attributes were recorded using HDB Archiver without any problem of performance. A rate of 4K attributes/second was achieved using TDB Archiver. Tests were limited by Simulators cpu usage (6000 Tango devices running in a single machine!). It was not possible to run both Archivings on the same machine. Disk usage of MySQL tables were lower than Oracle (30% less!). All procedures, results and deployment issues has been documented.

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 5 Missing Tests Live Backup-Restore of HDB database has been tested only with small databases (40GB). Bigger databases must be generated to perform this test. TDB limits must be evaluated generating attribute values on a separated machine. Due to similar reasons, Event-Based archiving cannot be tested in a single machine due to notifd cpu-usage. Effects of multiple client access during archiving has not been evaluated.

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 6 Main Problems Found Archiving Servers Startup. –It’s a highly cpu-stressing process. –Archiver devices must be started sequentially. –Attribute values must be already available before archiver device servers are started. Configuration of big groups of attributes: –Thousands of attributes cannot be managed through Mambo

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 7 db_host archivers _host host1 host2 host3 Classic Archiving Structure MySQL DS Archiver DS Archiver DS Load distributed between archivers: 1 archiver server = 5 archiver devices 1 archiver device = 50 archived attributes Separated hosts for Hdb, Tdb and Database Data is polled from Archivers and filtered; only changes above range are archived.

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 8 host1 host3 host2 archiving_host DS Archiver DS Archiver DS Distributed Archiving MySQL Archiver 1 Archiver server is running on each controls machine. Attributes assigned using isDedicated and reservedAttributes properties The limit of 50 attributes/archiver is respected. Not-dedicated archivers are still being used for general purpose. DS Archiver DS

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 9 Advantages Archivers are launched in the last runlevel of each host Starter. It guarantees that all reserved attributes are available. Cpu usage problems are highly reduced as Archivers are not started in the same machine. But there’s no tool, apart from Jive, to configure this ~6000 property values!

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 10 Main Problems Found Archiving Servers Startup. –It’s a highly cpu-stressing process. –Archiver devices must be started sequentially. –Attribute values must be already available before archiver device servers are started. Configuration of big groups of attributes: –Thousands of attributes are hard to manage through Mambo.

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 11 Archiving Configuration Reasons for a new config tool: Tree-Like method of selection used by Mambo was not focused in configuring hundreds of attributes (e.g. 500 Ion Pumps). Device Properties used to configure Distributed Archiving are not managed by Mambo. Some additional information (date of creation, author) is stored only in local profiles that are hard to maintain. The Snapshot database and its Contexts allow to store this information; but it is a separated database with no link with Hdb or Tdb tables. Comments are also a feature implemented in Snap database that is missing in Hdb/Tdb.

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 12 Configuration with CSV files To avoid some of these problems a solution based on.csv files has been adopted; providing all the information to create an Archiving Configuration and a Snapshot Context.

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 13 Configuration with CSV files To avoid some of these problems a solution based on.csv files has been adopted; providing all the information to create an Archiving Configuration and a Snapshot Context. Host information is used to configure Starters and Dedicated is used to easily configure thousands of attributes Context allow to export config. files from DB and create a link between archived values and comments.

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 14 Deployment: Starter/Astor A Python ServersDict object has been created to provide Astor functionalities to configuration and alarm scripts.

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 15 PyTango_utils.archiving archiving archiving.snap archiving.utils archiving.xml archiving.api archiving.scripts This packages allowed to: Integrate Hdb and Snap archiving with other python/PyTango tools. Start/Stop Archiving devices in the appropiated order. Increase the capabilities of configuration and diagnostic. Import/Export.csv and.xml files between the archiving and the database.

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 16 PyTango_utils A set of add-ons to PyTango (lot of them thanks to TAUcoutinho, AleHoms! and Gurú Taurel): PyTango device server logging Dynamic Attributes CSV files management Utils for Callbacks/Exceptions Starter DS configuration Multiple TangoClass Inheritance? Used by PyPLC, PyStateComposer, VacuumController, TAU and others …

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII New Chances Now PyPLC-like Device Servers are able to setup/modify its own attributes archiving, starter and events configuration. DeviceServer.Init() can check if Archiving events are enabled … and ask the ArchivingManager to create the appropiated tables. They even can access its archived data! It is a great feature … or a big danger? ArchivingManager will be always able to accept/reject any request.

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII But life is not so easy … With PyPLC-like device servers events are working even worse than with other devices. Multiple dynamic attributes with read-time near to 0 cause the polling-thread to give not enough time to those attributes that access real hardware. Many attribute subscription caused massive cpu-usage by the notifd. Could we subscribe a single DevVarStringArray attribute that passes the list of Changed Attributes to the clients?!?!?!

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII New Chances

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 20 Integration with TAU, TauPlot This Python link allowed TauPlot (ATKTrend-like widget) to visualize archived values. The archiving values are inserted as an extension of the attribute polling buffer.

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 21 Integration with TAU, TauPlot This example used the same widget for actual and archived values. Full integration between the Archiving, SNAP and existing TAU widgets is now the main target.

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 22 Future Projects Continue with MySQL performance tests and deployment problems detection. Milliseconds resolution Events integration TdbArchiving API Integration of Snapshot Comments as Marks on HDB or TDB visualization.

Sergi Rubio Manrique “Archiving System at ALBA”. Tango Meeting. ALBA. October 16 th, MMVIII 23 Thanks for your attention