here - LHC Software Analysis

Download Report

Transcript here - LHC Software Analysis

CMW status
February 2002
Kris Kostro
CMW status 6 Feb. 2002
Outline
CMW components (1 slide)
Status of components and services (4
slides)
Relations with supported clients (5
slides)
CMW status 6 Feb. 2002
CMW models and services
Device/property model allows get/set/subscribe on
properties of named devices. Data is transported as
language-independent data objects. The core of
implementation is RDA, it is Object-Oriented and is using
CORBA. It is the mainstream of CMW. All CERN
accelerator devices can be accessed today this way.
Topic model is essentially based on JMS with some CMWdeveloped wrappers. A commercial product (SonicMQ) is
assuring this functionality. It is currently little used. As it
is standard, commercial product ideal for loosely-coupled
systems, we want to promote use of it.
Services provided by CMW include Device Naming Service,
Database Service, CMW Device Explorer and administration
facilities.
CMW status 6 Feb. 2002
Device/Property model
RDA
Stable since Oct. 2001.
New release with cleanups (February)
Scheduled development – Asynchronous support in server,
access control (Spring 2002)
Device API
Current version as of Oct. 2001.
Improved (final) version being prepared (February)
Server Framework
New Framework since October
Stable. No major changes planned
CMW status 6 Feb. 2002
CMW – made servers
PS Server
Stable – will be deployed on start – up
Planned improvements concern server generation
SL-Equip server
Recently ported to the new framework
Full SL-Equip functionality supported
SL-Equip devices are being defined in DB (April)
Can run as GW on Linux or native on LynxOS 3.1
To be stress-tested and used for Passerelle (April)
OPC server
Original version as of April 2001
Has to be ported to the new server framework (Summer
2002)
CMW status 6 Feb. 2002
Topic model, Services
JMS SonicMQ
Stable
Explore & promote use
Naming services
Stable
Database Services
New DB for OPC and SL-Equip definitions (April)
Explorer and administration services
New version for May 2002
CMW status 6 Feb. 2002
Other
Documentation
Full programming documentation available as
JavaDoc and Doxygen for C++
Software User Manual available (~50 pages) but
not completed yet
Deployment & versioning
Managed by Razor
Release management not existing
LynxOS3.1 in SL
Being introduced slowly
CMW status 6 Feb. 2002
Supported clients
PS application section (Michel Arruat)
At the level of Device API.
Existing base of Java applications
LHC Power Converters
CMW evaluation
Special version to test thread-pool for asynch requests
Had to go through Server Framework change
Was suffering from non-existing release management
CMW will provide asynchronous get/set support in server
CMW is well-adapted to the problem, provides suitable
architecture
CMW status 6 Feb. 2002
Supported clients (cont.)
RF (Luca Arnaudon & Olivier Brunner)
Got application for Kfocus using OPC server running in 2
weeks without previous Java knowledge
Prepared to use CMW for a setup with Compact PCI and
Acquiris card + OPC server + VME to control timing
use Java Dataviewer to display mountain range
SPS Passerelle project (Excel access)
Dormant since the first version has been demonstrated
Has to implement subscription. Can profit from new SL-Equip
server.
CMW status 6 Feb. 2002
Supported clients (cont.)
BI (BISCOTO)
Technical discussion with JJ End of January
Discussed all details
No technical problems – waiting for JJ to go ahead with
prototype
Should be straightforward as API similar to SL-Equip
CMW status 6 Feb. 2002
SPS2001 and CMW
Deadlock between End of 1999 and Oct 2001
Concept of contracts has been defined in-line with
device/property model
1999/2000 MW evaluation and design
Series of meetings Sept/Oct 2000
New SPS2001 Project Leader November 2001
6 Dec 2001 meeting between CMW and SPS2001
Kris makes a proposal on interaction CMW/Equipment/SPS2001
Concluded that SPS2001 will attempt to use CMW to access
SPS BCT and Multitune measurements
Attempt to understand measurements within SPS2001
19 December meeting on measurements, Kris asks for a
simple measurement framework agreed with BI
Attempted to analyze MKP server
CMW status 6 Feb. 2002
SPS2001 and CMW (cont.)
Meeting Mid January
Mike asks for a combined solution (SPS2001 server
“plugged” into CMW)
Michel defines “MW independent contract framework”
Do not understand!
If CMW should be used by SPS2001
Accept device/property get/set/subscribe model
Define data representation (CMW or SPS2001 style)
Should be possible to use CMW servers but a combined
CMW/SPS2001 server framework is possible.
Self-describing capabilities can be added easily to CMW
servers.
Additional requirements such as client ID can be added.
CMW status 6 Feb. 2002
October 2000 conclusion
(by Kris)
Kris reported from the 5 meetings in which he, Vito, Marc and Francesco
from the MW team participated. For Kris the conclusions were not
satisfactory as no edge-cutting decision was taken. Pierre Charrue has
requested the following:
Modifying the CMW and SPS2001 API's such that they are identical.
(the conclusion from the presentation was that the API's are almost the
same anyway).
MW shall support requirements of SPS2001 such as automatic
reconnection, client identification and "support for dynamic devices"
the latter being a rather vague concept.
SPS2001 shall provide precise contract definition.
Kris reckons that there is no technical problem to fulfill the requirements,
except that the "dynamic devices" would have to be better defined.
CMW status 6 Feb. 2002
User written
Java Control
Programs
RAD programs
(VB, Excel)
C Programs
Existing or off-shelf
Middleware Client API
Device/Property Model
Naming
Service
Clients
Middleware
CMW Architecture
Topic Model
CMW Infrastructure
RDA, CORBA, JMS
Configuration
Service
Virtual Devices
(Java, C++)
New
Servers
SL-Equip
Server
PS-GM
Server
Physical Devices (RF, BT, BI, Powering)
CMW status 6 Feb. 2002
OPC
Gateway
Servers
Server Framework API (C++, Java)