Presentation is loading. Please wait.

Presentation is loading. Please wait.

D.S.I. Venezia L.N.L CMS Error Handling in RCMS An Overview Francesco Lelli

Similar presentations


Presentation on theme: "D.S.I. Venezia L.N.L CMS Error Handling in RCMS An Overview Francesco Lelli"— Presentation transcript:

1 D.S.I. Venezia L.N.L CMS Error Handling in RCMS An Overview Francesco Lelli Francesco.lelli@lnl.infn.it

2 D.S.I. Venezia L.N.L CMS Error Handler Principles An Error Handling Framemork: Purpose & Functionality Framework Customization Overview

3 D.S.I. Venezia 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 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 objective Conclusion:

4 D.S.I. Venezia 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

5 D.S.I. Venezia 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 Non XDaq Applications

6 D.S.I. Venezia L.N.L CMS The Handler in the control tree Handler Controller Handler DB Pub Sub System DM Tools Rule Discover Problem Solver Controller

7 D.S.I. Venezia L.N.L CMS DB Publish Subscribe System DM Tools Rule Discover t - At t t + At 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

8 D.S.I. Venezia 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

9 D.S.I. Venezia 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 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

10 D.S.I. Venezia L.N.L CMS What the final user has to do Define his custom handling algorithm myHandlerBrain.doSomething(); public void doSomething();

11 D.S.I. Venezia L.N.L CMS What the final user can also do Define his custom Event Listener

12 D.S.I. Venezia 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

13 D.S.I. Venezia 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

14 D.S.I. Venezia L.N.L CMS Spares

15 D.S.I. Venezia 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

16 D.S.I. Venezia 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

17 D.S.I. Venezia 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

18 D.S.I. Venezia 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

19 D.S.I. Venezia 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

20 D.S.I. Venezia 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

21 D.S.I. Venezia 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


Download ppt "D.S.I. Venezia L.N.L CMS Error Handling in RCMS An Overview Francesco Lelli"

Similar presentations


Ads by Google