Database Services for Physics @ CERN



Similar documents
Tier0 plans and security and backup policy proposals

Internet Services. CERN IT Department CH-1211 Genève 23 Switzerland

Distributed Database Access in the LHC Computing Grid with CORAL

Product Review: James F. Koopmann Pine Horse, Inc. Quest Software s Foglight Performance Analysis for Oracle

CERN local High Availability solutions and experiences. Thorsten Kleinwort CERN IT/FIO WLCG Tier 2 workshop CERN

Techniques for implementing & running robust and reliable DB-centric Grid Applications

High Availability Databases based on Oracle 10g RAC on Linux

Rob Zoeteweij CUSTOMER CASE CONFIGURATION MANAGEMENT PROVISIONING & AUTOMATED PATCHING

Programa de Actualización Profesional ACTI Oracle Database 11g: SQL Tuning Workshop

Why Standardize on Oracle Database 11g Next Generation Database Management. Thomas Kyte

Designing, Optimizing and Maintaining a Database Administrative Solution for Microsoft SQL Server 2008

Proactive database performance management

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated R2

MS Design, Optimize and Maintain Database for Microsoft SQL Server 2008

Expert Oracle Exadata

Oracle Database Public Cloud Services

Project Manager 1 Post == Experience years in Project Management in reputed company, Salary Rs.1,20,000/-

Oracle Database 11g: RAC Administration Release 2

A SURVEY OF POPULAR CLUSTERING TECHNOLOGIES

Learn Oracle WebLogic Server 12c Administration For Middleware Administrators

About the Author About the Technical Contributors About the Technical Reviewers Acknowledgments. How to Use This Book

Database Monitoring Requirements. Salvatore Di Guida (CERN) On behalf of the CMS DB group

ORACLE INSTANCE ARCHITECTURE

Oracle Database Solutions on VMware High Availability. Business Continuance of SAP Solutions on Vmware vsphere

How To Test For A Test On A Test Server

SQL Server Training Course Content

The Ultimate Remote Database Administration Tool for Oracle, SQL Server and DB2 UDB

SolarWinds Database Performance Analyzer (DPA) or OEM?

ORACLE DATABASE ADMINISTRATOR RESUME

Oracle Database 11g: SQL Tuning Workshop Release 2

Replication solutions for Oracle database 11g. Zbigniew Baranowski

ITG Software Engineering

Oracle Databases on VMware High Availability

Oracle Database 12c: Performance Management and Tuning NEW

Oracle Database 10g. Page # The Self-Managing Database. Agenda. Benoit Dageville Oracle Corporation benoit.dageville@oracle.com

Job Descriptions REMEDY. Job Code: 4870 Level 2 Support. Skill: Remedy Experience: 3-6 yrs Location: Chennai. Candidate Profile: Mandatory Skills:

Oracle RAC Services Appendix

Exadata Database Machine Administration Workshop NEW

Deploying a distributed data storage system on the UK National Grid Service using federated SRB

Exadata and Database Machine Administration Seminar

Oracle to SQL Server 2005 Migration

Customer evaluation guide Toad for Oracle v12 Database administration

Introduction to Database as a Service

Development Best Practices

Performance Tuning and Optimizing SQL Databases 2016

Blackboard Learn TM, Release 9 Technology Architecture. John Fontaine

Implementing a Microsoft SQL Server 2005 Database

On- Prem MongoDB- as- a- Service Powered by the CumuLogic DBaaS Platform

Cloud computing - Architecting in the cloud

Project Convergence: Integrating Data Grids and Compute Grids. Eugene Steinberg, CTO Grid Dynamics May, 2008

Instant-On Enterprise

Top Down Performance Management with OEM Grid Control Or How I learned to stop worrying and love OEM Grid Control John Darrah, DBAK

Planning and Administering Windows Server 2008 Servers

Global Grid User Support - GGUS - start up schedule

Managing and Maintaining Windows Server 2008 Servers (6430) Course length: 5 days

Predicting Change Outcomes Leveraging SQL Server Profiler

Designing Database Solutions for Microsoft SQL Server 2012 MOC 20465

Best Practices for Monitoring Databases on VMware. Dean Richards Senior DBA, Confio Software

Course Syllabus. Maintaining a Microsoft SQL Server 2005 Database. At Course Completion

Mind Q Systems Private Limited

Microsoft SQL Server for Oracle DBAs Course 40045; 4 Days, Instructor-led

SQL Server 2012 Database Administration With AlwaysOn & Clustering Techniques

Global Grid User Support - GGUS - in the LCG & EGEE environment

ARDA Experiment Dashboard

OTM Performance OTM Users Conference Jim Mooney Vice President, Product Development August 11, 2015

Scalability and BMC Remedy Action Request System TECHNICAL WHITE PAPER

Oracle Database Security and Audit

Explain how to prepare the hardware and other resources necessary to install SQL Server. Install SQL Server. Manage and configure SQL Server.

An Oracle White Paper November Oracle Real Application Clusters One Node: The Always On Single-Instance Database

Report from SARA/NIKHEF T1 and associated T2s

DATABASE ADMINISTRATION (DBA) SERVICES

Designing and Deploying Messaging Solutions with Microsoft Exchange Server 2010 Service Pack B; 5 days, Instructor-led

Enterprise GIS Solutions to GIS Data Dissemination

KillTest. 半 年 免 费 更 新 服 务

Oracle vs. SQL Server. Simon Pane & Steve Recsky First4 Database Partners Inc. September 20, 2012

ORACLE BUSINESS INTELLIGENCE, ORACLE DATABASE, AND EXADATA INTEGRATION

Introduction. Part I: Finding Bottlenecks when Something s Wrong. Chapter 1: Performance Tuning 3

1. This lesson introduces the Performance Tuning course objectives and agenda

Architecting ColdFusion For Scalability And High Availability. Ryan Stewart Platform Evangelist

Red Hat Network Satellite Management and automation of your Red Hat Enterprise Linux environment

Module 14: Scalability and High Availability

Red Hat Satellite Management and automation of your Red Hat Enterprise Linux environment

Real-Time Database Protection and. Overview IBM Corporation

Proactive Performance Monitoring Using Metric Extensions and SPA

Unicenter Database Management For Distributed RDBMS

ORACLE DATABASE 11G: COMPLETE

Maintaining a Microsoft SQL Server 2008 Database

Oracle Database 11g: Performance Tuning DBA Release 2


SAP HANA SAP s In-Memory Database. Dr. Martin Kittel, SAP HANA Development January 16, 2013

LEARNING SOLUTIONS website milner.com/learning phone

Transcription:

Database Services for Physics @ CERN Deployment and Monitoring Radovan Chytracek CERN IT Department

Outline Database services for physics Status today How we do the services tomorrow? Performance tuning Monitoring Oracle monitoring sensors Status of monitoring Conclusions 11 May 2007 Radovan Chytracek, CERN IT Department 2

Database Services for Physics Mandate DB Applications deployment, DB administration, Consulting Data challenges, data distribution between CERN & T1 centers (3D project) Scope LHC & non-lhc experiments ATLAS, CMS, LHCb, Alice + COMPASS & HARP LHC Grid applications FTS, LFC, VOMS, GridView Preparation activities for LHC start-up increase requirements for DB service Number of DB servers, data volume, availability, scalability, automated deployment procedures Having scalable and reliable service is the priority 11 May 2007 Radovan Chytracek, CERN IT Department 3

Database Services for Physics Today HW infrastructure Oracle Sun cluster Set of single DB instances SUN cluster overloaded Difficulties to isolate existing applications Not the fastest storage Still on Oracle 9i Maintenance issues for single DB instances Many used to run as stop-gap to off-load SUN cluster, now phased out No load balancing & fail-over Complex maintenance & backup 11 May 2007 Radovan Chytracek, CERN IT Department 4

Towards a Scalable Service for LHC Deploying Oracle 10g RAC/Linux Isolation (10g services), Scalability (CPU & storage), Reliability (failover), Manageability (easier to administer) Coordinating work-plan across several IT groups Hardware now in place and acceptance tested RAC configuration and functionality tests going on now Working on automated DB Server install integrated with s/w installation tools used for OS (thanks to IT/FIO) Setting-up several RAC systems 4 x 2-node RAC for LHC experiments 2-node integration + 4-node testing RAC Migrating apps from SUN cluster to RAC by end of 2005 11 May 2007 Radovan Chytracek, CERN IT Department 5

Oracle RAC Architecture 11 May 2007 Radovan Chytracek, CERN IT Department 6

Steps Towards a Reliable Service Well defined pro-active deployment process Proper planning of database capacity (volume & CPU) Insure the optimization of key applications before production starts Classified database application types Resource consuming applications Guarantee of resources Start low, increase as needed Standard applications Smaller database applications which can run in a shared service Layered service implemented Development Service (code development, low data volumes, no backup) Integration and Validation Service (for key apps) Enough resources for larger tests, consulting available, booking 2 months in advance Production Service Full production quality service (backup, monitoring, on call service) Monitoring to detect new resource consuming applications or changes in access patterns 11 May 2007 Radovan Chytracek, CERN IT Department 7

Performance tuning Constant fight on three front-lines HW (CPU, network, storage) Server side (OS, DB, schema design) Client side (bugs, wrong practices, queries) HW can be improved by better iron SW should be safe by not making mistakes New or upgraded apps have the same or new bugs Good schema designs is often difficult Following good practices seems to be tough job too DBAs are inevitable DBAs are inevitable Spit out & analyze the bad things & give advices 24/7 11 May 2007 Radovan Chytracek, CERN IT Department 8

Tracing Server side Various levels, session tracing is the most used one Must ship the server trace file back to user Security issues, some development effort required Supported by LCG SW (POOL Oracle plug-in) Client side Required to make the whole picture complete Does not exist out-of-the-box Application code instrumentation needed Often connected to monitoring systems Support being built into LCG SW 11 May 2007 Radovan Chytracek, CERN IT Department 9

Monitoring Allow DBAs and developers inspect the current state of a database instance in an easy way without a need for complex software Goal is to enable database & application level monitoring in coherent way with the existing OS level monitoring provided by LEMON Easy access via web interface to quantities and trends describing current database instance behavior with keeping their history and possibility to zoom in a given time period 11 May 2007 Radovan Chytracek, CERN IT Department 10

Monitoring Metrics Considered OEM repository but requires OEM infrastructure in place and not all instances are in OEM What if OEM is down? Data kept only 1 month Source: instance s s SYS.V$... performance views The baseline DB metrics extracted from SYS.V$SYSSTAT dynamic performance view Recalculated exactly the same way as done in OEM Examples: SQLNet in/out data rate, logical I/O, physical I/O, SQL per second Application level monitored via SYS.V$SESSION views 11 May 2007 Radovan Chytracek, CERN IT Department 11

DB sensor for LEMON version I SQL script executed via SQLPlus Connecting to the locally detected database Shell driver script executed by a simple Perl sensor in LEMON framework Detects local DB settings from /etc/oratab file and names of local oracle daemons (pmon ) LEMON DB Monitored DB instance LEMON framework Activates each 5 mins Communication via pipe DB sensor Captures stdout from driver script lemon_sensor.sh Executes query via Sqlplus and writes data to stdout query lemon_sensor.sql 11 May 2007 Radovan Chytracek, CERN IT Department 12

DB sensor for LEMON version II SQL queries still executed via SQLPlus Connecting to the locally detected or remote database SQL*Plus tool wrapped in Perl class module Allows to keep single permanent connection only DB instance & SQL*Plus tool auto detection DDL & DML and queries API provided LEMON DB SQLPlus.pm Monitored DB instance LEMON framework Activates each 5 mins Communication via pipe DB sensor Captures output from Oracle sensor oracle_sensor.pl Executes query via Sqlplus instance query SQLPlus instance result 11 May 2007 Radovan Chytracek, CERN IT Department 13

Monitoring status DB LEMON sensors tested on various systems Single DB instances, Oracle 9i/10g LEMON databases RAC systems, Oracle 10g Web display & metrics deployed in LEMON development version Little development needed DB metadata read from OEM repository Clicking a metrics graph in detailed view jumps to zoomable time period view similar to OEM RAC cluster databases shown as computer cluster in LEMON 11 May 2007 Radovan Chytracek, CERN IT Department 14

Next steps The monitoring of the WAIT events in progress Performance tuning is difficult without having these Deployment of the new LEMON DB sensor on all physics databases Currently running on selected instances and few RAC nodes Oracle installation procedures need to be updated to include proper monitoring settings 11 May 2007 Radovan Chytracek, CERN IT Department 15

Summary Building DB services for LHC is a challenge Well defined pro-active service is required Performance tuning and testing are essential for the resource planning Save some resources by proper monitoring For details about the LEMON system, see talk by Miroslav Siket later this afternoon 11 May 2007 Radovan Chytracek, CERN IT Department 16

For the Curious Check out the upcoming LCG Database Deployment And Persistency Workshop 17 October - 19 October 2005 http://agenda.cern.ch/fullagenda.php?ida=a055549 11 May 2007 Radovan Chytracek, CERN IT Department 17