ALMA Common Software Basic Track Logging and Error Systems.

Slides:



Advertisements
Similar presentations
ALMA Cycle 2 Capability Jongsoo Kim ALMA EA Korea node.
Advertisements

Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array The March to Early.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array.
ALMA: The March to Early Science Al Wootten, ALMA/NA Project Scientist Cometary Radio Astronomy.
ALMA TACand the proposal process Lister Staveley-Smith Member, ALMA Review Panel.
MCITP Guide to Microsoft Windows Server 2008 Server Administration (Exam #70-646) Chapter 14 Server and Network Monitoring.
Maintaining and Updating Windows Server 2008
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array.
Slide 1 of 9 Presenting 24x7 Scheduler The art of computer automation Press PageDown key or click to advance.
ACS Logging System Concepts and Example H.Sommer (Restructured, based on slides from previous years) UTFSM Valparaiso, Chile, Nov ACS Logging System.
CONTENTS:-  What is Event Log Service ?  Types of event logs and their purpose.  How and when the Event Log is useful?  What is Event Viewer?  Briefing.
2008 Decmeber 5 ALMA-JT Science Meeting 1 ALMA Project News Koh-Ichiro Morita ALMAJ Project Scientist.
ALMA During Early Science
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array.
December 2007Chile Observatories Earthquake Preparedness Workshop1 Atacama Large Millimeter/submillimeter Array ALMA Eduardo Donoso.
ADASS XI Sept30-Oct3, 2001 The ALMA Common Software (ACS) as a basis for a distributed software development G.Raffi, G.Chiozzi (ESO), B.Glendenning (NRAO)
© 2004 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice ASAP 2.5 TOI Part 4 ASAP OVO SPI.
Descripción y Areas del Dpto. de Computación de ALMA (ADC) Tzu-Chiang Shen Gerente del Grupo de Software Departamento de Computación ALMA Joint ALMA Observatory.
ALMA Common Software Basic Track Introduction to the ACS Framework.
6st ACS Workshop UTFSM ACS Course Component, Container, Lifecycle Management 6st ACS Workshop UTFSM, Valparaiso, Chile H. Sommer, G. Chiozzi.
ALMA Common Software Basic Track Software Engineering Basics.
Workshop in ALMA Logs Prepared by Juan Pablo Gil – Arturo Hoffstadt
Integrating the CERN laser alarm system with the ALMA common Software SPIE, Orlando, May 2006 Integrating the CERN LASER Alarm System with the ALMA Common.
ICT Coordination and Planning Meeting #1 (17-19 April 2013) ALMA Dashboard 1.0 Giorgio Filippi The Atacama Large Millimeter/submillimeter Array.
EA ARC Ken Tatematsu East-Asian ARC Manager. ARC organization Difference between ARCS: NA: concentrated in Charlottesville Europe: distributed in different.
A Search for Hydroxlyamine (NH 2 OH) Towards IRC+10216, Orion-S, Orion(KL), SgrB2(N), SgrB2(OH), W512M, W3(IRS5) R. L. Pulliam NRAO / North American ALMA.
The ALMA Software and Release Management Ruben Soto Software Operations Group & Release Manager Joint ALMA Observatory.
©2002 Allen Systems Group, Inc. All Rights Reserved. by Scott Webb, ASG Senior Sales Engineer by Scott Webb, ASG Senior Sales Engineer ASG-sys*ADMIRAL.
ALMA Common Software Basic Track Component implementation guidelines.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array The ALMA Observing.
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array The ALMA Observing.
ACS Logging System APIs: C++ Bogdan Jeram European Southern Observatory July 2004NRAO.
ICALEPCS Archamp 08 – 09 October, 2005 ACS Alarm system prototype Alessandro Caproni.
ALMA Common Software Basic Track Test Driven Development Unit testing and TAT.
ALMA Common Software Basic Track A walk through ACS functionality.
Running ACS Bogdan Jeram European Southern Observatory July 2005NAOJ.
ICALEPCS’ GenevaACS in ALMA1 Allen Farris National Radio Astronomy Observatory Lead, ALMA Control System.
ALMA Polarization Commissioning and Verification Status Kouichiro Nakanishi (Joint ALMA Observatory/NAOJ) on behalf of ALMA Polarization Commissioning.
Early Science Specification and Expected Array Evolution Masao Saito EA ALMA Project Scientist EA PS Report1 2nd ALMA Users Meeting 2011/1/13.
Vinay Paul. CONTENTS:- What is Event Log Service ? Types of event logs and their purpose. How and when the Event Log is useful? What is Event Viewer?
Computing ALMA Board Meeting November 2015 Jorge Ibsen Head of ADC, ICT Lead Contributions from: ADC Management (JAO): Achermann, Parra, Saldias, Shen,
Atacama Large Millimeter/submillimeter Array Expanded Very Large Array Robert C. Byrd Green Bank Telescope Very Long Baseline Array.
ALMA and the Call for Early Science The Atacama Large (Sub)Millimeter Array (ALMA) is now under construction on the Chajnantor plain of the Chilean Andes.
ICALEPCS 2005 Geneva, Oct. 12 The ALMA Telescope Control SystemA. Farris The ALMA Telescope Control System Allen Farris Ralph Marson Jeff Kern National.
Atacama Large Millimeter/ submillimeter Array - ALMA ASAC Charges For Oct 31 ASAC Report to ALMA Board Al Wootten JAO Interim Project Scientist.
ALMA Town Meeting Introduction K. Y. Lo Director of NRAO.
1 The Software Development Process ► Systems analysis ► Systems design ► Implementation ► Testing ► Documentation ► Evaluation ► Maintenance.
ALMA Common Software Basic Track Project Lifecycle.
ALMA Common Software Basic Track Configuration Database.
ALMA Common Software Basic Track Component/Container Model and Lifecycle Management.
Charlottesville, November ALMA CSV Update Alison Peck Current status.
Maintaining and Updating Windows Server 2008 Lesson 8.
Dashboard upcoming features A Hales, ALMA and M Chavan, ESO
ALMA ANTENNA KEY SPECIFICATIONS
ACA TP Spectrometer Manabu Watanabe (NAOJ)
Collectd 101.
ALMA Common Software Basic Track
ALMA Software Scheduling subsystem Planning for cycle5 onwards
ACS Alarm System A. Caproniac
PRTS & KPI Nick Whyborn – Vasco Cortez
Shift Log Tool Refactoring
Obsprep Planning, 2017 Alan Bridger
Upgrade to Oracle12c in February 2017 José Parra
Partnership.
ATACAMA LARGE MILLIMETER ARRAY
Outline Welcome: K.Y. Lo ALMA Project Status: Adrian Russell
ACS ALMA Common software Demo Setup
Welcome K. Y. Lo Director, NRAO
Atacama Large Millimeter Array Science IPT Review
ALMA Town Meeting Introduction
Presentation transcript:

ALMA Common Software Basic Track Logging and Error Systems

Logging system conceptual overview

Logging system  The logging system provide  status and diagnostic information  historical archive  filtering capabilities by level/audience  Several logging levels:  Trace (1), Delouse (2), Debug (3), Info (4), Notice (5), Warning (6), Error (8), Critical (9), Alert (10), Emergency (11), Off (99)  Three logging audiences (orthogonal to log levels):  ENGINEER, OPERATOR, SCILOG  They are essential for post-mortem analysis  They are normally intended for developers and operators

Logging system  Logging service:  Transport through a notification channel  Graphical user interface to visualize them in runtime or offline (jlog)  For later processing can be:  written to file  stored in DB  For high performance / robustness:  Transparent caching  Transfer asynchronously in batches  Transparent insertion of additional data:  host / container names  thread name Warning: Every logging client considerably slows down the logging system! Congestions can lead to a logging service crash

Repeat guards: preventing log flooding  Conveniently reduce number of executions of identical activity  e.g. Logging of same log message, e.g. “incident detected”, N times/s  Can be used for other activities, is wrapped around activity  Configurable based on:  Number of executions  Time interval  Combinations of both

Log entry example <Debug TimeStamp=" T13:44:16.530" Host=“te1.hq.eso.org“ Process="baciTestServer“ Thread="main" Context="“ File="baciTestClassImpl.cpp“ Line="205" Routine="BaciTestClass::~BaciTestClass >

Logging system configuration  Default configuration  log TRACE and above levels  Optional environment variables can set per-process log levels  CDB can set per-process log levels / per-logger level  Tools to dynamically change log levels in running system  Environment variables:  Log level for console: $ACS_LOG_STDOUT  Central logging level: $ACS_LOG_CENTRAL  Log file name: $ACS_LOG_FILE

Error system  ACS: faults or errors are a situation that requires handling  Handled by developer  Helpers (acserr.idl):  Completion  Not critically failed execution / execution OK  Errors  Critically failed execution  ACS (CORBA) exceptions predefined in XML (ACSErrTypeCommon.xml, ACSErrTypeCommon.idl)  Error propagation → Error trace  Chaining of Completions  Chaining of errors / ACS exceptions  Possible across process boundaries

Error system conceptual overview

Resources  Logging and Archiving:  and_Archiving.pdf  Definitive guide to logs and errors  Guidelines  And of course, the source code

Questions? Acknowledgements ACS presentations were originally developed by the ALMA Common Software development team and has been used in many instances of training courses since Main contributors are (listed in alphabetical order): Jorge Avarias, Alessandro Caproni, Gianluca Chiozzi, Jorge Ibsen, Thomas Jürgens, Matias Mora, Joseph Schwarz, Heiko Sommer. The Atacama Large Millimeter/submillimeter Array (ALMA), an international astronomy facility, is a partnership of Europe, North America and East Asia in cooperation with the Republic of Chile. ALMA is funded in Europe by the European Organization for Astronomical Research in the Southern Hemisphere (ESO), in North America by the U.S. National Science Foundation (NSF) in cooperation with the National Research Council of Canada (NRC) and the National Science Council of Taiwan (NSC) and in East Asia by the National Institutes of Natural Sciences (NINS) of Japan in cooperation with the Academia Sinica (AS) in Taiwan. ALMA construction and operations are led on behalf of Europe by ESO, on behalf of North America by the National Radio Astronomy Observatory (NRAO), which is managed by Associated Universities, Inc. (AUI) and on behalf of East Asia by the National Astronomical Observatory of Japan (NAOJ). The Joint ALMA Observatory (JAO) provides the unified leadership and management of the construction, commissioning and operation of ALMA.