Presentation is loading. Please wait.

Presentation is loading. Please wait.

CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 1 RCMS – Plan of work Michele Gulmini DAQ Weekly 7th May 2002.

Similar presentations


Presentation on theme: "CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 1 RCMS – Plan of work Michele Gulmini DAQ Weekly 7th May 2002."— Presentation transcript:

1 CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 1 RCMS – Plan of work Michele Gulmini DAQ Weekly 7th May 2002

2 CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 2 RCMS Summary Security Service UserDB 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 Resource Service Info&Mon Service Job Ctrl Problem Solver Sub-System Controller Services Connection Session Manager RCMS UI ConfDB LogDB Run Bkkpng 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 CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 3 RCMS prototype status Internet XML - http Internet XML - http Sub-System XDAQ Resources Security Service Resource Service Info&Mon Service Job Ctrl Problem Solver Function Manager XML over http protocols Session Manager RCMS UI GUI UserDB ConfDB LogDB Run Bkkpng UI GUI Servlet Container Apache TomCat XML:DB + mySQL FSM XDAQ Adapter FSM

4 CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 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 CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 5 Resource Service Implementation Java Servlet Resource Service Servlet XML XML:DB REL DB Java Objs XML Parser (Castor) http XML Resource Subscribing Handler Still alive heartbeat Session, Partition management Available Resources Partition Data Base Software Data Base New Node subscribe request ping all the Registered nodes Sessions, Partitions definition Session, Partition Setup Manual Resources Handler CONFIG DB API to add, modify delete, retrieve a resource description. Resources can be: sessions, partitions, hrdw description, sftw, FSM description, FSM code, etc.

6 CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 6 Session and Function Manager Implementation SM servlet Resource Service download def. + impl. FM servlet XML definition JavaImpl.FSM JavaImpl.FSM JavaImpl.FSM JavaImpl.FSM JavaImpl. FSM JavaImpl. FSM 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. Resources Resources XML/HTTP XDAQ SOAP

7 CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 7 RCMS Light to configure small systems PC1 PC2 Tomcat FM GUI XDAQ resources RS SS 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

8 CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 8 RCMS prototype status Sub-System XDAQ Resources Security Service Resource Service Info&Mon Service Job Ctrl Problem Solver XML over http protocols RCMS GUI UserDB ConfDB LogDB Run Bkkpng Servlet Container Apache TomCat XML:DB + mySQL Function Manager FSM XDAQ Adapter

9 CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 9 RCMS prototype status Sub-System XDAQ Resources Security Service Resource Service Info&Mon Service Job Ctrl Problem Solver XML over http protocols RCMS GUI UserDB ConfDB LogDB Run Bkkpng Servlet Container Apache TomCat XML:DB + mySQL Function Manager FSM XDAQ Adapter FSM Session Manager

10 CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 10 RCMS prototype status Sub-System XDAQ Resources Security Service Resource Service Info&Mon Service Job Ctrl Problem Solver XML over http protocols RCMS GUI UserDB ConfDB LogDB Run Bkkpng Servlet Container Apache TomCat XML:DB + mySQL Function Manager FSM XDAQ Adapter FSM Session Manager

11 CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 11 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... Information and Monitor Service

12 CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 12 Information and Monitor Service - Example XDAQAppl. SM FM FM Error, monitor msgs status change msg IMS System State Display Query/response subscribe publish

13 CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 13 IMS logical view Resource Status Change Error Statistics Message Logger (DB) State logger Monitor - History DB Message Filtering and Dispatcher Monitor Info System State Display Error Statistics Alarm Display Monitor Systems Client Subscriber Log Messages More … Info

14 CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 14 IMS prototype (I) IMS XMLDB FilterEngine XPath based subscriber 1 subscriber n JAXM XML message Soap Messages Tomcat servlet container NOTIFY Soap SUBSCRIBE QUERY 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)JAX-RPC (Java API for XML-based RPC) JAXR (XML Registries)JAXR (XML Registries) XMLDB: Exist, mySQL

15 CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 15 IMS Prototype (II) IMS: “standalone” or integrated in the RCMS IMS core: new services can be plugged in XML Registries: status Log ? IMScore Service 1 Service n UDDI WSDL 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 client Service 1 Clients looking for services, query first the UDDI server to discover the location of the service and then access to it Tomcat 1 Tomcat 2

16 CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 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 CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 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 CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 18 Problem Solver Info&Mon Service Resource Service RCMS – a step forward Sub-System XDAQ Resources Security Service Job Ctrl Sub-System Ctrl Servlet Containers = web services SOAP Session Manager Session Manager UI GUI UDDI 1 2 WSDL DataMover Service DCS GTW Service Conditions DB Srvc Event Ctlg Srvc WebCam Service


Download ppt "CMS Michele Gulmini, Cern, DAQ Weekly 07/05/2002 1 RCMS – Plan of work Michele Gulmini DAQ Weekly 7th May 2002."

Similar presentations


Ads by Google