15
CERN CERN LASER LASER Alarm Alarm System System Katarina Sigerud, CERN ACS workshop, 9 October 2005

CERN LASER Alarm System Katarina Sigerud, CERN ACS workshop, 9 October 2005

Embed Size (px)

Citation preview

Page 1: CERN LASER Alarm System Katarina Sigerud, CERN ACS workshop, 9 October 2005

CERN CERN LASER LASER Alarm SystemAlarm System

Katarina Sigerud, CERN

ACS workshop, 9 October 2005

Page 2: CERN LASER Alarm System Katarina Sigerud, CERN ACS workshop, 9 October 2005

9 October 2005 CERN LASER Alarm System, ACS workshop - Katarina Sigerud 2

ContentContent

IntroductionScopeSystem overviewStatus

Page 3: CERN LASER Alarm System Katarina Sigerud, CERN ACS workshop, 9 October 2005

9 October 2005 CERN LASER Alarm System, ACS workshop - Katarina Sigerud 3

IntroductionIntroduction

The LHC alarm service Delivers an alarm

service for the operation of the CERN accelerator chain and technical services

Page 4: CERN LASER Alarm System Katarina Sigerud, CERN ACS workshop, 9 October 2005

9 October 2005 CERN LASER Alarm System, ACS workshop - Katarina Sigerud 4

ScopeScope

Deals with abnormal situations – Fault states (FS)– Range from severe alarms to warning states

Provides – FS collection, analysis and distribution, definition

and archiving– Dedicated alarm consoles

Does not perform surveillance– Responsibility of user surveillance programs

(USP) –alarm sources– Provided by application writers and equipment

specialists

Page 5: CERN LASER Alarm System Katarina Sigerud, CERN ACS workshop, 9 October 2005

9 October 2005 CERN LASER Alarm System, ACS workshop - Katarina Sigerud 5

System overviewSystem overview

A distributed, layered system Layers communicate via

well-defined interfaces Resource tier

– Dispersed set of sources (USP’s) detecting FS changes

Business tier– Implements business logic

and services Client tier

– Dedicated consoles and software clients

Page 6: CERN LASER Alarm System Katarina Sigerud, CERN ACS workshop, 9 October 2005

9 October 2005 CERN LASER Alarm System, ACS workshop - Katarina Sigerud 6

Resource tierResource tier

Consists of a dispersed set of sources (USP’s) Communicates with business tier via the LASER

Source API– Triggers FS changes– Sends ‘Keep-alive’/Synch message

Implemented on a variety of platforms and OS

Page 7: CERN LASER Alarm System Katarina Sigerud, CERN ACS workshop, 9 October 2005

9 October 2005 CERN LASER Alarm System, ACS workshop - Katarina Sigerud 7

Close up on FS triggeringClose up on FS triggering

try { FaultState fs = AlarmSystemInterfaceFactory.createFaultState(ff, fm, fc); fs.setDescriptor(FaultState.ACTIVE); fs.setUserTimestamp(new Timestamp(System.currentTimeMillis())); Properties props = new Properties(); props.setProperty(FaultState.ASI_PREFIX_PROPERTY, "prefix"); props.setProperty(FaultState.ASI_SUFFIX_PROPERTY, "suffix"); props.setProperty("TEST_PROPERTY", "TEST_VALUE"); fs.setUserProperties(props);

alarm_source.push(fs);} catch (ASIException e) { ... }

Page 8: CERN LASER Alarm System Katarina Sigerud, CERN ACS workshop, 9 October 2005

9 October 2005 CERN LASER Alarm System, ACS workshop - Katarina Sigerud 8

Business tier servicesBusiness tier services FS collection, analysis and

distribution– FS changes are asynchronously

and sequentially collected from sources

– Different techniques are used to reduce the number of alarms distributed

– FS’s are distributed into a hierarchy of domains of interest

Source monitoring– ‘Watch-dog’ mechanism based

on source’s ‘keep-alive’ message

Alarm console client configuration

FS definition– FS definition inserts,

deletes, updates– FS relationships, used for

reduction FS archiving

– FS and FS definition changes

Page 9: CERN LASER Alarm System Katarina Sigerud, CERN ACS workshop, 9 October 2005

9 October 2005 CERN LASER Alarm System, ACS workshop - Katarina Sigerud 9

Business tier technologyBusiness tier technology

Relies on the Java 2 Enterprise Edition (J2EE) specifications– Java Messaging System (JMS)– Enterprise Java Beans (EJB)– Hibernate/Spring

Deployed on– Oracle Application Server Containers for

J2EE (OC4J) integrated with SonicMQ

Page 10: CERN LASER Alarm System Katarina Sigerud, CERN ACS workshop, 9 October 2005

9 October 2005 CERN LASER Alarm System, ACS workshop - Katarina Sigerud 10

Close up on FS definitionClose up on FS definition FS static information

– Id• Fault family (System name)• Fault member (Identifier)• Fault code (Problem

description)– Priority– Information

• Cause• Action• Consequence

– Piquet information• Help URL• Piquet GSM• Piquet email

– Definition responsible– Location

FS relationships– Source

• Unique name• Brief description• Connection timeout• Definition responsible

– Categories• Connect alarms to nodes

and/or leaves in the category tree

– Multiplicity reduction• Create the multiplicity parent

and set the threshold value• Connect children alarms to the

parent– Node reduction

• Select the node parent• Connect children alarms to the

parent

Mandatory attributes

Page 11: CERN LASER Alarm System Katarina Sigerud, CERN ACS workshop, 9 October 2005

9 October 2005 CERN LASER Alarm System, ACS workshop - Katarina Sigerud 11

Close up on FS reductionClose up on FS reduction Multiplicity reduction

– A <threshold> number of multiplicity children FS are activated the multiplicity parent FS is activated The active multiplicity children are reduced

– The multiplicity parent FS is a ‘dummy’ FS

Node reduction– The node parent FS is activated the

active node children FS are reduced– The node parent FS is a real FS

Multiplicity parent

Reduced multiplicity children

Page 12: CERN LASER Alarm System Katarina Sigerud, CERN ACS workshop, 9 October 2005

9 October 2005 CERN LASER Alarm System, ACS workshop - Katarina Sigerud 12

Client tierClient tier Dedicated alarm consoles and software clients Communicates with the business tier via

– The LASER Client API• FS changes are sent asynchronously, based on the set of categories

and filters passed to business tier– The LASER Console API

• Login and configuration facilities for the dedicated alarm consoles The dedicated alarm consoles are based on the NetBeans

platform

Page 13: CERN LASER Alarm System Katarina Sigerud, CERN ACS workshop, 9 October 2005

9 October 2005 CERN LASER Alarm System, ACS workshop - Katarina Sigerud 13

Close up on alarm consoleClose up on alarm console

Page 14: CERN LASER Alarm System Katarina Sigerud, CERN ACS workshop, 9 October 2005

9 October 2005 CERN LASER Alarm System, ACS workshop - Katarina Sigerud 14

StatusStatus

First version operational– CERN technical services– LHC power converters commissioning– More detail at First operational experience with

LASER at ICALEPCS, TH2.3-7O

Next– Continuously provide alarm service– Prepare for startup of accelerator complex in 2006– On-line FS definition updates

Page 15: CERN LASER Alarm System Katarina Sigerud, CERN ACS workshop, 9 October 2005

9 October 2005 CERN LASER Alarm System, ACS workshop - Katarina Sigerud 15

[email protected]