PCa PAC 2008 AMS Alarm Management System and

  • Slides: 19
Download presentation
PCa. PAC 2008 AMS – Alarm Management System and CSS – Control System Studio

PCa. PAC 2008 AMS – Alarm Management System and CSS – Control System Studio Update PCa. PAC 2008 J. Stefan Institute, 20 th to 23 rd October 2008 Matthias Clausen, Jan Hatje, Helge Rickens DESY / MKS-2 Jan Hatje, DESY AMS – Alarm Management System 1

PCa. PAC 2008 Overview • • • Requirements of the alarm system Structure of

PCa. PAC 2008 Overview • • • Requirements of the alarm system Structure of alarm system Technical overview Interconnection server and persistent store Filter configuration in the alarm management system • CSS Alarm Applications • CSS Update Jan Hatje, DESY AMS – Alarm Management System 2

PCa. PAC 2008 Requirements • Several sources for alarm/log messages (EPICS, D 3, CSS,

PCa. PAC 2008 Requirements • Several sources for alarm/log messages (EPICS, D 3, CSS, …) • Dedicated alarm messages should be forwarded to different destinations (SMS, e-mail, voice mail, …) • Rules and actions to configure special behavior for alarm messages • Persistent store holds current status of all process variables • Archive all alarm/log messages • Operating system independent applications to view messages and configure alarm system Jan Hatje, DESY AMS – Alarm Management System 3

PCa. PAC 2008 Structure of alarm system Alarm / Log message Sources EPICS IOC

PCa. PAC 2008 Structure of alarm system Alarm / Log message Sources EPICS IOC D 3 PCM Archive DB JMS Server Alarm Management System CSS Alarm ai M S SM l Tools (Views, Configuration, …) Jan Hatje, DESY AMS – Alarm Management System CSS Instance Persistent Store (LDAP) Message Table Archive AMS Configuration Alarm Tree 4

PCa. PAC 2008 Technical Overview • Implementation in Java → Operating System independent •

PCa. PAC 2008 Technical Overview • Implementation in Java → Operating System independent • Alarm applications with UI part are integrated in Control System Studio (CSS) • Headless alarm applications are based on CSS platform • Common APIs for JMS -, LDAP – Server and Database → no special implementation is required • JMS Messages (Key, Value) for all communication between components • Redundancy for JMS communication and Alarm Management System Jan Hatje, DESY AMS – Alarm Management System 5

PCa. PAC 2008 Message sources EPICS IOC D 3 PCM CSS Instance Alarm Sender

PCa. PAC 2008 Message sources EPICS IOC D 3 PCM CSS Instance Alarm Sender Special Format Interconnection Server D 3 Alarms JMS Messages JMS Server Jan Hatje, DESY AMS – Alarm Management System JMS Messages Special Format Other Sources 6

PCa. PAC 2008 Message sources II • EPICS IOC and D 3 PCM send

PCa. PAC 2008 Message sources II • EPICS IOC and D 3 PCM send alarm messages in a special format • Interconnection Server (EPICS) and D 3 Alarms (D 3) translates alarm messages in JMS format • Interconnection Server and D 3 Alarms are headless CSS applications (XMPP management) • CSS uses log 4 j and sends log messages in JMS format • JMS Server at DESY is Apache Active. MQ Jan Hatje, DESY AMS – Alarm Management System 7

PCa. PAC 2008 Persistent store and archive Interconnection D 3 Alarms JMS Server (n

PCa. PAC 2008 Persistent store and archive Interconnection D 3 Alarms JMS Server (n o e dat Up Upd ate t ye t im plem ente d ) Server Jan Hatje, DESY AMS – Alarm Management System Update Persistent Store (LDAP) JMS Messages jms 2 Ora Archive DB 8

PCa. PAC 2008 Persistent store and archive II • Persistent Store (LDAP) holds structured

PCa. PAC 2008 Persistent store and archive II • Persistent Store (LDAP) holds structured list of all records • Records are ordered by facility name, component and controller • Alarm status of a record: – – epics. Alarm. Ackn. Time. Stamp epics. Alarm. Severity epics. Alarm. Status epics. Alarm. Time. Stamp • Jms 2 Ora is a CSS headless applications • JDBC for DB connection → Jms 2 Ora can use any DB implementation Jan Hatje, DESY AMS – Alarm Management System 9

PCa. PAC 2008 Alarm Management System (AMS) Alarm CSS Alarm Message Configu- (JMS) rator

PCa. PAC 2008 Alarm Management System (AMS) Alarm CSS Alarm Message Configu- (JMS) rator Filter Manager Write Configuration Action Read configuration S SMS Connector JM S JM Voice Mail Connector JM DB S Mail Connector Voice SM S Jan Hatje, DESY AMS – Alarm Management System Mail il Ma 10

PCa. PAC 2008 Logical elements of AMS Operators: 1. Receives alarm messages via mail,

PCa. PAC 2008 Logical elements of AMS Operators: 1. Receives alarm messages via mail, sms, … 2. PIN Code to acknowledge alarm messages 3. Groups: 4. Operators responsible for specific facilities 5. Defines priority who should be informed first, second, … 6. Maximum delay for acknowledgment 7. Action: 8. What should be happen with an alarm message? Jan Hatje, DESY AMS – Alarm Management System 11

PCa. PAC 2008 Logical elements of AMS Filter: 1. Checks if the filter matches

PCa. PAC 2008 Logical elements of AMS Filter: 1. Checks if the filter matches 2. Creates a new message with the relevant information of the alarm message 3. Forwards the message to an action 4. Filter condition: 5. A Filter is a combination of filter conditions 6. Filter conditions can be connected with AND and OR 7. Available condition types are: Compare strings, Check current PV, Time based condition, … Jan Hatje, DESY AMS – Alarm Management System 12

PCa. PAC 2008 AMS Configurator in CSS Jan Hatje, DESY AMS – Alarm Management

PCa. PAC 2008 AMS Configurator in CSS Jan Hatje, DESY AMS – Alarm Management System 13

PCa. PAC 2008 CSS alarm applications (Alarm Treeview) • Shows the current status of

PCa. PAC 2008 CSS alarm applications (Alarm Treeview) • Shows the current status of the persistent store (LDAP) • Delete and create records and subcomponents by context menu • Changes are stored in the LDAP server • Alarm status is propagated to root component • Property view to view and edit tree items Jan Hatje, DESY AMS – Alarm Management System 14

PCa. PAC 2008 CSS alarm applications (Alarm Table) Message properties, color and text for

PCa. PAC 2008 CSS alarm applications (Alarm Table) Message properties, color and text for severities are configurable Log View • Shows all types of messages in a chronological Alarm View • Shows alarm messages • Ordered by: 1. severity and 2. severity Archive View • Shows messages stored in archive DB • Time period and search criteria Jan Hatje, DESY AMS – Alarm Management System 15

PCa. PAC 2008 Acknowledgement CSS Instance Acknowledge Alarm message Ack. Message Update (JMS) Persistant

PCa. PAC 2008 Acknowledgement CSS Instance Acknowledge Alarm message Ack. Message Update (JMS) Persistant Store (LDAP) Ack Ack JMS Server CSS Instance Jan Hatje, DESY AMS – Alarm Management System 16

PCa. PAC 2008 CSS Update I CA Snooper • Monitors the Channel Access traffic

PCa. PAC 2008 CSS Update I CA Snooper • Monitors the Channel Access traffic • CA Snooper Server is a CSS headless application • CA Snooper UI gets information via XMPP protocol from the server Record Property • Shows all fields of a record • Field value for configuration DB, RMI server and IOC Jan Hatje, DESY AMS – Alarm Management System 17

PCa. PAC 2008 CSS Update II SDS • New Strip Chart -, Thumb wheel

PCa. PAC 2008 CSS Update II SDS • New Strip Chart -, Thumb wheel -, 16 binary bit widget • Connection Overview for status of all PVs • Previous display name is displayed as a link on current display Save Value • Store current settings of control system via RMI service from any CSS instance Jan Hatje, DESY AMS – Alarm Management System 18

PCa. PAC 2008 Thank You Jan Hatje, DESY AMS – Alarm Management System 19

PCa. PAC 2008 Thank You Jan Hatje, DESY AMS – Alarm Management System 19