1 / 18

RCMS – Plan of work Michele Gulmini DAQ Weekly 7th May 2002

RCMS – Plan of work Michele Gulmini DAQ Weekly 7th May 2002. RCMS S ummary. Security Service. UserDB. ConfDB. Resource Service. Run Session the hardware and software needed to operate a physics or test run with the entire or a partition of the CMS apparatus.

Download Presentation

RCMS – Plan of work Michele Gulmini DAQ Weekly 7th May 2002

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. RCMS – Plan of work Michele Gulmini DAQ Weekly 7th May 2002

  2. RCMS Summary Security Service UserDB ConfDB Resource Service • Run Session • the hardware and software needed to operate a physics or test run with the entire or a partition of the CMS apparatus. • Multiple Run Sessions may coexist and run concurrently • Every activated run session has the own Session Manager • Services • SECURITY SERVICE (SS) • login and authentication procedures • RESOURCE SERVICE (RS) • It manages the elements of the DAQ system: • configuration of the components • Session and Partition mngrs • Information and Monitor System (IMS) • It collects all the information originated from the sub-systems, and provides them to the requesting clients • JOB CONTROL • It starts, monitor and kill the software infrastructure of the RCMS • PROBLEM SOLVER • It uses the information provides by IMS to catch severe malfunctions of the apparatus and try to fix them UI Info&Mon Service LogDB UI Session Manager UI Services Connection Run Bkkpng Job Ctrl Problem Solver Sub-System Controller RCMS All the Services are accessible via well defined APIs. So they can work independently to serve a specific application (e.g. configure a XDAQ system) or fully integrated in the RCMS to provide a full Run Control System.

  3. UI UI UI UI GUI GUI RCMS prototype status RCMS Security Service UserDB Servlet Container Apache TomCat ConfDB XML:DB + mySQL Resource Service Internet XML -http Info&Mon Service LogDB Session Manager XML over http protocols Run Bkkpng Job Ctrl Problem Solver FSM FSM Function Manager XDAQ Adapter Sub-System XDAQ Resources

  4. RCMS prototype status • Resource Service with Security Service. Interactive GUI to handle run sessions, partitions, etc. Customizable according to the application needs (e.g. Test beams, simple test environment, etc.) • Session Manager • Function Manager • XDaq adapter (XDAQ december version) • Finite State Machine • First integration and tests with xdaq nodes • GUI: work in progress • IMS: under development

  5. Resource Service Implementation Manual Resources Handler Available Resources Resource Subscribing Handler New Node subscribe request CONFIG DB Partition Data Base Still alive heartbeat ping all the Registered nodes Session, Partition Setup Software Data Base Sessions, Partitions definition Session, Partition management http API to add, modify delete, retrieve a resource description. Resources can be: sessions, partitions, hrdw description, sftw, FSM description, FSM code, etc. Resource Service Servlet XML XML Parser (Castor) XML:DB XML Java Objs REL DB Java Servlet

  6. F S M F S M F S M F S M F S M F S M XML definition XML definition XML definition XML definition XML definition XML definition Java Impl. Java Impl. Java Impl. Java Impl. Java Impl. Java Impl. Resources Resources Session and Function Manager Implementation Resource Service • Function Managers and Session Manager have a built in FSM to track the status of the related controlled components. The FSM is composed of a XML definition and a Java class implementation reppresenting the actions to be performed. • FSM definition and implementation are managed by the Resource Service. SM servlet download def. + impl. FM servlet FM servlet SOAP XDAQ XML/HTTP

  7. RCMS Light to configure small systems GUI PC1 • This light version of RCMS allows to handle (store, retrieve, download) configurations of small systems and control them • The version can include: • Simple command and resource configuration GUI • A single Tomcat managing SS, RS and FM and the download mechanism to the XDAQ resources PC2 FM SS Tomcat RS XDAQ resources

  8. FSM Function Manager XDAQ Adapter RCMS prototype status RCMS Security Service UserDB Servlet Container Apache TomCat ConfDB XML:DB + mySQL Resource Service Info&Mon Service LogDB GUI XML over http protocols Run Bkkpng Job Ctrl Problem Solver Sub-System XDAQ Resources

  9. Session Manager FSM FSM Function Manager XDAQ Adapter RCMS prototype status RCMS Security Service UserDB Servlet Container Apache TomCat ConfDB XML:DB + mySQL Resource Service Info&Mon Service LogDB GUI XML over http protocols Run Bkkpng Job Ctrl Problem Solver Sub-System XDAQ Resources

  10. Session Manager FSM FSM Function Manager XDAQ Adapter RCMS prototype status RCMS Security Service UserDB Servlet Container Apache TomCat ConfDB XML:DB + mySQL Resource Service Info&Mon Service LogDB GUI XML over http protocols Run Bkkpng Job Ctrl Problem Solver Sub-System XDAQ Resources

  11. Information and Monitor Service • IMS requirements: • collecting all the information coming from any DAQ resource or RCMS internal component • storing the information in a DBMS • providing the information to the clients “on request” • providing the information ‘asynchronously’ to the clients who subscribed to receive it (publish/subscribe protocol) • The information can be of several types: • log and error messages (information, warning, error, failure) • resource status change • monitor information (statistics, histograms,...) • others...

  12. System State Display IMS Information and Monitor Service - Example SM publish Query/response subscribe FM status change msg FM XDAQ Appl. Error, monitor msgs

  13. IMS logical view Log Messages Message Logger (DB) Client Subscriber Message Filtering and Dispatcher State logger Resource Status Change Monitor - History DB Monitor Info More … More … Info Error Statistics Error Statistics System State Display Monitor Systems Error Statistics Alarm Display

  14. IMS prototype (I) Soap Messages IMS Tomcat servlet container Soap subscriber 1 • Filter • Engine • XPath based NOTIFY XML message • Web Services technology • Sun JWSDP (Java Web Services Development Package) • Tomcat servlet container • JAXM (SOAP XML Messaging) • JAXP (XML Processing – SAX, DOM, XSLT + Xpath) • JAX-RPC (Java API for XML-based RPC) • JAXR (XML Registries) • XMLDB: Exist, mySQL SUBSCRIBE subscriber n JAXM QUERY XMLDB

  15. IMS core ? status Service 1 Tomcat 1 Log Service 1 UDDI client WSDL Service n Tomcat 2 • Clients looking for services, query first the UDDI server to discover the location of the service and then access to it • The single servlet container describes its services by means of the Web Service Description Language (WSDL) and then publishes them to the Universal Description Discovery and Integration (UDDI) registries IMS Prototype (II) • IMS: “standalone” or integrated in the RCMS • IMS core: new services can be plugged in XML Registries:

  16. IMS plans • IMS protocol definition (XML schema) • First proposal delivered end of March • This proposal is the reference of the first prototype • First prototype: (June CMS Week) • Log service • Subscribe/Publish mechanism • XPath based filtering mechanism • RCMS integration • Full prototype: (September) • XML Registries • Documentation • Software packaging and Distribution (release 0.1 delivering)

  17. RCMS Plans • June CMS Week: • RCMS prototype with RS and “IMS first prototype” integrated • Functionality tests with small (xdaq based) DAQs (e.g.: muon DAQ) (Legnaro-Cern) • First performances tests on a XDAQ enabled Linux cluster (Legnaro) • RCMS Light: packaging, documentation and distribution (release 0.1) to be discussed (Legnaro) • September CMS Week: • IMS full prototype (Cern) • Moving Resource Service, Session and Function Managers communication protocol to SOAP (Legnaro) • RCMS services compliant to web services technologies • Packaging, software distribution, documentation (RCMS release 0.1 delivering) • Other issues: • XML:DB product investigations: • Apache Xindice • Oracle 9i vers. 2 (May) (Legnaro) • GUI product investigations: • Flash Mx (embedded Flash code into Java) (Legnaro) • XML Registries investigation (Cern-Legnaro)

  18. Resource Service Security Service Info&Mon Service Job Ctrl UI UI Session Manager GUI Session Manager Problem Solver Sub-System Ctrl RCMS – a step forward Servlet Containers = web services DataMover Service UDDI DCS GTW Service WSDL SOAP 2 1 Conditions DB Srvc Event Ctlg Srvc WebCam Service Sub-System XDAQ Resources

More Related