ICALEPCS 2005 - Archamp 08 – 09 October, 2005 ACS Configuration Database G.Chiozzi, B.Jeram European Southern Observatory.

Slides:



Advertisements
Similar presentations
Welcome to Middleware Joseph Amrithraj
Advertisements

Database System Concepts and Architecture
Tokyo July, 2005 Deployment of ACS components Bogdan Jeram European Southern Observatory.
Synera The Software That Thinks Like You Do Synera Technical Presentation.
NRAO/ESO videocon, Feb.12, 2004 ACS ALMA Common software G.Chiozzi and the ACS team.
Radko Zhelev, IPP BAS Generic Resource Framework for Cloud Systems 1 Generic Resource Framework for Cloud Systems.
G O B E Y O N D C O N V E N T I O N WORF: Developing DB2 UDB based Web Services on a Websphere Application Server Kris Van Thillo, ABIS Training & Consulting.
Object-Oriented Enterprise Application Development Tomcat 3.2 Configuration Last Updated: 03/30/2001.
Peoplesoft Fundamentals David Lewis 10/18/02 (adapted from Psoft Training Materials)
ACS Configuration Database(s)
A brief look at CORBA. What is CORBA Common Object Request Broker Architecture developed by OMG Combine benefits of OO and distributed computing Distributed.
Apache Tomcat Server – installation & use Server-side language-- use Java Server Pages Contrast Client-side languages HTML Forms Servers & Server-side.
Layers & Tiers Umair Javed Lec - 41.
Multiple Tiers in Action
CS CS 5150 Software Engineering Lecture 13 System Architecture and Design 1.
Tomcat Configuration A Very, Very, Very Brief Overview.
Web Application Architecture: multi-tier (2-tier, 3-tier) & mvc
Talend 5.4 Architecture Adam Pemble Talend Professional Services.
Construction of efficient PDP scheme for Distributed Cloud Storage. By Manognya Reddy Kondam.
Introduction to ASP.NET. Prehistory of ASP.NET Original Internet – text based WWW – static graphical content  HTML (client-side) Need for interactive.
Configuration Management and Server Administration Mohan Bang Endeca Server.
From Client Server to WEB Rizwan Akhtar Tangible Technologies
Chemical Toxicity and Safety Information System Shuanghui Luo Ying Li Jin Xu.
6st ACS Workshop UTFSM ACS Course Component, Container, Lifecycle Management 6st ACS Workshop UTFSM, Valparaiso, Chile H. Sommer, G. Chiozzi.
Introduction to J2EE Architecture Portions by Kunal Mehta.
ANSTO E-Science workshop Romain Quilici University of Sydney CIMA CIMA Instrument Remote Control Instrument Remote Control Integration with GridSphere.
M1G Introduction to Database Development 6. Building Applications.
Session 26 Modeling the Static View: The Deployment Diagram Written by Thomas A. Pender Published by Wiley Publishing, Inc. October 27, 2011 Presented.
Lecturer: Prof. Piero Fraternali, Teaching Assistant: Alessandro Bozzon, Advanced Web Technologies: Struts–
MACIASZEK, L.A. (2001): Requirements Analysis and System Design. Developing Information Systems with UML, Addison Wesley Chapter 6 - Tutorial Guided Tutorial.
Oracle 10g Database Administrator: Implementation and Administration Chapter 2 Tools and Architecture.
Garching January, 2007 Configuration Database and Deployment of ACS components Bogdan Jeram, changes by Heiko Sommer European Southern.
1 Schema Registries Steven Hughes, Lou Reich, Dan Crichton NASA 21 October 2015.
ILDG Middleware Status Chip Watson ILDG-6 Workshop May 12, 2005.
ACS Logging System APIs: C++ Bogdan Jeram European Southern Observatory July 2004NRAO.
MobileMAN Internal meetingHelsinki, June 8 th 2004 NETikos activity in MobileMAN project Veronica Vanni NETikos S.p.A.
ICALEPCS Archamp 08 – 09 October, 2005 ACS Alarm system prototype Alessandro Caproni.
Mainframe (Host) - Communications - User Interface - Business Logic - DBMS - Operating System - Storage (DB Files) Terminal (Display/Keyboard) Terminal.
CS CS 5150 Software Engineering Lecture 13 System Architecture and Design 1.
Introduction to dCache Zhenping (Jane) Liu ATLAS Computing Facility, Physics Department Brookhaven National Lab 09/12 – 09/13, 2005 USATLAS Tier-1 & Tier-2.
ACS Error System APIs: C++ Bogdan Jeram European Southern Observatory July 2005ESO.
ALICE, ATLAS, CMS & LHCb joint workshop on
ACS Component Simulator J. Ibsen European Southern Observatory Garching – January 2007ESO.
ALMA Common Software Basic Track A walk through ACS functionality.
CSC 480 Software Engineering Lecture 18 Nov 6, 2002.
Implementation Diagrams
Running ACS Bogdan Jeram European Southern Observatory July 2005NAOJ.
ICALEPCS’ GenevaACS in ALMA1 Allen Farris National Radio Astronomy Observatory Lead, ALMA Control System.
Apr. 8, 2002Calibration Database Browser Workshop1 Database Access Using D0OM H. Greenlee Calibration Database Browser Workshop Apr. 8, 2002.
Sakai WebApp Structure
Maite Barroso - 10/05/01 - n° 1 WP4 PM9 Deliverable Presentation: Interim Installation System Configuration Management Prototype
NAOJ, Tokyo – July 04-08, 2005 ACS Configuration Database Bogdan Jeram European Southern Observatory.
1st ACS Workshop UTFSM, Valparaiso, Chile ACS Course The Big Picture of ACS H. Sommer, G.Chiozzi.
Copyright 2007, Information Builders. Slide 1 iWay Web Services and WebFOCUS Consumption Michael Florkowski Information Builders.
ALMA Common Software Basic Track Configuration Database.
Apache Solr Dima Ionut Daniel. Contents What is Apache Solr? Architecture Features Core Solr Concepts Configuration Conclusions Bibliography.
Introduction. System Design Hardware/Software Platform Selection Software Architectures Database Design Human-Computer Interaction (HCI) Interface Object.
Interstage BPM v11.2 1Copyright © 2010 FUJITSU LIMITED INTERSTAGE BPM ARCHITECTURE BPMS.
R R R CSE870: UML Component Diagrams Implementation Diagrams.
Introduction to Oracle Forms Developer and Oracle Forms Services
Structure of a web application
ALMA Common Software Basic Track
Introduction to Oracle Forms Developer and Oracle Forms Services
ACS Alarm System A. Caproniac
Java Servlets By: Tejashri Udavant..
Introduction to Oracle Forms Developer and Oracle Forms Services
Introduction to J2EE Architecture
Copyright © 2011 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 2 Database System Concepts and Architecture.
Lecture 1: Multi-tier Architecture Overview
Presentation transcript:

ICALEPCS Archamp 08 – 09 October, 2005 ACS Configuration Database G.Chiozzi, B.Jeram European Southern Observatory

ALMA Project 2ICALEPCS 2005 Archamp 08 – 09 October, nd ALMA Common Software Workshop CDB: the purpose The ACS Configuration Database addresses the problems related to defining, accessing and maintaining the configuration of a system. For each Component on the system, there might be a set of static (or quasi-static) configuration parameters that have to be configured in a persistent store and read when the Component is started up or re-initialized. CharacteristicComponents MUST have configuration information in the CDB

ALMA Project 3ICALEPCS 2005 Archamp 08 – 09 October, nd ALMA Common Software Workshop Configurable deployment This includes the “structure” of the system, i.e. which statically deployed Components are part of the system and their inter-relationships. –looking at the CDB only you should be able to see how the Components are distributed among the Containers and on what hosts the Containers are running. –For Components connected to HW, this would tell you as well what HW you are using and where it is located. –Changing the CDB you can move Components around and distribute them in a different way in the system. Deployment for dynamic components is not part of the CDB

ALMA Project 4ICALEPCS 2005 Archamp 08 – 09 October, nd ALMA Common Software Workshop CDB Issues 1.input of data by the user System configurators define the structure of the system and enter the configuration data. Easy and intuitive data entry methods are needed. 2.storage of the data The configuration data is kept into a database. 3.maintenance and management of the data (e.g. versioning) Configuration data changes because the system structure and/or the implementation of the system’s components changes with time and has to be maintained under configuration control. 4.loading data into the ACS Containers At run-time, the data has to be retrieved and used to initialize and configure the Components.

ALMA Project 5ICALEPCS 2005 Archamp 08 – 09 October, nd ALMA Common Software Workshop Three-tier database-access architecture DB Engine independent Tiers: Database engine Database Access Layer (DAL). Database clients: –Data clients –CDB administrators Database DAL/CDB Server Data client CDB Administrati on 3 – Database clients 2 – Database Access Layer (DAL) 1 – Database engine Read-write admin. interface Read- only Data interface

ALMA Project 6ICALEPCS 2005 Archamp 08 – 09 October, nd ALMA Common Software Workshop CDB data organization Data is organized/structured as hierarchy of nodes – objects (DAO) that can contain fields (=data values).

ALMA Project 7ICALEPCS 2005 Archamp 08 – 09 October, nd ALMA Common Software Workshop An example of data organization root node1 node2 node3 f1 f2 field Field_1 Field_2 Field_3

ALMA Project 8ICALEPCS 2005 Archamp 08 – 09 October, nd ALMA Common Software Workshop Configuration Database: Component Schemas

ALMA Project 9ICALEPCS 2005 Archamp 08 – 09 October, nd ALMA Common Software Workshop Data organization (directory hierarchy) CDB (root) –MACI (system deployment data) Managers Containers Components (just component deployment data) –alma (component specific data)

ALMA Project 10ICALEPCS 2005 Archamp 08 – 09 October, nd ALMA Common Software Workshop CDB Browser

ALMA Project 11ICALEPCS 2005 Archamp 08 – 09 October, nd ALMA Common Software Workshop DAL implementation jDAL – Java implementation of DAL interface CDB data organization/structure is achieved by: –file system –XML schema (XSD) – defines structure of DAO Data is stored in XML files in directory hierarchy (Characteristic)Component -> DAO -> XSD implementator has to provide XSD

ALMA Project 12ICALEPCS 2005 Archamp 08 – 09 October, nd ALMA Common Software Workshop DAL Server DAL server implements DAL IDL: interface DAL { string get_DAO( in string curl ) raises (RecordDoesNotExist,XMLerror); DAOget_DAO_Servant( in string curl ) raises (RecordDoesNotExist,XMLerror); oneway void shutdown(); //data change handling long add_change_listener( in DALChangeListener listener ); void listen_for_changes( in string curl, in long listenerID ); void remove_change_listener( in long listenerID ); // listing stringlist_nodes( in string name ); };

ALMA Project 13ICALEPCS 2005 Archamp 08 – 09 October, nd ALMA Common Software Workshop DAO IDL interface DAO { longget_long( in string propertyName ) raises (WrongDataType, FieldDoesNotExist); doubleget_double( in string propertyName ) raises (WrongDataType, FieldDoesNotExist); stringget_string( in string propertyName ) raises (WrongDataType, FieldDoesNotExist); stringget_field_data( in string propertyName ) raises (WrongDataType, FieldDoesNotExist); stringSeq get_string_seq( in string propertyName ) raises (WrongDataType, FieldDoesNotExist); longSeq get_long_seq( in string propertyName ) raises (WrongDataType, FieldDoesNotExist); doubleSeq get_double_seq( in string propertyName) raises (WrongDataType, FieldDoesNotExist); };

ALMA Project 14ICALEPCS 2005 Archamp 08 – 09 October, nd ALMA Common Software Workshop Component retrieves data from C++ MyComponent::MyComponent( ACE_CString _name, maci::ContainerServices* pCS) {... try { CDB::DAL_ptr dal_p = pCS->getCDB(); CDB::DAO_ptr dao_p = dal_p->get_DAO_Servant(m_name); description = dao_p->get_string( "description" ); m_units = dao_p->get_string( "units" ); m_min_step = dao_p->get_double( "minStep" ); } catch(... ) { ReportError( m_name, "Unable to read configuration!" ); return false; }

ALMA Project 15ICALEPCS 2005 Archamp 08 – 09 October, nd ALMA Common Software Workshop DAL change notification Get notification from CDB in case of changes interface DALChangeListener : ACS::OffShoot { voidobject_changed( in string curl ); }; interface DAL { long add_change_listener(in DALChangeListener listener); void listen_for_changes(in string curl, in long listenerID); void remove_change_listener(in long listenerID); };

ALMA Project 16ICALEPCS 2005 Archamp 08 – 09 October, nd ALMA Common Software Workshop Documentation ACS home page OnlineDocs/CDB.pdf CDB Browser: OnlineDocs/CDB_Browser_Users_Manual. pdf