Ultimate Guide to Oracle Storage



Similar documents
High Availability Databases based on Oracle 10g RAC on Linux

Top 10 Things You Always Wanted to Know About Automatic Storage Management But Were Afraid to Ask

<Insert Picture Here> Oracle Cloud Storage. Morana Kobal Butković Principal Sales Consultant Oracle Hrvatska

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

Oracle Storage Options

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated R2

Oracle Database 10g: Performance Tuning 12-1

An Oracle White Paper July Oracle ACFS

Oracle Database 10g: Backup and Recovery 1-2

ORACLE CORE DBA ONLINE TRAINING

<Insert Picture Here> Managing Storage in Private Clouds with Oracle Cloud File System OOW 2011 presentation

ORACLE DATABASE HIGH AVAILABILITY STRATEGY, ARCHITECTURE AND SOLUTIONS

Overview of I/O Performance and RAID in an RDBMS Environment. By: Edward Whalen Performance Tuning Corporation

Oracle Cloud Storage and File system

SAP with Oracle Real Application Clusters 11g Release 2 and Oracle Automatic Storage Management 11g Release 2

Best Practices White Paper Using Oracle Database 10g Automatic Storage Management with FUJITSU Storage

White Paper. Dell Reference Configuration

Exadata for Oracle DBAs. Longtime Oracle DBA

Scalable NAS for Oracle: Gateway to the (NFS) future

Advanced Oracle DBA Course Details

June Blade.org 2009 ALL RIGHTS RESERVED

Configuring and Managing a Private Cloud with Enterprise Manager 12c

Enkitec Exadata Storage Layout

Building Oracle Grid with Oracle VM on Blade Servers and iscsi Storage. Kai Yu Dell Oracle Solutions Engineering

Using Oracle Database 10g s Automatic Storage Management with EMC Storage Technology

Flash Performance for Oracle RAC with PCIe Shared Storage A Revolutionary Oracle RAC Architecture

TECHNICAL REPORT. Nimble Storage Oracle Backup and Recovery Guide

Oracle DBA Course Contents

Oracle 11g Database Administration

An Oracle White Paper January A Technical Overview of New Features for Automatic Storage Management in Oracle Database 12c

Best Practices White Paper Using Oracle Database 11g R2 Automatic Storage Management with FUJITSU Storage (Windows version)

EMC MIGRATION OF AN ORACLE DATA WAREHOUSE

ORACLE DATABASE: ADMINISTRATION WORKSHOP I

EMC Backup and Recovery for Oracle Database 11g Without Hot Backup Mode using DNFS and Automatic Storage Management on Fibre Channel

INTRODUCTION TO CLOUD MANAGEMENT

An Oracle White Paper March Backup and Recovery Strategies for the Oracle Database Appliance

Oracle RMAN disk-to-disk backup methods using the IBM Storwize V3700 storage system

11. Oracle Recovery Manager Overview and Configuration.

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

Virtualization, Business Continuation Plan & Disaster Recovery for EMS -By Ramanj Pamidi San Diego Gas & Electric

FIFTH EDITION. Oracle Essentials. Rick Greenwald, Robert Stackowiak, and. Jonathan Stern O'REILLY" Tokyo. Koln Sebastopol. Cambridge Farnham.

SAN TECHNICAL - DETAILS/ SPECIFICATIONS

Agenda. Enterprise Application Performance Factors. Current form of Enterprise Applications. Factors to Application Performance.

Oracle Database 11g: New Features for Administrators

WHITE PAPER. Permabit Albireo Data Optimization Software. Benefits of Albireo for Virtual Servers. January Permabit Technology Corporation

(Scale Out NAS System)

WHITE PAPER: ENTERPRISE SECURITY. Symantec Backup Exec Quick Recovery and Off-Host Backup Solutions

Use RMAN to relocate a 10TB RAC database with minimum downtime. Tao Zuo tao_zuo@npd.com NPD Inc. 9/2011

Virtualized Oracle 11g/R2 RAC Database on Oracle VM: Methods/Tips Kai Yu Oracle Solutions Engineering Dell Inc

Oracle Database Deployments with EMC CLARiiON AX4 Storage Systems

ORACLE DATABASE 11G: COMPLETE

SnapManager for Oracle 2.2. Anand Ranganathan Product & Partner Engineer (PPE)

Backup and Recovery Solutions for Exadata. Ľubomír Vaňo Principal Sales Consultant

Redefining Oracle Database Management

Oracle Database 10g: New Features for Administrators

NEC Storage NV Series

ASM and for 3rd Party Snapshot Solutions - for Offhost. Duane Smith Nitin Vengurlekar RACPACK

VERITAS Volume Management Technology for Windows COMPARISON: MICROSOFT LOGICAL DISK MANAGER (LDM) AND VERITAS STORAGE FOUNDATION FOR WINDOWS

E Number: E Passing Score: 800 Time Limit: 120 min

Building Active/Passive Clusters with Oracle Fusion Middleware 11g

Storage Management for the Oracle Database on Red Hat Enterprise Linux 6: Using ASM With or Without ASMLib

Zero Downtime Backup solution for Oracle10g

Backup and Recovery Solutions for Exadata. Cor Beumer Storage Sales Specialist Oracle Nederland

Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - Administration Workshop I Release 2. 5 Jours [35 Heures]

Oracle Backup and Recovery Best Practices Dell Compellent Storage Center. Dell Compellent Technical Best Practices

High Availability Infrastructure of Database Cloud: Architecture, Best Practices. Kai Yu Oracle Solutions Engineering, Dell Inc.

ORACLE DATABASE 10G ENTERPRISE EDITION

PERFORMANCE TUNING ORACLE RAC ON LINUX

Pricing - overview of available configurations

Oracle Database 11g: New Features for Administrators DBA Release 2


Oracle 11g DBA Training Course Content

ORACLE DATABASE ADMINISTRATOR RESUME

Experience and Lessons learnt from running High Availability Databases on Network Attached Storage

Performance, Reliability, and Operational Issues for High Performance NAS Storage on Cray Platforms. Cray User Group Meeting June 2007

Module 14: Scalability and High Availability

Automated Deployment of Oracle RAC Using Enterprise Manager Provisioning Pack

Oracle Recovery Manager

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

Oracle Database 11g: Administration Workshop I Release 2

ORACLE DBA 11G TRAINING

Oracle Database 11g: Administration Workshop I Release 2

EXTENDED ORACLE RAC with EMC VPLEX Metro

VERITAS and HP A LONG-TERM COMMITMENT

Applying traditional DBA skills to Oracle Exadata. Marc Fielding March 2013

Objectif. Participant. Prérequis. Pédagogie. Oracle Database 11g - Administration Workshop II - LVC. 5 Jours [35 Heures]

Direct NFS - Design considerations for next-gen NAS appliances optimized for database workloads Akshay Shah Gurmeet Goindi Oracle

Oracle Database Disaster Recovery Using Dell Storage Replication Solutions

Oracle 11g New Features - OCP Upgrade Exam

Why Not Oracle Standard Edition? A Dbvisit White Paper By Anton Els

VMware Virtual Machine File System: Technical Overview and Best Practices

Oracle VM Server Recovery Guide. Version 8.2

WHITE PAPER PPAPER. Symantec Backup Exec Quick Recovery & Off-Host Backup Solutions. for Microsoft Exchange Server 2003 & Microsoft SQL Server

Best Practices for Oracle Automatic Storage Management (ASM) on Hitachi Dynamic Provisioning(HDP)

Oracle Database 11g: Administration Workshop II

ORACLE RMAN DESIGN BEST PRACTICES WITH EMC DATA DOMAIN

Transcription:

Ultimate Guide to Oracle Storage Presented by George Trujillo George.Trujillo@trubix.com

George Trujillo Twenty two years IT experience with 19 years Oracle experience. Advanced database solutions such as RAC, Data Guard, Streams, etc. Oracle Fusion Middleware - Application Server, J2EE, ADF, Web Services, SOA. Focus on enterprise management of all tiers of heterogeneous environments.

George Trujillo - Perspective IOUG - Board of Directors IOUC - Oracle Fusion Council Oracle Beta Leadership Council President of Trubix Inc. - Largest library of Oracle education materials in the world outside of Oracle Corporation. Leading-edge education courses in Oracle database and Oracle Fusion (middleware).

Objectives Oracle 10g storage options Oracle 10g ASM Oracle Cluster File system Understanding the role of ASM, OCFS and Oracle Clusterware

Evolution of IT Major Costs Hardware People Software Storage

Storage Priorities Important storage priorities: Capacity Speed Availability Scalability Storage location Backup and recovery requirements Business requirements Flexibility

Oracle 10g Storage Options Disk volume managers providing striping and mirroring. Third party vendors Veritas, EMC, Oracle 10g Automatic Storage Management Network Attached Storage (NAS) Standard file systems Raw devices

Network Attached Storage Network Attached Storage (NAS) is a storage system that uses standard file access protocols like FCP, NFS, CIFS, HTTP and iscsi. Storage is considered remote from the local systems. Features like Dual-parity RAID can use snapshots to support recovery of large systems in hours.

Storage Area Network Storage Area Networks (SAN) attach remote storage devices (disk array controllers, etc. ) so the operating system sees the devices as local devices. SANs can replicate data to a secondary storage array. Secondary arrays can be local (SCSI) or remote (Fiber Channel, FCIP, ). SANs support cloning and snapshotting which allows real-time duplication of LUNs. Cloning create a copy of a LUN in the background. Snapshotting stores the original state of blocks that get changed.

Basics Disk controllers provide block level access to high speed, reliable logical hard drives (or LUNs). Storage virtualization abstracts logical storage from physical storage.

Storage Best Practices Minimize the number of vendors and products. Keep the number of vendors to two or three. Hardware independence, portability will help maintain flexible purchasing and management decisions. Hardware independence and the ability to support new innovations is key. Storage technology is constantly changing. Design a simple layout with standard naming conventions. Consistent methods for striping and mirroring will help diagnostics.

Storage Best Practices (2) Maintain standards and best practices. Training is necessary to maintain skill sets. Proper capacity planning is essential. Leverage technology for automation, virtualization, replication, Continuous Data Protection (CDP) and disk-to-disk copy and snapshots

Oracle Database Storage Oracle database storage requirements include: Striping and mirroring solutions Oracle Real Application Clusters (RAC) require shared disk storage. Vendors offer shared file solutions dependent on the operating system version and platform. Oracle offers the Oracle Cluster File System (OCFS) for Linux and Windows platforms.

RAC Environment eth0 HUB eth0 eth1 HUB eth1 tserver1 /u01/app/oracle/product/10.2.0 /u01/oradata/db0 /u01/oralog/db0 /u01/oraarch/db0 /u01/orabackup/db0 /u01/app/product/crs tserver2 /u01/app/oracle/product/10.2.0 ASM Instance 1 ASM Instance 2 Gigabit External Shared Disk Gigabit

Oracle 10g Logical Volume Mgr Oracle10G provides its own Logical Volume Manager (LVM) called Automatic Storage Management (ASM) for striping and mirroring. An ASM instance is a LVM for Oracle storage. ASM uses disk groups to manage raw disks or LUNs. The storage devices are assigned to disk groups.

Benefits of an Oracle LVM Benefits of an Oracle LVM (ASM). Improves performance by eliminating O.S. overhead (replaces file systems). Free, eliminates need for a 3rd party LVM. ASM provides automatic I/O tuning. ASM performs online storage configuring. Reduced storage maintenance.

ASM Instance ASM instance is very lightweight. The database buffer cache (DB_CACHE_SIZE) stores metadata information. The shared pool areas (SHARED_POOL_SIZE) stores extent maps and standard control structures. Use a large pool area (LARGE_POOL_SIZE) for large configurations.

ASM Instance Parameters Sample of initialization parameters for an ASM instance. *.instance_type=asm *.asm_diskgroups=+data *.asm_diskstring='/dev/rdsk/c3t19d*s4' *.large_pool_size=16m *.background_dump_dest='/u04/ora/app/admin/+asm/bdump' *.core_dump_dest='/u04/ora/app/admin/+asm/cdump' *.user_dump_dest='/u04/ora/app/admin/+asm/udump'

ASM Logical Volume Manager The ASM instance (logical volume manager ) is a shared memory area managed by background processes. Disk groups and their storage are identified during startup. The disk groups are mounted and an extent map is passed to the Oracle instances. Disk groups can be added and removed without taking them offline. Online rebalancing then occurs. Management tools include the Oracle Enterprise Manager (OEM), Database Configuration Assistant (DBCA) and ASMCMD.

ASM Logical Volume Manager (2) The ASM instance does not perform I/O. Its responsibility is managing disk groups. There is one ASM instance per hardware platform. There can be multiple Oracle database servers per hardware platform. ASM Instance ASM Instance ASM Instance ASM Instance

Disk Groups Database files are stored in a disk group. Multiple databases can share a disk group. Disk group types External - No mirroring. Normal - Two-way mirroring. High Redundancy - Three-way mirroring.

Creating a Disk Group Create in ASM instance. SQL> CREATE DISKGROUP dk_grp_001 FAILGROUP fail_group_01 DISK '/dev/disk001', '/dev/disk002', FAILGROUP fail_group_02 DISK '/dev/disk011', '/dev/disk012'; Create in database instance. SQL> CREATE TABLESPACE fin_data '+dk_grp_001/user_data_01' SIZE 2048M;

Using Disk Groups SQL> ALTER database add logfile group 3 '+dg3/log3.redo' size 50M; SQL> ALTER database datafile '+Dg4/user1.dbf' resize 30M;

Who Should Manage a LVM? Skill set: Basic skills for managing an Oracle instance. Strong storage fundamentals and a good understanding of the storage environment. DBA Storage Mgmt Unix SA

How do we avoid this?

What skills are needed? Storage managers and Unix administrators will need to learn the basics of the Oracle logical volume manager and how to execute commands to manage Oracle storage. Oracle DBAs will need to learn more about storage management.

ASM Managing Disk I/O ASM writes directly to the storage devices eliminating the operating system overhead. ASM writes in one-megabyte stripes versus standard 32K or 64K stripe sizes. Oracle has found this provides high levels of data transfer rates. ASM identifies hot spots and moves data extents to balance I/O across all the devices in a disk group. Rebalancing can be managed to ensure it occurs during acceptable time frames. Only one extent is locked at a time.

ASM Disk Groups A disk group is collection of raw disks or LUNs (from a storage array) made up of different storage devices. Database files are stored in a disk group. Files cannot be spread across disk groups. Files are evenly spread across a disk group. Files can be striped and mirrored across the disks in a disk group. A few disk groups can be used to manage Oracle storage versus managing hundreds or thousands of individual data files.

ASM Disks ASM disks are raw disks or LUNs assigned to ASM. ASM Disks are divided into Allocation Units (AU). ASM files are a collection of AUs (one megabyte). Frequently accessed AUs are cached in the Oracle kernel. Block zero of each ASM disk contains the disk header. Disk group information is replicated to other ASM disks.

ASM Files ASM files can include control files, datafiles, redo logs, flashback logs, archived logs and RMAN backups. ASM currently does not support: Operating system files. Oracle software. Trace files and alert logs. RAC OCR and Voting disks. Example file name: +DATA/orcl/datafile/system.252.363840

ASM Virtual and Physical Space Virtual address space refers to all the AUs (bytes) in an ASM file. ASM maps virtual space to the physical storage through extent maps. Physical blocks are not spread across allocation units. A virtual data extent maps to 1 to 3 data extents dependent on the mirroring.

ASM Striping ASM rebalances extents across the storage devices. The ASM disks within a Disk Group should be consistent.

ASM Mirroring Failure groups are a set of storage devices that define a mirror. Reads are performed on the primary mirror group. The primary group should be physically located for performance. When an ASM disk fails, The extents from the failed disk are copied from good ASM disks to a free area on the available disks. The invalid disk is then dropped from the disk group.

The Cluster Software Oracle Clusterware provides the infrastructure that integrates multiple servers so that they operate as a single system. The cluster software and Oracle software must be installed in different directories. ORA_CRS_HOME ORACLE_HOME The Oracle Clusterware requires a voting disk that records node information and the Oracle Cluster Registry (OCR) that records cluster configuration information. Both require shared storage.

Cluster Software Cluster software allows multiple machines to share the same disk. Some vendors provide their own cluster software. This software is vendor and platform specific. Oracle also offers the Oracle Cluster File System that can be used on Linux and Windows platforms. Oracle 10g RAC offers Oracle Clusterware previously Cluster Ready Services (CRS). Clusterware software eliminates the need to license cluster software. This provides a standard cluster interface for all platforms.

Oracle Clusterware Oracle Clusterware software contains two files that must be shared by all files in a RAC cluster. The Oracle Cluster Registry (OCR) file. The Voting Disk file. These two files must be on shared storage. A shared file system using vendor clusterware, OCFS or Oracle Clusterware is recommended. Raw devices can be used but are not recommended. ASM cannot be used.

Cluster Synchronization Service Cluster Synchronization Service (CSS) ASM uses CSS to synch its data with the DB CSS facilitates that synch. On RAC, CSS is installed by default. On single instance, you have to enable CSS only do this once, after that it starts up automatically. $ $ORACLE_HOME/bin/localconfig add Check status to make sure it is happy. $ $OH/bin/crsctl check cssd

Creating an OCFS Partition Formatting an OCFS partition # mkfs.ocfs b 128 g root L oraclevol1 m /ocfs p 0755 u root /dev/sda1 F Once the partition is then formatted the DBA may mount the drive as the root super user. Example command to mount OCFS drive: # mount t ocfs /dev/sda1 /u01

Oracle Clustered File System Independent, open source code. Available for Linux and Windows. Provides cluster support for a file system. DirectIO and asynchio (OCFS2) support. Regular file system can be for anything.

Trubix - Hot classes Ultimate Guide to Oracle Storage MySQL Admin for Oracle DBAs SQL Server Admin for Oracle DBAs Oracle Fusion Admin Workshop I Oracle Fusion Admin Workshop II Oracle Fusion Development Workshop I Oracle Fusion Development Workshop II Oracle 10g Grid Admin Workshop

Summary Oracle 10g storage options Oracle 10g ASM Oracle Cluster File system Understanding the role of ASM, OCFS and Oracle Clusterware