DB Installation and Care Carmine Cioffi Database Administrator and Developer ICAT Developer Workshop, The Cosener's House 25-26 August 2009 1.

Slides:



Advertisements
Similar presentations
ITEC474 INTRODUCTION.
Advertisements

Copyright GeneGo CONFIDENTIAL »« MetaCore TM (System requirements and installation) Systems Biology for Drug Discovery.
Database Optimization & Maintenance Tim Richard ECM Training Conference#dbwestECM Agenda SQL Configuration OnBase DB Planning Backups Integrity.
ICAT Integration at DLS. Alun Ashton. What were the requirements? Integrate with current business system Collect Data and Metadata relating to a proposal.
Chapter 9 Auditing Database Activities
System Administration Accounts privileges, users and roles
Gavin Payne Oracle for SQL Server DBAs. Why Oracle? Installation Physical Storage Backup and Recovery 20 slides in 50 minutes Inside the database Programmability.
Presenter: Raman Chohan. AGENDA Oracle Best Practices Oracle Backups Why upgrade to Oracle 11? Performance Troubleshooting axiUm Pre-Upgrade Checklist.
1 Recovery and Backup RMAN TIER 1 Experience, status and questions. Meeting at CNAF June of 2007, Bologna, Italy Carlos Fernando Gamboa, BNL Gordon.
United Nations Development Program India Coordination & Decision Support System (CDSS) on External Assistance Department of Economic Affairs Ministry of.
AGENDA Tools used in SQL Server 2000 Graphical BOL Enterprise Manager Service Manager CLI Query Analyzer OSQL BCP.
VMware vCenter Server Module 4.
1 RAL Status and Plans Carmine Cioffi Database Administrator and Developer 3D Workshop, CERN, November 2009.
BNL Oracle database services status and future plans Carlos Fernando Gamboa RACF Facility Brookhaven National Laboratory, US Distributed Database Operations.
Project Implementation for COSC 5050 Distributed Database Applications Lab1.
Technology Expectations in an Aeros Environment October 15, 2014.

Database Security and Auditing: Protecting Data Integrity and Accessibility Chapter 3 Administration of Users.
Data Administration & Database Administration
Fermilab Oct 17, 2005Database Services at LCG Tier sites - FNAL1 FNAL Site Update By Anil Kumar & Julie Trumbo CD/CSS/DSG FNAL LCG Database.
Oracle on Windows Server Introduction to Oracle10g on Microsoft Windows Server.
Basic Oracle Architecture
Oracle Application Express (Oracle APEX), formerly called HTML DB, is a Free rapid web application development tool for the Oracle database.
 For Oracle Based Products  Windows XP Professional-SP3 / Window7-SP1 (32 Bit)  Min. Dual Processor or above  RAM 2GB or above  Internet explorer.
Maintaining a Mirrored Database Tips and Tricks by Paul G. Hiles.
1Introduction Objectives 1-2 Course Objectives 1-3 Oracle Products 1-4 Relational Database Systems 1-5 How the Data Is Organized 1-6 Integrity Constraints.
Service Review and Plans Carmine Cioffi Database Administrator and Developer 3D Workshop, Barcelona (ES), April 2009.
CDF Taking Stock ‘08 1 By Anil Kumar CD/LSCS/DBI/DBA July 16, 2008.
Eurotrace Hands-On The Eurotrace File System. 2 The Eurotrace file system Under MS ACCESS EUROTRACE generates several different files when you create.
Informix IDS Administration with the New Server Studio 4.0 By Lester Knutsen My experience with the beta of Server Studio and the new Informix database.
CMSBrownBag,05/29/2007 B.Mangano How to “use” CMSSW on own Linux Box and be happy In this context “use” means: - check-out pre-compiled CMSSW code - run.
SVN Repository for Project WISE SoE Monitoring Stations and INSPIRE
Daniela Anzellotti Alessandro De Salvo Barbara Martelli Lorenzo Rinaldi.
CERN IT Department CH-1211 Geneva 23 Switzerland t Daniel Gomez Ruben Gaspar Ignacio Coterillo * Dawid Wojcik *CERN/CSIC funded by Spanish.
CERN - IT Department CH-1211 Genève 23 Switzerland t DB Development Tools Benthic SQL Developer Application Express WLCG Service Reliability.
Database weekly reports Zbigniew Baranowski Carlos Fernando Gamboa.
CASTOR Databases at RAL Carmine Cioffi Database Administrator and Developer Castor Face to Face, RAL February 2009.
1 Chapter Overview Preparing to Upgrade Performing a Version Upgrade from Microsoft SQL Server 7.0 Performing an Online Database Upgrade from SQL Server.
V.Sirotenko, July Status of Online Databases Currently there are 2 online Oracle Databases running on d0online cluster: 1.Production DB, d0onprd,
Some Cool Tools for the PeopleSoft Support Team Session #20649 March 13, 2006 Alliance 2006 Conference Nashville, Tennessee.
DATABASE TOOLS CS 260 Database Systems. Overview  Database accounts  Oracle SQL Developer  MySQL Workbench.
Continuous DB integration testing with RAT „RATCOIN”
1 Oracle Enterprise Manager Slides from Dominic Gélinas CIS
Integrated Monitoring Dashboard SEAP/BTIS/DB&I/Mar Integrated Monitoring Dashboard An Innovative Monitoring Approach Proposal by BTIS/DB&I.
OARN Database UPDATE – SEPTEMBER We’re Live – and Testing  The site is up and running in Google’s data centers:  The site has been secured: 
CERN IT Department CH-1211 Genève 23 Switzerland t DBA Experience in a multiple RAC environment DM Technical Meeting, Feb 2008 Miguel Anjo.
CERN - IT Department CH-1211 Genève 23 Switzerland t High Availability Databases based on Oracle 10g RAC on Linux WLCG Tier2 Tutorials, CERN,
LHCb File-Metadata: Bookkeeping Carmine Cioffi Department of Physics, Oxford University UK Metadata Workshop Oxford, 04 July 2006.
Distributed Logging Facility Castor External Operation Workshop, CERN, November 14th 2006 Dennis Waldron CERN / IT.
Database Performance Eric Grancher - Nilo Segura Oracle Support Team IT/DES.
BNL Oracle database services status and future plans Carlos Fernando Gamboa, John DeStefano, Dantong Yu Grid Group, RACF Facility Brookhaven National Lab,
Maria Girone CERN - IT Tier0 plans and security and backup policy proposals Maria Girone, CERN IT-PSS.
CNAF Database Service Barbara Martelli CNAF-INFN Elisabetta Vilucchi CNAF-INFN Simone Dalla Fina INFN-Padua.
Metric Studio Cognos 8 BI. Objectives  In this module, we will examine:  Concepts and Overview  An Introduction to Metric Studio  Cognos 8 BI Integration.
AMGA-Bookkeeping Carmine Cioffi Department of Physics, Oxford University UK Metadata Workshop Oxford, 05 July 2006.
Introduction to Utilities for New DBAs Session #332 4/19/2008 Erik Hobbs Introduction to Utilities for New DBAs.
Log Shipping, Mirroring, Replication and Clustering Which should I use? That depends on a few questions we must ask the user. We will go over these questions.
Introduction to Oracle  Oracle Database XE, APEX and Oracle SQL Developer.
Creating Grid Resources for Undergraduate Coursework John N. Huffman Brown University Richard Repasky Indiana University Joseph Rinkovsky Indiana University.
9 Copyright © 2004, Oracle. All rights reserved. Getting Started with Oracle Migration Workbench.
LCG 3D Distributed Deployment of Databases
Lead SQL BankofAmerica Blog: SQLHarry.com
1Z0-071 Exam : Oracle Database 12c SQL
NGS Oracle Service.
Get Verified Oracle 1z0-062 Study Material - Oracle 1z0-062 Exam Dumps PDF Realexamdumps.com
JD Edwards Support and Oracle Cloud Infrastructure: A Successful Path to Oracle Cloud
ISYS366, Database Administration II
ODP node monitoring and maintenance
Index Index.
Before start the Installation process :
Presentation transcript:

DB Installation and Care Carmine Cioffi Database Administrator and Developer ICAT Developer Workshop, The Cosener's House August

Outline Team and Our Role The Oracle Server ICAT Schemas SVN Installation Initialization ICAT Jobs Monitoring and Backup ICAT DLS Passed and Future Work 2

Team and Our Role Gordon D. Brown Keir C. Hawker Carmine Cioffi Eter Pani Richard B. Sinclair 3

Team and Our Role We all watch over the databases. Keir and I are the primary DBA on ICAT system but if something does happen to us (e.g. we get swine flu  ) there will always be someone to look after ICAT (even Gordon ) We actively participate in the development and maintenance of the database schema and PL/SQL code 4

The Oracle Server Version bit 5nodes RAC Each node has 2 Dual core Intel Xeon GHz 4 GB RAM Red Hat Enterprise Linux 4 Is located in the new building R89 (UPS room) 5

RAC diagram 6

ICAT Schemas ICAT system makes use of 3 schemas: –The main database (ICAT) where the real data are stored –API schema is used by the application API to store user session information –Data Portal schema is used by the Data Portal application to store user session information 7

ICAT Schemas Different schemas are installed for different version and for different facility: –CLF has none ICAT Version 3.1: Only ICAT DLS is installed ICAT( 280MB) Data Portal(51MB) 8

ICAT Schemas Version 3.3 Both facilities (DLS, ISIS) are installed ICAT size –DLS 223MB –ISIS 10.5 GB Data Portal size: –DLS 3MB –ISIS 3MB API size: –DLS 20MB –ISIS 36MB 9

SVN We have two SVN repositories: –EDB SVN: subversion system for our own code –ICAT SVN: subversion system for ICAT code ICAT SVN: –Contains the ICAT DB-schema installation scripts –Used by developers (?) –Used by us –Is the ICAT official code repository EDB SVN: –Contains the ICAT API and Data Portal DB- schema installation scripts –Is used only by us 10

SVN EDB SVN (cons): –It is not the ICAT official repository –It is a private area –We dump the schemas from the production database: No way to keep track of changes in the schema apart from taking regular dump from the database –If we install a new ICAT API or Data Portal schema we may miss the latest changes This should change: –EDB Scripts should be stored in ICAT SVN –Developers should maintain it 11

Installation We create an account (schema in Oracle terms) We put the ICAT initialization files on the database server. These are tvs files We run the installation script: –We got an installation script for each ICAT flavour: DLF,ISIS and CLF install_icatdls.sql install_icatisis.sql install_icatclf.sql Distribute the connection string, password and account name 12

Initialization The initialization is done using external tables With External tables is possible to read data from external (tvs) text files stored on the server ICAT 3.1 use 8 external tables: ICAT 3.3 use 11 external tables 13

Initialization ICAT 3.1 external tables: –EXTERN_DATAFILE_FORMAT –EXTERN_DATASET_STATUS –EXTERN_DATASET_TYPE –EXTERN_FACILITY_CYCLE –EXTERN_INSTRUMENT –EXTERN_INVESTIGATION_TYPE –EXTERN_PARAMETER_LIST –EXTERN_STUDY_STATUS ICAT 3.3 external tables –EXTERN_DATAFILE_FORMAT –EXTERN_DATASET_STATUS –EXTERN_DATASET_TYPE –EXTERN_FACILITY_CYCLE –EXTERN_ICAT_ROLE –EXTERN_INSTRUMENT –EXTERN_INVESTIGATION_TYPE –EXTERN_PARAMETER_LIST –EXTERN_STATION_SCIENIST –EXTERN_STUDY_STATUS –EXTERN_THIS_ICAT 14

ICAT JOBS ICAT 3.1: –ISIS: None –DLS: ICAT_DLS_PROPOGATION: –Enabled –Run every 15 minutes ICAT 3.3: –ISIS: SET_RANGE_AND_DATES: –Enabled –Run every 15 minutes –DLS: SET_RANGE_AND_DATES: –Disabled ICAT_DLS_PROPOGATION: –Enabled –Run every 30 minutes 15

Monitoring and Backup Oracle Enterprise Manager: –manages the database –monitors the database –set up alert for metrics that cross threshold set by us Recovery Manager (RMAN): –Helps to makes database backup –Database Backups are done daily on the local file system –File system backup to tape (ADS) are done daily 16

Monitoring and Backup 17

Monitoring and Backup 18

ICAT DLS The ICAT DLS system does deploy at the moment 15 different databases: –DUO desk –ICAT –13 Ikittens The propagation job (ICAT_DLS_PROPOGATION) is responsible of keeping data flowing between them 19

ICAT DLS propagation job flow chart 20 DUO deskICAT I02 I03 I22 I04 I16 I041 I05 I24 I19 I18 I15 I11 P60 propagation ICAT database is located in R89 DUO desk is located at Diamond Each Ikitten is local at each diamond beam line New investigation with shifts (etc.) are set at DUO desk level. This information is then propagated to ICAT and from here to the Ikittens.

Passed and Future Work Last year we worked with Devigo on the development of the new ICAT schemas (ICAT 3.3) : –Creation of the migration script from ICAT 3.1 to ICAT 3.3 –Update the propagation script –Develop new triggers and PL/SQL packages –Help in tuning SQL statements We are fully dedicated in maintaining the current system and committed to help any further development that may raise from this meeting 21

ANY QUESTIONS?