Presentation is loading. Please wait.

Presentation is loading. Please wait.

Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 1 CSS Overview Alarm System and CSS.

Similar presentations


Presentation on theme: "Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 1 CSS Overview Alarm System and CSS."— Presentation transcript:

1 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 1 CSS Overview Alarm System and CSS Management GSI 11 Februrary 2009 Matthias Clausen, Jan Hatje DESY / MKS-2

2 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 2 Overview Alarm System Structure of components Management System CSS Views of alarm status Authentication and Authorization CSS Interfaces Configuration of user access rights Remote management Install and update CSS components Management of CSS headless instances

3 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 3 Alarm / Log message Sources Structure of alarm system EPICS IOCD3 PCMCSS Instance JMS Server Persistent Store (LDAP) Archive DB CSS Alarm Tools (Views, Con- figuration, …) Message Table Message Archive Alarm Management System AMS Configuration Alarm Tree SMS Mail

4 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 4 CSS Alarm Configu- rator Alarm Management System (AMS) DB Filter Manager Filter SMS JMS Read configuration Action Alarm Message (JMS) Write Configuration SMS ConnectorVoice Mail ConnectorMail Connector JMS Mail JMS Voice Mail

5 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 5 Alarm System - Requirements Several sources for alarm/log messages (EPICS, D3, 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

6 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 6 Authentication and Authorization - CSS Extensions Implementation of CSS rights management is located in separated Plug-Ins CSS Core provides extension points for authentication and authorization CSS Core loginModule authorization- Provider Implementation of an authentication module Implementation of an authorization provider SecurityFasade canExecute(id) Extension-PointService CSS Plug-In request

7 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 7 Authentication and Authorization - Implementation CSS is available with and without rights management Without rights management: Deliver no implementation / plug-in for loginModule ans authorizationProvider All users are anonymous With no authorizationProvider all CSS actions are available With rights management: loginModule authenticates all users. (@DESY Java-API JAAS with Kerberos module) AuthorizationProvider checks for each action if the user is authorized (@DESY LDAP implementation for authorize IDs, groups, roles)

8 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 8 Authentication and Authorization - AuthorizationID, Groups and Roles An Actions is mapped to an AuthorizeID. Authorization at DESY Naming rule for AuthorizeIDs AuthorizeIDs are mapped to combinations of groups and roles. Rights are granted by assigning an user to a group- role combination.

9 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 9 Authentication and Authorization - LDAP Structure User Roles Groups AuthorizeIDs User, Groups and Roles are updated by DESY Registry AuthorizeIDs and the mapping can be set by CSS plug-in “AuthorizeID” or manually. DESY authorizationProvider “LDAPAuthorization” reads user rights from LDAP Server. AuthorizeIDs used in SDS displays are also stored in LDAP

10 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 10 Remote Management - Overview All remote features are located in separated plug-ins → CSS can easily be built with or without remote management All CSS instances Keep plug-ins of CSS instances up to date Manage CSS preferences Get statistic information Headless CSS instances Control whole instance Implement new commands

11 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 11 Remote Management - Current state Available commands of selected instance DESY Communication Framework (DCF) is based on XMPP DCF plug-in defines an extension point for actions Plug-ins can register remote actions at DCF DCF displays all CSS instances in a tree Pop up menu for available actions

12 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 12 Authentication and Authorization - AuthorizationID, Groups and Roles An Actions is mapped to an AuthorizeID. Authorization at DESY Naming rule for AuthorizeIDs AuthorizeIDs are mapped to combinations of groups and roles. Rights are granted by assigning an user to a group- role combination.

13 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 13

14 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 14 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

15 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 15 Requirements Several sources for alarm/log messages (EPICS, D3, 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

16 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 16 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

17 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 17 Message sources Special Format JMS Server EPICS IOC D3 PCMCSS Instance Alarm Sender Special Format D3 Alarms Interconnection Server JMS Messages Other Sources

18 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 18 Message sources II EPICS IOC and D3 PCM send alarm messages in a special format Interconnection Server (EPICS) and D3 Alarms (D3) translates alarm messages in JMS format Interconnection Server and D3 Alarms are headless CSS applications (XMPP management) CSS uses log4j and sends log messages in JMS format JMS Server at DESY is Apache ActiveMQ

19 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 19 Persistent store and archive JMS Server D3 Alarms Interconnection Server JMS Messages Persistent Store (LDAP) Archive DB Update (not yet implemented) jms2Ora Update

20 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 20 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: –epicsAlarmAcknTimeStamp –epicsAlarmSeverity –epicsAlarmStatus –epicsAlarmTimeStamp Jms2Ora is a CSS headless applications JDBC for DB connection → Jms2Ora can use any DB implementation

21 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 21 CSS Alarm Configu- rator Alarm Management System (AMS) DB Filter Manager Filter SMS JMS Read configuration Action Alarm Message (JMS) Write Configuration SMS ConnectorVoice Mail ConnectorMail Connector JMS Mail JMS Voice Mail

22 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 22 Logical elements of AMS Operators: Receives alarm messages via mail, sms, … PIN Code to acknowledge alarm messages Groups: Operators responsible for specific facilities Defines priority who should be informed first, second, … Maximum delay for acknowledgment Action: What should be happen with an alarm message?

23 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 23 Logical elements of AMS Filter: Checks if the filter matches Creates a new message with the relevant information of the alarm message Forwards the message to an action Filter condition: A Filter is a combination of filter conditions Filter conditions can be connected with AND and OR Available condition types are: Compare strings, Check current PV, Time based condition, …

24 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 24 AMS Configurator in CSS

25 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 25 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

26 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 26 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

27 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 27 CSS Instance Acknowledge Alarm message Acknowledgement Ack. Message (JMS) Update Persistant Store (LDAP) JMS Server Ack CSS Instance Ack

28 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 28 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

29 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 29 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

30 Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 30 Thank You


Download ppt "Matthias Clausen, Jan Hatje, DESY CSS Overview – Alarm System and Management CSS Overview - GSI, 11 Februrary 2009 1 CSS Overview Alarm System and CSS."

Similar presentations


Ads by Google