CERN LASER Alarm System Katarina Sigerud, CERN ACS workshop, 9 October 2005
9 October 2005CERN LASER Alarm System, ACS workshop - Katarina Sigerud2 Content Introduction Scope System overview Status
9 October 2005CERN LASER Alarm System, ACS workshop - Katarina Sigerud3 Introduction The LHC alarm service Delivers an alarm service for the operation of the CERN accelerator chain and technical services
9 October 2005CERN LASER Alarm System, ACS workshop - Katarina Sigerud4 Scope 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
9 October 2005CERN LASER Alarm System, ACS workshop - Katarina Sigerud5 System 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
9 October 2005CERN LASER Alarm System, ACS workshop - Katarina Sigerud6 Resource 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
9 October 2005CERN LASER Alarm System, ACS workshop - Katarina Sigerud7 Close 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) {... }
9 October 2005CERN LASER Alarm System, ACS workshop - Katarina Sigerud8 Business 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
9 October 2005CERN LASER Alarm System, ACS workshop - Katarina Sigerud9 Business 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
9 October 2005CERN LASER Alarm System, ACS workshop - Katarina Sigerud10 Close 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 –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
9 October 2005CERN LASER Alarm System, ACS workshop - Katarina Sigerud11 Close up on FS reduction Multiplicity reduction –A 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
9 October 2005CERN LASER Alarm System, ACS workshop - Katarina Sigerud12 Client 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
9 October 2005CERN LASER Alarm System, ACS workshop - Katarina Sigerud13 Close up on alarm console
9 October 2005CERN LASER Alarm System, ACS workshop - Katarina Sigerud14 Status 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
9 October 2005CERN LASER Alarm System, ACS workshop - Katarina Sigerud15