Naming and Code Conventions for ALICE DCS (1st thoughts)

Slides:



Advertisements
Similar presentations
Software change management
Advertisements

Configuration management
The Detector Control System – FERO related issues
A Common Naming and Numbering Scheme for ALICE L. Betev, P. Chochula ALICE week Geneva, June 16.
Peter Chochula CERN-ALICE ALICE DCS Workshop, CERN September 16, 2002 DCS – Frontend Monitoring and Control.
The International Security Standard
Remote access to PVSS projects and security issues DCS computing related issues Peter Chochula.
S.PopescuAlice DCS workshop, Colmar, Standards for control room PVSS panels A brainstorm meeting.
1 Databases in ALICE L.Betev LCG Database Deployment and Persistency Workshop Geneva, October 17, 2005.
Peter Chochula, January 31, 2006  Motivation for this meeting: Get together experts from different fields See what do we know See what is missing See.
Supervision of Production Computers in ALICE Peter Chochula for the ALICE DCS team.
Clara Gaspar, May 2010 The LHCb Run Control System An Integrated and Homogeneous Control System.
Requirements Engineering
Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 3 Administration of Users.
70-293: MCSE Guide to Planning a Microsoft Windows Server 2003 Network, Enhanced Chapter 14: Problem Recovery.
This chapter is extracted from Sommerville’s slides. Text book chapter
Fundamentals of Networking Discovery 1, Chapter 2 Operating Systems.
Module 13: Configuring Availability of Network Resources and Content.
15 Maintaining a Web Site Section 15.1 Identify Webmastering tasks Identify Web server maintenance techniques Describe the importance of backups Section.
Summary DCS Workshop - L.Jirdén1 Summary of DCS Workshop 28/29 May 01 u Aim of workshop u Program u Summary of presentations u Conclusion.
1 Status & Plans DCS WS L.Jirdén. 2 DCS Planning FINAL INST COM- MISS BEAM OP PRE- INST DET DCS URD ENG. SOLUTIONS PROTOTYPE SUBSYSTEM.
Software Requirements Engineering CSE 305 Lecture-2.
JCOP Workshop September 8th 1999 H.J.Burckhart 1 ATLAS DCS Organization of Detector and Controls Architecture Connection to DAQ Front-end System Practical.
André Augustinus 10 September 2001 Common Applications to Prototype A two way learning process.
Configuration Management (CM)
Update on Database Issues Peter Chochula DCS Workshop, June 21, 2004 Colmar.
Peter Chochula ALICE DCS Workshop, October 6,2005 DCS Computing policies and rules.
June 14, 2005 Alice DCS workshop, Utrecht S.Popescu Guidelines and conventions for ALICE PVSSII control software Graphical User Interface Naming and Numbering.
The Joint COntrols Project Framework Manuel Gonzalez Berges on behalf of the JCOP FW Team.
ALICE DCS Meeting.- 05/02/2007 De Cataldo, Franco - INFN Bari - 1 ALICE dcsUI Version 3.0 -dcsUI v3.0 is ready and will be soon posted on the ACC site.
André Augustinus 10 September 2001 DCS Architecture Issues Food for thoughts and discussion.
1 Responsibilities & Planning DCS WS L.Jirdén.
D etector C ontrol S ystem ALICE DCS workshop G. De Cataldo CERN-CH, A. Franco INFN Bari, I 1 Finite State Machines (FSM) for the ALICE DCS:
André Augustinus 10 October 2005 ALICE Detector Control Status Report A. Augustinus, P. Chochula, G. De Cataldo, L. Jirdén, S. Popescu the DCS team, ALICE.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
1 Week #10Business Continuity Backing Up Data Configuring Shadow Copies Providing Server and Service Availability.
Peter Chochula DCS Remote Access and Access Control Peter Chochula.
P. Chochula ALICE Week Colmar, June 21, 2004 Status of FED developments.
Managing the Impacts of Change on Archiving Research Data A Presentation for “International Workshop on Strategies for Preservation of and Open Access.
20th September 2004ALICE DCS Meeting1 Overview FW News PVSS News PVSS Scaling Up News Front-end News Questions.
André Augustinus 21 June 2004 DCS Workshop Detector DCS overview Status and Progress.
15-16/3/04 DCS workshop G. De Cataldo, A,.Franco and A. Tauro 1 Answers from the HMPID to the ACC questions 1.Concerning global DCS overview drawing 2.Concerning.
G. Dissertori ETHZ CMS Electronics ECAL DCS : Plans for 2003 G. Dissertori ETHZ
ALICE Condition DataBase Magali Gruwé CERN PH/AIP Alice Offline week May 31 st 2005.
ALICE Use of CMF (CC) for the installation of OS and basic S/W OPC servers and other special S/W installed and configured by hand PVSS project provided.
Peter Chochula ALICE Offline Week, October 04,2005 External access to the ALICE DCS archives.
October 9th 2006ALICE WEEK - DCS WorkShop1 DEVICE USER SUPPORT OVERVIEW - Presentation - First Line Support - Reference System - Current Developpement.
DCS Software Installation computing, network, software guidelines, procedures Peter Rosinsky, Peter Chochula, ACC team ALICE DCS Workshop, CERN, 5-6 March.
1 Chapter 12 Configuration management This chapter is extracted from Sommerville’s slides. Text book chapter 29 1.
14 November 08ELACCO meeting1 Alice Detector Control System EST Fellow : Lionel Wallet, CERN Supervisor : Andre Augustinus, CERN Marie Curie Early Stage.
The DCS Databases Peter Chochula. 31/05/2005Peter Chochula 2 Outline PVSS basics (boring topic but useful if one wants to understand the DCS data flow)
1 Chapter Overview Understanding Shared Folders Planning, Sharing, and Connecting to Shared Folders Combining Shared Folder Permissions and NTFS Permissions.
Report on database work for INB in ALICE Latchezar Betev (ALICE) Information Session INB – June 8, 2006.
Peter Rosinsky, ALICE week, Bologna 1 PVSS/Fw OPC/DIM Network ALICE DCS Naming Conventions Peter Rosinsky & Peter Chochula, ACC team.
1 Introduction to Shared Folders Shared folders provide network users access to files. Users connect to the shared folder over the network. Users must.
Hands-On Microsoft Windows Server 2008 Chapter 7 Configuring and Managing Data Storage.
T0 DCS Status DCS Workshop March 2006 T.Karavicheva on behalf of T0 team.
Windows Terminal Services for Remote PVSS Access Peter Chochula ALICE DCS Workshop 21 June 2004 Colmar.
Summary of TPC/TRD/DCS/ECS/DAQ meeting on FERO configuration CERN,January 31 st 2006 Peter Chochula.
D. EliaALICE week / DCS workshop - Sept 20, SPD Power Supply System DCS status Domenico Elia INFN Bari.
Database Issues Peter Chochula 7 th DCS Workshop, June 16, 2003.
André Augustinus 18 March 2002 ALICE Detector Controls Requirements.
JCOP Framework and PVSS News ALICE DCS Workshop 14 th March, 2006 Piotr Golonka CERN IT/CO-BE Outline PVSS status Framework: Current status and future.
M. Caprini IFIN-HH Bucharest DAQ Control and Monitoring - A Software Component Model.
Online Software November 10, 2009 Infrastructure Overview Luciano Orsini, Roland Moser Invited Talk at SuperB ETD-Online Status Review.
Supervision of production computers DCS security Remote access to DCS Peter Chochula 9 th DCS Workshop, March 15, 2004 Geneva.
DCS Status and Amanda News
Peter Chochula Calibration Workshop, February 23, 2005
Presentation transcript:

Naming and Code Conventions for ALICE DCS (1st thoughts)

P. Chochula, 11 th DCS Workshop, Geneva, Sept 20, Need for coding convention is evident, most people will now start developments and will face this problem soon. In fact, this talk has been motivated by user requests System management requires a well defined naming strategy for application installation paths etc. Purpose of this talk is to stimulate discussion – please do not hesitate to interrupt and raise your questions

P. Chochula, 11 th DCS Workshop, Geneva, Sept 20, Conventions to be discussed cover following topics: –Naming rules for PVSS developments –Rules for software installation, directories naming and standard paths

P. Chochula, 11 th DCS Workshop, Geneva, Sept 20, Basic Rules DCS team does not intent to provide an exhaustive list of conventions. Motivation for proposed rules is to avoid clashes while integrating sub-detector systems Organization of sub-detector specific code remains the responsibility of sub-detector groups.

P. Chochula, 11 th DCS Workshop, Geneva, Sept 20, Basic Rules Related to PVSS Projects PVSS standards are adopted –Please read embedded PVSS help for reference Proposed rules are based on : –JCOP framework sub-project guidelines and conventions (CERN-JCOP ) Only minor changes of this document (in prefix assignment) are needed for ALICE On following slides we will summarize some of the recommended rules and their adaptation for ALICE

P. Chochula, 11 th DCS Workshop, Geneva, Sept 20, Reference Documents JCOP framework sub-project guidelines and conventions (CERN-JCOP ) – (Framework) Naming and Look-and-Feel conventions –htt://pvssjcopfw-training.web.cern.ch/pvssjcopfw- training/Handouts/JCOPFrameworkGuidelinesDraft6NamingandLook-and-FeelConventions.pdf Naming and Numbering Convention for the ALICE Detector Part Identification – Generic Scheme – ALICE-INT Definition of the ALICE Coordinate System and Basic Rules for Sub-detector Components Numbering ALICE-INT ALICE offline coding conventions - ->Code Development -> Coding rules PVSS embedded documentation (Help)

P. Chochula, 11 th DCS Workshop, Geneva, Sept 20, General Naming Conventions interCapNotation is used Start of each word in Composed names starts with capital letter. All names start with small letter (with exception of DPT names) Due to PVSS limitations, datapoint types were required to be unique while putting several PVSS systems together. The new PVSS version has overcome this limit, so the rules can be less restrictive –As a consequence, policy for assigning prefixes is “relaxed” and we can adopt a convenient scheme based on detector names

P. Chochula, 11 th DCS Workshop, Geneva, Sept 20, ALICE PVSS System Names and Domain Prefix Each domain has an allocated prefix. For general ALICE systems this has been set to : “ali_”. Sub-detectors use their own prefix (example: tpc_, spd_ …) Prefix is followed by the controlled sub-system name (lv, hv, fero …). If a system is in charge with several subsystems (e.g. joining lv and hv together), the sub-system name is skipped Full systemName must be meaningful, it is assigned by system responsible person and must be unique within the domain Example: spd_lvControl stands for a controls system responsible for low-voltage in pixel detector Note: sub-detector abbreviations are written in lower case (spd, tpc) – with exception of datapoint types Note: interCapNotation is valid also for sub-system abbreviations (e.g. Hv, Lv, Fero)

P. Chochula, 11 th DCS Workshop, Geneva, Sept 20, Sub-detector and Sub-system Codes Sub-detector and group codes are defined in ALICE-INT DCS sub-system codes are defined as follows: Sub-systemCode Low-voltagelv High-voltagehv Coolingcooling Gasgas Front-end and readout electronics fero Detectors which implement additional systems (e.g. laser, calibration etc.) will provide their list and propose a convenient code. ALICE DCS team will assure, that the codes are homogenous across ALICE

P. Chochula, 11 th DCS Workshop, Geneva, Sept 20, Datapoints and Datapoint Types The system name is used as a part of datapoint name: [systemName:]dpName.[dpElement]:config.[detail].attribute systemName is unique for each PVSS system and is essential for integration of several PVSS systems. It can be passed as a $-parameter to general panels Datapoint names start always with small letter (see next slide for an example), sub-detector code is used as a prefix Names of datapoint types always start with capital letter, both in prefix and name

P. Chochula, 11 th DCS Workshop, Geneva, Sept 20, Example of Datapoint and Datapoint Types Naming Let’s illustrate the principle on two examples: Datapoint Type: Spd_HvChannelStatus Datapoint name: spd_hvChannelStatus Full datapoint name (including the system) spd_hvControlSystem:spd_hvChannelStatus

P. Chochula, 11 th DCS Workshop, Geneva, Sept 20, Additional Conventions Additional naming conventions (like for information datapoints, panels, variables etc.) are based on CERN-JCOP and are following the rules explained in previous slides Conventions for naming of FED server commands and services are under discussion with groups involved in their implementation and will be made publicly available Please communicate your remarks/wishes to DCS team

P. Chochula, 11 th DCS Workshop, Geneva, Sept 20, Rules for Software Installation There are three main reasons for standardizing the software paths: –Seamless installation procedures require well defined targets which must not differ between computers –If an expert is asked to debug a part of the software, he wants to find system components in standard paths –Moving projects between computers is simple task only if standard programs are installed in standard places For example, if framework software is installed in different place, one has to modify the project config file as well while moving the project to another system

P. Chochula, 11 th DCS Workshop, Geneva, Sept 20, Standard Naming for File Paths We assume that each DCS computer will contain at least two disk partitions (could be on the same disk) Disk drive letters assigned to these partitions are “C:” and “D:”, while C: is reserved for boot partition. (in MS terminology boot partition stores the operating system, system partition is the one which is bootable…) Drive letter assignment for network disks will be defined later Note: use of external or removable media (USB disks, USB sticks) will be restricted on DCS network for security reasons

P. Chochula, 11 th DCS Workshop, Geneva, Sept 20, Standard Directories for Windows Based Systems Operating system: C:\Windows PVSS C:\Programs\PVSS JCOP framework: C:\Programs\Framework Additional software (OPC servers, etc.) C:\Programs\productName Windows specific software : C:\Program Files\...

P. Chochula, 11 th DCS Workshop, Geneva, Sept 20, There will be one and only version of PVSS system as well as of JCOP framework software installed The person responsible for DCS computing will define and maintain the production version of PVSS and JCOP framework to be used in ALICE

P. Chochula, 11 th DCS Workshop, Geneva, Sept 20, PVSS Project Paths on Windows- based Systems PVSS project path D:\PVSS_Projects\ProjectName PVSS project-related backup path D:\PVSS_Backups\ProjectName –Note: the backup path will be revised after final release of ORACLE archiving

P. Chochula, 11 th DCS Workshop, Geneva, Sept 20, Conclusions, what will happen next? The discussed list is far from being complete Please discuss it with your software designers and send your comments to the DCS team DCS team will collect the requirements and propose a definitive convention –This will be an extension of reference documents (see slide 6) We propose a time period of 3 weeks for your replies and additional period of 3 weeks for discussion before we freeze the definitions