Error Handling in RCMS Error Handling in RCMS An Overview - - PowerPoint PPT Presentation

error handling in rcms error handling in rcms
SMART_READER_LITE
LIVE PREVIEW

Error Handling in RCMS Error Handling in RCMS An Overview - - PowerPoint PPT Presentation

CMS Error Handling in RCMS Error Handling in RCMS An Overview Francesco Lelli Francesco.lelli@lnl.infn.it L.N.L L.N.L D.S.I. Venezia Venezia D.S.I. CMS Overview Error Handler Principles An Error Handling Framemork: Purpose


slide-1
SLIDE 1

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

Error Handling in RCMS Error Handling in RCMS

An Overview

Francesco Lelli

Francesco.lelli@lnl.infn.it

slide-2
SLIDE 2

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

  • Error Handler Principles
  • An Error Handling Framemork:

Purpose & Functionality

  • Framework Customization

Overview

slide-3
SLIDE 3

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

Error Handling

DB

App 1 App 2 App 3 Error: DB Connection Broken

An Accademic Scenario:

Probably App 1 is wrong

Error: DB Connection Broken Error: DB Connection Broken

Probably the DB is crashed

Error: Clients Connection Broken

Probably we have a Network Problem

  • Error is “just a point of view”
  • We need to have a global point of view to try to be
  • bjective

Conclusion:

slide-4
SLIDE 4

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

Error Handling

DB

App 1 App 2 App 3

  • Error is “just a point of view”
  • We need to have a global point of view to try to be fair

Consideration: Function Manager

slide-5
SLIDE 5

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

Handler in the RCMS context

Handler

Function Manager

Display Send to.. Collector

SOAP/XML Log State Error Monitor Comands

Publish Subscribe System Storage System

On-Line SUBSCRIBERS Persistent SUBSCRIBERS Handler Collector Different Formats

IMS IMS

Non XDaq Applications

slide-6
SLIDE 6

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

The Handler in the control tree

Handler Handler Handler

Controller

Handler

DB Pub Sub System

DM Tools Rule Discover Problem Solver

Controller Controller Controller

slide-7
SLIDE 7

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

DB

Publish Subscribe System

DM Tools Rule Discover

  • X

t t + At t - At

X X X X Y Y

Off line analysis, try to understand what happened during a system failure On line analysis, try to prevent a system failure

Problem Solver

Problem Solver, a quick view

slide-8
SLIDE 8

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

Handler: how it works

Handler

Function Manager Display Send to..

Collector

Unknown Format Unknown Meaning Non XDaq Applications Known Format Unknown Meaning Known Format known Meaning

slide-9
SLIDE 9

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

Handler: how it works (2)

DB JMS FM

Collector

Tomcat Display Send to..

Handler Collector Log (log4j, log4Cplus) State (log4j, XMLRappresentation) Error (CMSError, CBE, any other XML rappresentation) Monitor

Brain

Action Maker

Event Listener Event Listener Event Listener

Handler

Every possible algorithm can be plugged:Jess based systems, java classes, Neural Networks, etc.. They wait for an external input and they “present” it to the brain Set of API that allows the brain to perform action

  • Collector Listener
  • Multicollector Listener
  • Handler Listener
  • CMSError Simulator
  • CBE Simulator

Event Listener Implemented : Handler Manager WSDL

slide-10
SLIDE 10

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

What the final user has to do

Define his custom handling algorithm myHandlerBrain.doSomething(); public void doSomething();

slide-11
SLIDE 11

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

What the final user can also do

Define his custom Event Listener

slide-12
SLIDE 12

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

Technical Preview Content

Release versions: Messages API: Event Listener Implemented:

  • Stand alone version (JavaDoc and User Guide)
  • Tomcat version (JavaDoc and User Guide)
  • CBE messages format
  • Log4J&Log4Cplus messages format
  • CMSError schema (dummy)
  • Collector Event Listener
  • Multicollector Event Listener
  • Handler Event Listener
  • CBE messages Simulator
  • CMSError schema Simulator

Technical Preview On 31/03/2005 Code Available on CERN CVS

slide-13
SLIDE 13

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

Technical Preview Content (2)

Remote Control GUI&UI: Action Maker API for: Working Examples:

  • WS&WSDL
  • JSP
  • Function Manager Invocation
  • Messages display
  • Send messages to a collector
  • Send messages to an Handler
  • Jess Brain Sample (logic programming)
  • 2 Brain Class Sample
  • Chess Brain Sample (you can play chess with Xdaq!)

Technical Preview On 31/03/2005 Code Available on CERN CVS

slide-14
SLIDE 14

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

Spares

slide-15
SLIDE 15

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

Handler Comunication

Handler

Run Control and Monitor

Farm Manager Sub Farm Manager 1 Sub Farm Manager 2 Sub Farm Manager 3

Configuration Stored in a XML File

slide-16
SLIDE 16

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

Handler Comunication(2)

Run Control and Monitor Farm Manager Sub Farm Manager 1 Sub Farm Manager 2 Sub Farm Manager 3

Message:

  • Asynchronous Messages
  • JMS Object Messages
  • No XML Serialization
  • Any Possible Format
  • JMS Broker:

SunMessageQueue3.5 Comunication:

  • Send to One Son
slide-17
SLIDE 17

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

Handler Comunication(3)

Run Control and Monitor Farm Manager Sub Farm Manager 1 Sub Farm Manager 2 Sub Farm Manager 3

Comunication:

  • Send to One Son
  • Send to Father

Message:

  • Asynchronous Messages
  • JMS Object Messages
  • No XML Serialization
  • Any Possible Format
  • JMS Broker:

SunMessageQueue3.5

slide-18
SLIDE 18

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

Handler Comunication(4)

Run Control and Monitor Farm Manager Sub Farm Manager 1 Sub Farm Manager 2 Sub Farm Manager 3

Comunication:

  • Send to One Son
  • Send to Father
  • Send to Children

Message:

  • Asynchronous Messages
  • JMS Object Messages
  • No XML Serialization
  • Any Possible Format
  • JMS Broker:

SunMessageQueue3.5

slide-19
SLIDE 19

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

Handler Comunication(5)

Run Control and Monitor Farm Manager Sub Farm Manager 1 Sub Farm Manager 2 Sub Farm Manager 3

Comunication:

  • Send to One Son
  • Send to Father
  • Send to Children
  • Send to All

Message:

  • Asynchronous Messages
  • JMS Object Messages
  • No XML Serialization
  • Any Possible Format
  • JMS Broker:

SunMessageQueue3.5

slide-20
SLIDE 20

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

Handler Comunication(6)

Run Control and Monitor Farm Manager Sub Farm Manager 1 Sub Farm Manager 2 Sub Farm Manager 3

Comunication:

  • Send to One Son
  • Send to Father
  • Send to Sons
  • Send to All
  • Send to a Generic

Handler Message:

  • Asynchronous Messages
  • JMS Object Messages
  • No XML Serialization
  • Any Possible Format
  • JMS Broker:

SunMessageQueue3.5

slide-21
SLIDE 21

D.S.I. D.S.I. Venezia Venezia L.N.L L.N.L

CMS

Handler Comunication(7)

Run Control and Monitor Farm Manager Sub Farm Manager 1 Sub Farm Manager 2 Sub Farm Manager 3

Comunication:

  • Send to One Son
  • Send to Father
  • Send to Children
  • Send to All
  • Send to a Generic

Handler

  • Send to me

Message:

  • Asynchronous Messages
  • JMS Object Messages
  • No XML Serialization
  • Any Possible Format
  • JMS Broker:

SunMessageQueue3.5