error handling in rcms error handling in rcms
play

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


  1. 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.

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

  3. CMS Error Handling An Accademic Scenario: Error: DB Connection Broken Probably the DB Error: Clients App 1 Connection Error: DB is crashed Probably App 1 Broken Connection Broken is wrong Probably we have a App 2 DB Error: DB Network Connection Problem Broken App 3 Conclusion: • Error is “just a point of view” • We need to have a global point of view to try to be objective L.N.L L.N.L D.S.I. Venezia Venezia D.S.I.

  4. CMS Error Handling Function Manager App 1 App 2 DB App 3 Consideration: • Error is “just a point of view” • We need to have a global point of view to try to be fair L.N.L L.N.L D.S.I. Venezia Venezia D.S.I.

  5. CMS Handler in the RCMS context On-Line SUBSCRIBERS IMS IMS Publish Subscribe Persistent Display System SUBSCRIBERS Send to.. Collector Handler Handler Storage Function System Collector Manager Different Formats SOAP/XML Log Comands State Error Monitor Non XDaq Applications L.N.L L.N.L D.S.I. Venezia Venezia D.S.I.

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

  7. CMS Problem Solver, a quick view Problem Solver Rule Discover On line analysis, try to prevent Publish a system failure Subscribe System DM Tools DB Off line analysis, try to understand what happened during a system failure t - At t t + At X X X X X Y - Y L.N.L L.N.L D.S.I. Venezia Venezia D.S.I.

  8. CMS Handler: how it works Known Format Known Format Display known Meaning Unknown Meaning Send to.. Handler Function Collector Manager Unknown Format Unknown Meaning Non XDaq Applications L.N.L L.N.L D.S.I. Venezia Venezia D.S.I.

  9. CMS Handler: how it works (2) They wait for an external Set of API that allows the input and they “present” it brain to perform action to the brain Tomcat WSDL JMS Handler Manager Display Event Listener Send to.. Action Collector Brain Event Maker Listener Handler DB Event FM Handler Listener Collector Event Listener Implemented : Log (log4j, log4Cplus) • Collector Listener State (log4j, XMLRappresentation) Every possible algorithm can • Multicollector Listener be plugged:Jess based Error (CMSError, CBE, any other • Handler Listener systems, java classes, Neural XML rappresentation) • CMSError Simulator Networks, etc.. • CBE Simulator Monitor L.N.L L.N.L D.S.I. Venezia Venezia D.S.I.

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

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

  12. CMS Technical Preview Content Technical Preview On 31/03/2005 Release versions: • Stand alone version (JavaDoc and User Guide) • Tomcat version (JavaDoc and User Guide) Messages API: • CBE messages format • Log4J&Log4Cplus messages format • CMSError schema (dummy) Event Listener Implemented: • Collector Event Listener • Multicollector Event Listener • Handler Event Listener • CBE messages Simulator Code Available on • CMSError schema Simulator CERN CVS L.N.L L.N.L D.S.I. Venezia Venezia D.S.I.

  13. CMS Technical Preview Content (2) Technical Preview On 31/03/2005 Code Available on Remote Control GUI&UI: CERN CVS • WS&WSDL • JSP Action Maker API for: • Function Manager Invocation • Messages display • Send messages to a collector • Send messages to an Handler Working Examples: • Jess Brain Sample (logic programming) • 2 Brain Class Sample • Chess Brain Sample (you can play chess with Xdaq!) L.N.L L.N.L D.S.I. Venezia Venezia D.S.I.

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

  15. CMS Handler Comunication Run Control and Monitor Handler Farm Manager Sub Farm Sub Farm Sub Farm Manager 1 Manager 2 Manager 3 Configuration Stored in a XML File L.N.L L.N.L D.S.I. Venezia Venezia D.S.I.

  16. CMS Handler Comunication(2) Run Control Comunication: and Monitor • Send to One Son Message: • Asynchronous Messages • JMS Object Messages • No XML Serialization Farm • Any Possible Format Manager • JMS Broker: SunMessageQueue3.5 Sub Farm Sub Farm Sub Farm Manager 1 Manager 2 Manager 3 L.N.L L.N.L D.S.I. Venezia Venezia D.S.I.

  17. CMS Handler Comunication(3) Run Control Comunication: and Monitor • Send to One Son • Send to Father Message: • Asynchronous Messages • JMS Object Messages • No XML Serialization Farm • Any Possible Format Manager • JMS Broker: SunMessageQueue3.5 Sub Farm Sub Farm Sub Farm Manager 1 Manager 2 Manager 3 L.N.L L.N.L D.S.I. Venezia Venezia D.S.I.

  18. CMS Handler Comunication(4) Run Control Comunication: and Monitor • Send to One Son • Send to Father Message: • Send to Children • Asynchronous Messages • JMS Object Messages • No XML Serialization Farm • Any Possible Format Manager • JMS Broker: SunMessageQueue3.5 Sub Farm Sub Farm Sub Farm Manager 1 Manager 2 Manager 3 L.N.L L.N.L D.S.I. Venezia Venezia D.S.I.

  19. CMS Handler Comunication(5) Run Control Comunication: and Monitor • Send to One Son • Send to Father Message: • Send to Children • Asynchronous Messages • Send to All • JMS Object Messages • No XML Serialization Farm • Any Possible Format Manager • JMS Broker: SunMessageQueue3.5 Sub Farm Sub Farm Sub Farm Manager 1 Manager 2 Manager 3 L.N.L L.N.L D.S.I. Venezia Venezia D.S.I.

  20. CMS Handler Comunication(6) Run Control Comunication: and Monitor • Send to One Son • Send to Father Message: • Send to Sons • Asynchronous Messages • Send to All • JMS Object Messages • Send to a Generic • No XML Serialization Farm Handler • Any Possible Format Manager • JMS Broker: SunMessageQueue3.5 Sub Farm Sub Farm Sub Farm Manager 1 Manager 2 Manager 3 L.N.L L.N.L D.S.I. Venezia Venezia D.S.I.

  21. CMS Handler Comunication(7) Run Control Comunication: and Monitor • Send to One Son • Send to Father Message: • Send to Children • Asynchronous Messages • Send to All • JMS Object Messages • Send to a Generic • No XML Serialization Farm Handler • Any Possible Format Manager • Send to me • JMS Broker: SunMessageQueue3.5 Sub Farm Sub Farm Sub Farm Manager 1 Manager 2 Manager 3 L.N.L L.N.L D.S.I. Venezia Venezia D.S.I.

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend