ASM General Architecture

Slides:



Advertisements
Similar presentations
12 Copyright © 2006, Oracle. All rights reserved. Automatic Storage Management.
Advertisements

Tom Hamilton – America’s Channel Database CSE
ITEC474 INTRODUCTION.
2 Copyright © 2005, Oracle. All rights reserved. Installing the Oracle Database Software.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Backup and Recovery Copyright System Managers LLC 2008 all rights reserved.
5 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
INTRODUCTION TO ORACLE Lynnwood Brown System Managers LLC Oracle High Availability Solutions RAC and Standby Database Copyright System Managers LLC 2008.
1 Copyright © 2008, Oracle. All rights reserved. Database Architecture and ASM.
Overview of Database Administrator (DBA) Tools
Oracle Architecture. Instances and Databases (1/2)
Introduction to DBA.
High Availability Group 08: Võ Đức Vĩnh Nguyễn Quang Vũ
Steven George Sr. Delivery Manager Mark Fuller Sr. Pr. Instructor Rick Pandya Pr. Instructor JF Verrier Pr. Curriculum Developer Oracle Corporation.
1 - Oracle Server Architecture Overview
Harvard University Oracle Database Administration Session 2 System Level.
Database Backup and Recovery
Backup Concepts. Introduction Backup and recovery procedures protect your database against data loss and reconstruct the data, should loss occur. The.
CERN IT Department CH-1211 Geneva 23 Switzerland t CERN IT Department CH-1211 Geneva 23 Switzerland t
Using RMAN to Perform Recovery
IS 4510 – Database Administration Module – 2 Database Backup 10/24/20141Compiled by: Zafar Iqbal Khan.
14 Copyright © 2004, Oracle. All rights reserved. Automatic Storage Management.
Backup & Recovery Concepts for Oracle Database
1 © 2005 Julian Dyke Oracle 10.2 RAC New Features Julian Dyke Independent Consultant Web Version juliandyke.com.
High Availability & Oracle RAC 18 Aug 2005 John Sheaffer Platform Solution Specialist
Oracle Database Administration
Castor F2F Meeting Barbara Martelli Castor Database CNAF.
1 Copyright © 2009, Oracle. All rights reserved. Exploring the Oracle Database Architecture.
© 2011 IBM Corporation 11 April 2011 IDS Architecture.
Oracle Recovery Manager (RMAN) 10g : Reloaded
Chapter Oracle Server An Oracle Server consists of an Oracle database (stored data, control and log files.) The Server will support SQL to define.
Oracle on Windows Server Introduction to Oracle10g on Microsoft Windows Server.
Oracle10g RAC Service Architecture Overview of Real Application Cluster Ready Services, Nodeapps, and User Defined Services.
Clustering  Types of Clustering. Objectives At the end of this module the student will understand the following tasks and concepts. What clustering is.
Chapter 7 Making Backups with RMAN. Objectives Explain backup sets and image copies RMAN Backup modes’ Types of files backed up Backup destinations Specifying.
■ Decide on the local database name, and which domain will contain this database. These names are set in the initialization parameters DB_NAME and DB_DOMAIN.
Backup & Recovery Backup and Recovery Strategies on Windows Server 2003.
The protection of the DB against intentional or unintentional threats using computer-based or non- computer-based controls. Database Security – Part 2.
A Guide to Oracle9i1 Database Instance startup and shutdown.
Backup and Recovery Overview Supinfo Oracle Lab. 6.
Anton TopurovIT-DB 23 April 2013 Introduction to Oracle2.
5 Copyright © 2005, Oracle. All rights reserved. Managing Database Storage Structures.
CERN - IT Department CH-1211 Genève 23 Switzerland t Oracle Real Application Clusters (RAC) Techniques for implementing & running robust.
Database Storage Structures
Oracle 10g Clusterware (CRS) Overview 18 Aug 2005 John Sheaffer Platform Solution Specialist
Donna C. Hamby Sr. Principal Instructor Oracle University Oracle Corporation.
6 Copyright © 2007, Oracle. All rights reserved. Managing Database Storage Structures.
3 Copyright © 2006, Oracle. All rights reserved. Using Recovery Manager.
Oracle Database Architecture By Ayesha Manzer. Automatic Storage Management Spreads database data across all disks Creates and maintains a storage grid.
CERN - IT Department CH-1211 Genève 23 Switzerland t High Availability Databases based on Oracle 10g RAC on Linux WLCG Tier2 Tutorials, CERN,
Enterprise Manager: Scalable Oracle Management John Kennedy System Management Products, Server Technologies, Oracle Corporation Session id:XXXXX.
Oracle Architecture - Structure. Oracle Architecture - Structure The Oracle Server architecture 1. Structures are well-defined objects that store the.
8 Copyright © 2007, Oracle. All rights reserved. Using RMAN to Duplicate a Database.
3 Copyright © 2004, Oracle. All rights reserved. Creating an Oracle Database.
LHC Logging Cluster Nilo Segura IT/DB. Agenda ● Hardware Components ● Software Components ● Transparent Application Failover ● Service definition.
Physical Database Structure .
6 Copyright © Oracle Corporation, All rights reserved. Backup and Recovery Overview.
I Copyright © 2007, Oracle. All rights reserved. Introduction.
3 Copyright © 2006, Oracle. All rights reserved. Installation and Administration Basics.
13 Copyright © 2004, Oracle. All rights reserved. Optimizing Database Performance.
I NTRODUCTION OF W EEK 2  Assignment Discussion  Due this week:  1-1 (Exam Proctor): everyone including in TLC  1-2 (SQL Review): review SQL  Review.
6 Copyright © 2006, Oracle. All rights reserved. Oracle Clusterware.
9 Copyright © 2007, Oracle. All rights reserved. Oracle Clusterware Administration.
2 Copyright © 2006, Oracle. All rights reserved. RAC and Shared Storage.
Oracle Database Architectural Components
High Availability 24 hours a day, 7 days a week, 365 days a year…
Initialization Parameters
Maximum Availability Architecture Enterprise Technology Centre.
Creating an Oracle Database
ISYS366, Oracle Disk Internals
Database administration
Presentation transcript:

ASM General Architecture Node1 Node2 Group Services tom=ant dick=ant harry=ant Group Services tom=bee dick=bee harry=bee DB Instance SID=sales DB Instance SID=sales DBW0 ASMB ASMB DBW0 ASM Instance SID=ant ASM Instance SID=bee RBAL FG FG RBAL FG FG ASMB ASMB RBAL RBAL DB Instance SID=test DB Instance SID=test DBW0 DBW0 ARB0 ARB0 … … RBAL RBAL ARBA ARBA ASM Disks ASM Disks ASM Disks ASM Disks ASM Disks ASM Disks ASM Diskgroup Tom ASM Diskgroup Dick ASM Diskgroup Harry

Hierarchy Database ASM disk group Tablespace Data file ASM file Segment ASM disk Extent File system file or raw device Allocation unit Oracle block Physical block

Failure Groups Controller 1 Controller 2 Controller 3 Failure group 1 6 5 4 3 2 1 7 13 1 7 13 1 7 13 1 7 13 1 7 13 1 7 13 1 7 13 1 7 13 1 7 13 Failure group 1 Failure group 2 Failure group 3 Disk group A

ASM file automatically spread inside disk group dgroupA ASM Files CREATE TABLESPACE sample DATAFILE '+dgroupA'; Database File 1 Automatic ASM file creation 2 3 4 1 2 3 4 ASM file automatically spread inside disk group dgroupA

RAC Software Storage Principles Node1 Noden Node1 Noden Instance1 … Instancen Instance1 … Instancen CRS home CRS home * * Oracle home Oracle home Local storage Local storage Local storage Local storage Voting file Voting file OCR file OCR file Shared storage CRS home Oracle home Shared storage Oracle Real Application Clusters Installation and Configuration guide. Permits online patch upgrades Software not a single point of failure

OCR Architecture Node1 Node2 Node3 OCR Cache OCR Cache OCR Cache OCR process OCR process OCR process Client process Client process Shared storage OCR file

RAC Database Storage Principles Node1 Noden … Instance1 Instancen Archived log files Archived log files Local storage Local storage Online redo log files for instance1 Online redo log files for instancen Data files Undo tablespace files for instance1 Undo tablespace files for instancen Flash recovery area files Change tracking file SPFILE Control files Temp files Shared storage

Typical Cluster Stack with RAC Servers Interconnect High-speed Interconnect Proprietary uDAPL or UDP Proprietary Oracle CRS OS C/W RAC Linux, UNIX, Windows RAC Linux Windows RAC Linux Windows RAC AIX, HP-UX, Solaris ASM OCFS RAW ASM RAW CFS OS CVM Database shared storage

RAC and Services Application server ERP CRM Listeners Run time load balancing Service location transparency Service connections Listeners Connection load balancing Service availability aware Stop/Start service connections RAC Instances ERP ERP ERP ERP Backup Modify service to instance mapping Priority CRM CRM Alerts CRM CRM Tuning CRS Up and down events notification engine Restart failed components

Virtual IP Addresses and RAC clnode-1 clnode-2 clnode-1vip clnode-2vip 2 Clients 2 ERP=(DESCRIPTION= ((HOST=clusnode-1)) ((HOST=clusnode-2)) (SERVICE_NAME=ERP)) ERP=(DESCRIPTION= ((HOST=clusnode-1vip)) ((HOST=clusnode-2vip)) (SERVICE_NAME=ERP)) 4 1 5 1 6 6 Timeout wait 7 5 7 3 3 clnode-2vip clnode-1 clnode-2 4 clnode-1vip

Managing OCR: Overview The OCR content is critical to CRS. The OCR is automatically backed up physically: Every four hours: CRS keeps the last three At the end of every day: CRS keeps the last two At the end of every week: CRS keeps the last two You can also: Logically back up the OCR: Copy physical OCR backups Backups can be used for recovery purposes. ocrconfig –showbackup ocrconfig –backuploc ocrconfig -export

Recovering the OCR 1. Locate either a physical or a logical backup. 2. Restart all the nodes in single-user mode. 3. Restore the physical OCR backup or import the logical OCR backup: 4. Restart all the nodes in multiuser mode. $ ocrconfig –restore \ > /app/oracle/product/10.1.0/crs_1/cdata/jfv_clus/day.ocr $ ocrconfig –import /u01/logical_ocr/yesterday