Automatic Storage Management. UKOUG RAC & HA SIG September 30, Frits Hoogland

Similar documents
1Z Oracle Real Application Clusters 12c Essentials Exam Summary Syllabus Questions

Database Services at CERN with Oracle 10g RAC and ASM on Commodity HW

Oracle 11g Release 2 RAC & Grid Infrastructure Administration Course Overview

The Oracle Database Appliance I/O and Performance Architecture

Oracle RAC Course Content

Automatic Storage Management (ASM) Best Practices OUGN Marie-Louise Lindstrøm Service Delivery Engineer Oracle Support ACS

ORACLE RAC DBA COURSE CONTENT

1Z0-593 Exam Questions Demo Oracle. Exam Questions 1Z0-593

Oracle Database 12c: Clusterware & ASM Admin Accelerated Ed 1

Oracle Database 10g Migration to Automatic Storage Management. An Oracle White Paper August 2005

Oracle EXAM - 1Z Oracle Real Application Clusters 11g Essentials. Buy Full Product.

OEM Provisioning Concepts and Example

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Mission-Critical Databases in the Cloud. Oracle RAC in Microsoft Azure Enabled by FlashGrid Software.

Oracle Database 10g Migration to Automatic Storage Management. An Oracle White Paper August 2004

Oracle Database 10G. Lindsey M. Pickle, Jr. Senior Solution Specialist Database Technologies Oracle Corporation

Demystifying ASM REQUIRED_MIRROR_FREE_MB and USABLE_FILE_MB

Page 1 نشانی: تهران خیابان شهید بهشتی نرسیده به قائم مقام فراهانی پالک طبقه تلفن: فکس:

<Insert Picture Here> Enterprise Data Management using Grid Technology

Oracle EXAM - 1Z Oracle Real Application Clusters 11g Release 2 and Grid Infrastructure Administration. Buy Full Product

Oracle Database Upgrade, Migration & Transformation Tips & Techniques Chapter 5

Exam 1Z0-061 Oracle Database 12c: SQL Fundamentals

Oracle Clustering: Oracle 11g Real Application Clusters for Administrators

Oracle DBA workshop I

Oracle Database 12c: RAC Administration Ed 1

Question No : 1 Which three statements are true regarding persistent lightweight jobs? (Choose three.)

11i on RAC: Sweating the Details. Practical overview of Technical Details of Implementing RAC for 11i E-Business Suite

ORACLE REFERENCE 11GR2 MANUAL DOCUMENT

ASM New Features for Release 12.2

Oracle Database 12c: Clusterware & RAC Admin Accelerated Ed 1

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

Under the Hood of Oracle Database Appliance. Alex Gorbachev

Oracle Database 12c R2: RAC Administration Ed 2

Enterprise Manager: Scalable Oracle Management

Survey Of Volume Managers

Planning & Installing a RAC Database

PracticeTorrent. Latest study torrent with verified answers will facilitate your actual test

Oracle Database 11g Release 1 and 10g Release 2 Automatic Storage Management Overview and Technical Best Practices

for RAC migrations WLCG Service Reliability Workshop CERN, November 30 th, 2007 Jacek Wojcieszuk, CERN IT LCG

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2

ASM migration process

Oracle Database 12c: RAC Administration Ed 1 LVC

Oracle Database. High Availability Best Practices 10g Release 2 (10.2) B

Focus On: Oracle Database 11g Release 2

Explore the Oracle 10g database architecture. Install software with the Oracle Universal Installer (OUI)

Rapid database cloning using SMU and ZFS Storage Appliance How Exalogic tooling can help

Oracle DB 11gR2 - što je novo? Antun Vukšić, Principal Consultant Oracle Hrvatska

What you will learn. interface clients. Learn To:

ORACLE DBA TRAINING IN BANGALORE

See the disks inside ASM ASM> select name,label,path,header_status,os_mb,free_mb from v$asm_disk order by 2;

Oracle Database 12C: Advanced Administration - 1Z0-063

Veritas InfoScale Enterprise for Oracle Real Application Clusters (RAC)

Leveraging SAN Volume Controller (SVC) Advanced Copy Services for Oracle User-Managed Backup and Recovery Oracle RAC 10g with ASM

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated Release 2 NEW

TestsDumps. Latest Test Dumps for IT Exam Certification

ORACLE 11gR2 DBA. by Mr. Akal Singh ( Oracle Certified Master ) COURSE CONTENT. INTRODUCTION to ORACLE

Oracle 11g Real Application Clusters for Administrators. Student Workbook

A Deep Dive into ASM Redundancy in Exadata

COPYRIGHTED MATERIAL. Using Oracle ASM. Chapter. ÛÛDatabase Architecture and ASM. Describe Automatic Storage Management (ASM)

Data Sheet: Storage Management Veritas Storage Foundation for Oracle RAC from Symantec Manageability and availability for Oracle RAC databases

Oracle 1Z Oracle Database 12c - Installation and Administration. Download Full version :

Oracle - 1z Upgrade to Oracle Database 12c

Oracle Database 11g: Administration Workshop I Release 2

ACCURATE STUDY GUIDES, HIGH PASSING RATE! Question & Answer. Dump Step. provides update free of charge in one year!

Exadata Database Machine Administration Workshop NEW

1Z Upgrade to Oracle Database 12cm Exam Summary Syllabus Questions

Oracle Database. 2 Day + Real Application Clusters Guide 11g Release 2 (11.2) E

Andy Mendelsohn, Oracle Corporation

Exadata Database Machine Administration Workshop

EMC Unified Storage for Oracle Database 11g/10g Virtualized Solution. Enabled by EMC Celerra and Linux using FCP and NFS. Reference Architecture

Hitachi Storage Adapter for Oracle Recovery Manager

UNIVERSITY AUTHORISED EDUCATION PARTNER (WDP)

Provisioning Oracle RAC in a Virtualized Environment, Using Oracle Enterprise Manager

Maximum Availability Architecture: Overview. An Oracle White Paper July 2002

Oracle 1Z0-053 Exam Questions and Answers (PDF) Oracle 1Z0-053 Exam Questions 1Z0-053 BrainDumps

Exadata Database Machine: 12c Administration Workshop Ed 2

RAC FOR BEGINNERS: THE BASICS Dan Norris, IT Convergence

Infrastructure at your Service. DOAG Webinar. ODA 12c new features. ODA 12c new features

Exadata Database Machine: 12c Administration Workshop Ed 2

Exadata Database Machine: 12c Administration Workshop Ed 2 Duration: 5 Days

Dell EMC SC Series Arrays and Oracle

ASM Internals. By Riyaj Shamsudeen. OraInternals Riyaj Shamsudeen

OEM Provisioning An Introduction

Oracle VM Server Recovery Guide. Version 8.2

Leveraging Oracle ASM Cluster File System for Private Cloud Storage. Kai Yu Oracle Solutions Engineering Dell Inc

Oracle Exam 11gocmu Oracle Database 11g Certified Master Upgrade Exam Version: 4.0 [ Total Questions: 671 ]

S317077: Lessons from the RAC Pack: Oracle Real Application Clusters on Oracle VM - Best Practices

Oracle RAC on Dell EMC VxFlex OS White Paper

The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into

"Charting the Course... Oracle 18c DBA I (3 Day) Course Summary

Oracle 1Z Upgrade to Oracle Database 12c. Download Full Version :

Realizing the Value of Standardized and Automated Database Management SOLUTION WHITE PAPER

Oracle Validated Configuration with Cisco UCS, Nimble Storage, and Oracle Linux

RAC for Beginners. Arup Nanda Longtime Oracle DBA (and a beginner, always)

Author A.Kishore Convert 11gR2 non-rac database to RAC database using rconfig

ORACLE 11g Database Replay

Oracle Database 11g: Administration Workshop I Release 2

Exdata Database Machine: 12c Administration Workshop Ed 2

Veeam Backup & Replication v8: Availability for Oracle Environments

Transcription:

Automatic Storage Management UKOUG RAC & HA SIG September 30, 2010 Frits Hoogland 1

Poll Anyone using ASM currently? Version of ASM? 10.1 10.2 11.1 11.2 Anyone using OMF? As part of ASM implementation Without ASM? 2

ASM - The Oracle definiton http://www.oracle.com/technology/products/database/asm/index.html: (link now gone) Automatic Storage Management (ASM) is a feature in Oracle Database 10g/11g that provides the database administrator with a simple storage management interface that is consistent across all server and storage platforms. As a vertically integrated file system and volume manager, purpose-built for Oracle database files, ASM provides the performance of async I/O with the easy management of a file system. ASM provides capability that saves the DBAs time and provides flexibility to manage a dynamic database environment with increased efficiency. 3

ASM - The Oracle definiton Storage management interface that is consistent across all server and storage platforms Vertically integrated file system and volume manager Purpose-built for Oracle database files Performance of async I/O with the easy management of a filesystem (http://www.oracle.com/technology/products/manageability/database/pdf/asmov.pdf) 4

The database and ASM ASM components (s)pfile CSS The function of the ASM instance Disk and diskgroup management Database and ASM disk I/O 5

Redundancy Volume manager capabilities External redundancy No redundancy at ASM level Normal redundancy Mirroring at ASM level High redundancy Triple mirroring at ASM level 6

Redundancy Is your storage redundant? Purpose of redundancy: stretch MTBF 7

ASM terminology ASM instance Diskgroup Disk Failgroup AU (allocation unit) 8

AU Spreading AU 50- AU 40- Disk header (name, AT, FST, PST) File directory Disk directory AU 30- Active Change Directory AU 20- Continuing Operation Directory Template Directory AU 10- Alias Directory AU 0- Free AU Disk1 9

AU Spreading AU 50- AU 40- Disk header (name, AT, FST, PST) File directory Disk directory AU 30- Active Change Directory AU 20- Continuing Operation Directory Template Directory AU 10- Alias Directory AU 0- Free AU Disk1 Disk2 10

AU Spreading AU 50- AU 40- Disk header (name, AT, FST, PST) File directory Disk directory AU 30- Active Change Directory AU 20- Continuing Operation Directory Template Directory AU 10- Alias Directory AU 0- Free AU Disk1 Disk2 Disk3 11

Allocation policies Scenario 1: Allocation of 10 AU s Diskgroup DG1; 1 disk: D1 DG1,D1 0... 50 51 52 53 54 55 56 57 58 59 60 12

Allocation policies Scenario 2: Allocation of 10 AU s Diskgroup DG1; 2 disks: D1,D2 (equally sized) DG1,D1 0... 50 51 52 53 54 55 DG1,D2 0... 25 26 27 28 29 30 13

Allocation policies Scenario 3: Allocation of 10 AU s Diskgroup DG1; normal redundacy 2 FG s: FG1,FG2; 4 disks: D1,D2,D3,D4 (eq. sized) DG1,FG1,D1 0... 50 51 52 53 54 55 DG1,FG1,D2 0... 25 26 27 28 29 30 DG1,FG2,D3 0... 50 51 52 53 54 55 DG1,FG2,D4 0... 25 26 27 28 29 30 14

Allocation policies Scenario 4: Allocation of AU s Diskgroup DG1; external redundacy 3 disks: D1,D2,D3 (eq. sized) DG1,D1 0... 50 51 52 53 54 55 56 57 58 59 60 61 DG1,D2 0... 25 26 27 28 29 30 31 32 33 34 35 36 DG1,D3 0... 17 18 19 20 21 22 23 24 ORA-15041: diskgroup space exhausted 15

Allocation policies Scenario 5: Allocation of 10 AU s Diskgroup DG1; external redundacy 2 disks: D1,D2 (unequally sized) DG1,D1 0... 50 51 52 53 54 DG1,D2 0... 25 26 27 28 29 30 31 16

How ASM tunes I/O I/O tuning is done using the allocation policy This means no tuning is done on runtime Mirror/secondary AU reads ASM_PREFERRED_READ_FAILURE_GROUP Corruption found Unequal sized disk (!!) 17

Oracle Managed Files First appeard in version 9 Goal: easy database files management Did never gain wide acceptance (AFAIK) Re-introduced with ASM 18

Oracle Managed Files OMF & ASM are separate options OMF can be used without ASM, and vice versa OMF makes sense with ASM File structure standardisation File naming standardisation No manual action needed with file manipulation Database removal? 19

ASM Disks ASM sees a disk as an individual entity That is why ASM stripes everything over all disks Is a disk a real individual entity nowadays? SAN/NAS anyone? Anyone who uses DAS for production databases? 20

ASMLib Support library for ASM Kernel module Disks for ASM can be used in three ways: Raw devices Block devices ASMLib devices 21

ASMLib Rumored to have started as a framework for storage vendors to add functionality Reported functionality: Device name labels Device ownership and permissions Async I/O management I/O optimisation Sanity checkups - (http://blogs.oracle.com/alejandrovargas/newsitems/viewfullitems$96) 22

ASMLib Device name labels NOT the diskname in ASM Device ownership and rights ASMLib creates a meta device with correct rights Clusterware files Can be accomplished with udev - (http://www.oracle.com/technology/products/database/asm/pdf/device-mapper-udev-crs-asm%20rh4.pdf) 23

ASMLib Async I/O management Using ASMLib there s a synchronous write to metadevice Async I/O is enabled by default I/O optimisation Same I/O using different codepath No I/O optimisation in ASMLib according to Wim Coekaerts - (http://forums.oracle.com/forums/thread.jspa?threadid=498215) 24

ASMLib Sanity checkups Ownership and rights? Can anyone think of any other checkup? Partition/disk name persistence /dev/sd* /dev/disk/by-id/! ASM recognises disks by name in the diskheader! 25

ASMLib Do NOT use ASMLib No added functionality which can not be resolved in an other way Extra layer in the technology stack Add a kernel dependency Only available on linux 26

Advantages of ASM (Part of) volume manager- & filesystemmanagement become DBA responsibility Database files become black boxed Everything always striped over all disks in a diskgroup RMAN mandatory for backup & restore No filesystem imposed limits RAC / cluster aware 27

Disadvantages of ASM (Part of) volume manager- & filesystemmanagement becomes DBA responsibility Database files become black boxed Everything always striped over all disks in a diskgroup RMAN mandatory for backup & restore Relative young Unequal disk sizes give unequal I/O 28

Conclusion File / filesystem management Error prone Hard to maintain standards Principal deployment of SAME Which is good Necessary to know ASM inner working Rebalancing ASM and online storage migration 29

30 Q & A

Bibliography http://docs.oracle.com http://otn.oracle.com http://dims.ncsa.uiuc.edu/san/src/linuxmpio.pdf http://jarniel.wordpress.com http://canali.web.cern.ch/canali 31