ACS Alarm System A. Caproniac

Slides:



Advertisements
Similar presentations
Wait-free coordination for Internet-scale systems
Advertisements

Jan Hatje, DESY AMS – Alarm Management System PCaPAC AMS – Alarm Management System and CSS – Control System Studio Update PCaPAC 2008 J.Stefan Institute,
Week 6: Chapter 6 Agenda Automation of SQL Server tasks using: SQL Server Agent Scheduling Scripting Technologies.
ACS Configuration Database(s)
A brief look at CORBA. What is CORBA Common Object Request Broker Architecture developed by OMG Combine benefits of OO and distributed computing Distributed.
1 IBM SanFrancisco Product Evaluation Negotiated Option Presentation By Les Beckford May 2001.
NGOP J.Fromm K.Genser T.Levshina M.Mengel V.Podstavkov.
Hands-On Microsoft Windows Server 2003 Administration Chapter 5 Administering File Resources.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS Jan Control System Studio Training - Alarm System Use.
ACS Logging System Concepts and Example H.Sommer (Restructured, based on slides from previous years) UTFSM Valparaiso, Chile, Nov ACS Logging System.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS April 2013 Control System Studio Training - Alarm System Use.
Chapter 10.
Włodzimierz Funika, Filip Szura Automation of decision making for monitoring systems.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 18 Slide 1 Software Reuse 2.
ACNET Alarms Brian Hendricks October 18, Alarm Types analog – simple comparison to minimum and maximum values single set of limits digital – nominal.
Container-component model and XML in ALMA ACS Heiko Sommer (ESO), Gianluca Chiozzi (ESO), Klemen Zagar (Cosylab) and Markus Völter.
Jan Hatje, DESY CSS ITER March 2009: Alarm System, Authorization, Remote Management XFEL The European X-Ray Laser Project X-Ray Free-Electron.
The ALMA Common Software: a developer friendly CORBA-based framework G.Chiozzi d, B.Jeram a, H.Sommer a, A.Caproni e, M.Pesko bc, M.Sekoranja b, K.Zagar.
Basic Concepts Introduction Objects Of The Data Hierarchy Objects Of The Monitoring System Mutual Roles Of Data Hierarchy Objects Other Concepts.
ALMA Common Software Basic Track Introduction to the ACS Framework.
OLE for Process Control. Talk Outline u OPC Overview u What is OPC? u Why OPC at CERN? u OPC functionality and architecture? u OPC Data Access u Access.
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.
CERN LASER Alarm System Katarina Sigerud, CERN ACS workshop, 9 October 2005.
Module 10: Monitoring ISA Server Overview Monitoring Overview Configuring Alerts Configuring Session Monitoring Configuring Logging Configuring.
Tokyo July, 2005 ACS Characteristic Components B. Jeram, …..
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.
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 Logging and Error Systems.
Jan Hatje, DESY CSS GSI Feb. 2009: Alarm System, Authorization, Remote Management XFEL The European X-Ray Laser Project X-Ray Free-Electron.
ALMA Common Software Basic Track A walk through ACS functionality.
©Kabira Technologies Inc, 2001 May 7-9, 2001 Westward Look Resort Tucson, Arizona SMUG 2001 Execution in UML.
Running ACS Bogdan Jeram European Southern Observatory July 2005NAOJ.
.  A multi layer architecture powered by Spring Framework, ExtJS, Spring Security and Hibernate.  Taken advantage of Spring’s multi layer injection.
ICALEPCS’ GenevaACS in ALMA1 Allen Farris National Radio Astronomy Observatory Lead, ALMA Control System.
1 Makes Mobile WiMAX Simple Netspan Overview Andy Hobbs Director, Product Management 5 th October 2007.
Chapter 36 More Object Design with GoF Patterns 1CS6359 Fall 2011 John Cole.
5-Oct-051 Tango collaboration status ICALEPCS 2005 Geneva (October 2005)
The DIAMON Project Monitoring and Diagnostics for the CERN Controls Infrastructure Pierre Charrue, Mark Buttner, Joel Lauener, Katarina Sigerud, Maciej.
CERN SRM Development Benjamin Coutourier Shaun de Witt CHEP06 - Mumbai.
CMS Luigi Zangrando, Cern, 16/4/ Run Control Prototype Status M. Gulmini, M. Gaetano, N. Toniolo, S. Ventura, L. Zangrando INFN – Laboratori Nazionali.
Model Design using Hierarchical Web-Based Libraries F. Bernardi Pr. J.F. Santucci {bernardi, University of Corsica SPE Laboratory.
Jan Hatje, DESY CSS GSI Feb. 2009: Technology and Interfaces XFEL The European X-Ray Laser Project X-Ray Free-Electron Laser 1 CSS – Control.
NAOJ, Tokyo – July 04-08, 2005 ACS Configuration Database Bogdan Jeram European Southern Observatory.
Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary CSS Overview Alarm System and CSS.
ICALEPCS Archamp 08 – 09 October, 2005 ACS Configuration Database G.Chiozzi, B.Jeram European Southern Observatory.
CERN – European Organization for Nuclear Research Administrative Information Services AisMonitor 1 IT-AIS-HRMarch 9 th 2006 AisMonitor Giovanni Chierico.
Slide 1 2/22/2016 Policy-Based Management With SNMP SNMPCONF Working Group - Interim Meeting May 2000 Jon Saperia.
CMS Luigi Zangrando, Cern, 16/4/ Run Control Prototype Status M. Gulmini, M. Gaetano, N. Toniolo, S. Ventura, L. Zangrando INFN – Laboratori Nazionali.
Managed by UT-Battelle for the Department of Energy Kay Kasemir ORNL/SNS 2012, April at SLAC Control System Studio Training - Alarm System.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED INTERSTAGE BPM ARCHITECTURE BPMS.
Module 4: Troubleshooting Web Servers. Overview Use IIS 7.0 troubleshooting features to gather troubleshooting information Use the Runtime Control and.
PART1 Data collection methodology and NM paradigms 1.
Introduction  Model contains different kinds of elements (such as hosts, databases, web servers, applications, etc)  Relations between these elements.
Software Reuse. Objectives l To explain the benefits of software reuse and some reuse problems l To discuss several different ways to implement software.
SQL Database Management
What is BizTalk ?
Architecture Review 10/11/2004
Overview of TANGO Control system
Table spaces.
Module Overview Installing and Configuring a Network Policy Server
Chapter 6: Community Features.
ALMA Common Software Training-Course Session 4 - ACS Docs
DATABASE LINK DISTRIBUTED DATABASE.
Java Messaging Service (JMS)
ACS ALMA Common software Demo Setup
Creating and Managing Folders
Banafsheh Hajinasab Based on presentation by K. Strnisa, Cosylab
Network Monitoring System
TANGO from an EPICS perspective
Presentation transcript:

ACS Alarm System A. Caproniac a. ESO, European Organization for Astronomical Research in the Southern Hemisphere b. CERN, European Organization for Nuclear Research c. INAF-OATs, Osservatorio Astronomico di Trieste d. COSYLAB, Control System Laboratory

Alarm System The Alarm System is a messaging system that deals with abnormal situations by means of Fault States (FS): FS collection FS analysis and distribution Alarm definition Alarm archiving The AS collects information from the environment and shows to the user what’s happening and possibly how to fix an abnormal situation in a short time.

ACS Alarm system The alarm service is a CORBA servant started after CDB. ACS comes with 2 implementations: ACS (default) CERN (explicitly set in the CDB) ACS implementation logs a Alert message for each alarm (active/inactive): Alarm sent: <AlarmSource,ALARM_SOURCE_MOUNTCPP,1> ACTIVE Alarm sent: <AlarmSource,ALARM_SOURCE_MOUNTCPP,1> TERMINATE jlog (with filters) shows the alarms

CERN Implementation Alarms are injected into LASER, the alarm system developed at CERN for the LHA collider. It is a messaging system: collects, stores, manages and distributes information about abnormal situations: the Fault States. Three tiers architecture: sources of alarms alarm service (LASER) alarm clients

CERN implementation features sources trigger FS changes shows only the relevant alarms (can show all the active alarms) has the concept of authorized users alarm must be acknowledged stores the alarms in the database API for different languages: C++, java, python hierarchy of alarms to build different views doesn’t take any action to fix a problem

Fault state Each Fault State (FS) is identified by a triplet: FS = <FF,FM,FC> the Fault Family (FF) groups elements of the same kind the Fault Member (FM) represents the failing instance the Fault Code (FC) identifies the particular problem A Fault State can be active or inactive. Sources send fault states to the alarm service.

Alarm system – java API example String faultFamily=”PowerSupplies”; String faultMember=”PS3”; int faultCode=100; AlarmSystemInterface alarmSource = AlarmSystemInterfaceFactory.createSource(this.name()); FaultState fs = AlarmSystemInterfaceFactory.createFaultState( faultFamily, faultMember, faultCode); fs.setDescriptor(ACSFaultState.ACTIVE); fs.setUserTimestamp(new Timestamp(System.currentTimeMillis())); Properties props = new Properties(); props.setProperty(...); ... fs.setUserProperties(props); alarmSource.push(fs);

C++ example // constants we will use when creating the fault string family = "AlarmSource"; string member = "ALARM_SOURCE_MOUNT"; int code = 1; // Step 1: create the AlarmSystemInterface using the factory AlarmSystemInterface* alarmSource = AlarmSystemInterfaceFactory::createSource(); // Step 2: create the FaultState using the factory auto_ptr<FaultState> fltstate = AlarmSystemInterfaceFactory::createFaultState(family, member, code); // Step 3: set the fault state's descriptor string stateString = faultState::ACTIVE_STRING; fltstate->setDescriptor(stateString); // Step 4: create a Timestamp and use it to configure the FaultState Timestamp * tstampPtr = new Timestamp(); auto_ptr<Timestamp> tstampAutoPtr(tstampPtr); fltstate->setUserTimestamp(tstampAutoPtr); // Step 5: create a Properties object and configure it, then assign to the FaultState Properties * propsPtr = new Properties(); propsPtr->setProperty("TEST_PROPERTY", "TEST_VALUE"); auto_ptr<Properties> propsAutoPtr(propsPtr); fltstate->setUserProperties(propsAutoPtr); // Step 6: push the FaultState to the alarm server alarmSource->push (*fltstate);

Python example family = "AlarmSource" member = "ALARM_SOURCE_MOUNT code = 1 Acsalarmpy.AlarmSystemInterfaceFactory.init() alarmSource = Acsalarmpy.AlarmSystemInterfaceFactory.createSource("ALARM_SYSTEM_SOURCES") fltstate=Acsalarmpy.AlarmSystemInterfaceFactory.createFaultState(family,member, code) fltstate.descriptor = FaultState.ACTIVE_STRING fltstate.userTimestamp = Timestamp.Timestamp() fltstate.userProperties["TEST_PROPERTY"] = "TEST_VALUE" alarmSource.push(fltstate) Acsalarmpy.AlarmSystemInterfaceFactory.done()

LASER- Business tier asynchronously and sequentially listen for FS changes build a complete view of each alarm persist FS* track and archive the FS changes authenticate user of the clients* reduces or masks alarms depending of: the status of the system the knowledge of the environment FS’s are distributed into a hierarchy of domains of interest allow the management of the FS without stopping the service* Distribute alarms to the clients

Alarm details System name Description of the alarm The cause of the alarm The action to fix the problem The consequence of the alarm The priority of the alarm (4 priorities) The URL with detailed information A phone number to call The location of the source The name/ID of the responsible person . . .

LASER - Reduction rules The reduction rules aim to help the user to easily identify the root cause of a cascade of alarms. The service has a knowledge of the environment by means of a set of reduction rules (CDB). Node reduction (NR) If a failure in the equipment A triggers a failure in another equipment, B, then the latter is reduced. Multiplicity reduction (MR) If the number of alarms of the same type is greater then a given threshold then these alarms are reduced and a new alarm is produced

Communications between the tiers The communication between the tiers happens by means of JMS. JMS implementation of ACS sends messages through NCs It is possible to write clients that listen to the NC and take actions independently of the Alarm Service

ACS LASER structure E1 E2 E3 E4 E5 ClientACS AS Source1 Source2

Categories The AS sends each alarm to one or more categories Each client listen for alarms from one or more categories Categories are hierarchically organized View of alarms Example of views: Operators views Engineers views Subsystems views …

< FF=”BACIProperty”, FM=property_name, FC=1 > BACI properties < FF=”BACIProperty”, FM=property_name, FC=1 > This feature must be explicitly enabled. An alarm is sent when the value of a property becomes lower then the minimum or higher then the maximum. Alarm monitoring can be enabled/disabled programmatically. A dedicated API allows to set programmatically the FF and FM of a property The GUI shows the value of the property and its description

CDB configuration MACI alma Alarms CDB Administrative AlarmSystemConfiguration Categories ReductionDefinitions AlarmsDefinitions Default values help reducing the entries in the CDB

Latest changes Alarm service promoted to CORBA servant GUIs improvements IDL method to send alarms Alarms from BACI properties Alarms from daemons

Alarm panel

Questions ? ACS alarm system References: ACS Alarm system documentation ACSLaser/demo Questions ? acaproni@eso.org