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

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

EMC CLARiiON SnapView and MirrorView for Oracle Database 10g Automatic Storage Management

Agenda. Overview Configuring the database for basic Backup and Recovery Backing up your database Restore and Recovery Operations Managing your backups

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

TECHNICAL REPORT. Nimble Storage Oracle Backup and Recovery Guide

If you have not multiplexed your online redo logs, then you are only left with incomplete recovery. Your steps are as follows:

RMAN What is Rman Why use Rman Understanding The Rman Architecture Taking Backup in Non archive Backup Mode Taking Backup in archive Mode

This appendix describes the following procedures: Cisco ANA Registry Backup and Restore Oracle Database Backup and Restore

Database Recovery For Newbies

BrightStor ARCserve Backup

11. Oracle Recovery Manager Overview and Configuration.

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

Oracle Database 10g: Backup and Recovery 1-2

HOW TO. RMAN Restore for Standby 10gR2

Oracle 12c Recovering a lost /corrupted table from RMAN Backup after user error or application issue

Zero Downtime Backup solution for Oracle10g

Oracle Recovery Manager 10g. An Oracle White Paper November 2003

Restoring To A Different Location With EBU And RMAN An AppsDBA Consulting White Paper

Configuring Backup Settings. Copyright 2009, Oracle. All rights reserved.

Performing Database and File System Backups and Restores Using Oracle Secure Backup

Implementing an Enterprise Class Database Backup and Recovery Plan

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

12. User-managed and RMAN-based backups.

11. Configuring the Database Archiving Mode.

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

HP LeftHand SAN Solutions

D12CBR Oracle Database 12c: Backup and Recovery Workshop NEW

Using RMAN to restore a database to another server in an ASM environment

ORACLE CORE DBA ONLINE TRAINING

Introduction Hitachi Universal Storage Platform V Overview Universal Storage Platform Architecture... 3

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

Oracle Database 11g: Administration Workshop II DBA Release 2

The safer, easier way to help you pass any IT exams. Exam : 1Z Upgrade Oracle9i/10g/11g OCA to Oracle Database 12c OCP.

D78850GC10. Oracle Database 12c Backup and Recovery Workshop. Summary. Introduction. Prerequisites

Oracle 10g Feature: RMAN Incrementally Updated Backups

Database Disaster Recovery using only RMAN Backups

Simplifying Online Backup Operations for Microsoft Exchange, SQL and Oracle with Hitachi Protection Manager Software

Ultimate Guide to Oracle Storage

Integrating Network Appliance Snapshot and SnapRestore with VERITAS NetBackup in an Oracle Backup Environment

Oracle Database Disaster Recovery Using Dell Storage Replication Solutions

Oracle Database 11g: Administration Workshop II Release 2

Oracle Backup and Recover 101. Osborne Press ISBN

Versant High Availability Backup Usage Manual. Release

RMAN BACKUP & RECOVERY. Recovery Manager. Veeratteshwaran Sridhar

WHITE PAPER. Oracle Backup and Recovery Essentials INFORMATION THAT EVERY ORACLE DATABASE ADMINISTRATOR SHOULD KNOW

Oracle 11g Database Administration

Oracle Database 11g: Administration Workshop II DBA Release 2

VERITAS VERTEX Initiative

Configuring Backup Settings Configuring and Managing Persistent Settings for RMAN Configuring Autobackup of Control File Backup optimization

REMOTE SITE RECOVERY OF ORACLE ENTERPRISE DATA WAREHOUSE USING EMC DATA DOMAIN

Oracle 11gR2 : Recover dropped tablespace using RMAN tablespace point in time recovery

Getting all the pieces: Reliable Backup/Recovery

BUSINESS CONTINUITY AND DISASTER RECOVERY FOR ORACLE 11g

! " # #$ " " %" & "'( " "' ( ) " * ""! ). " / ( * ( "# 0! " ). '

EMC NETWORKER SNAPSHOT MANAGEMENT

Using Recovery Manager with Oracle Data Guard in Oracle Database 10g. An Oracle White Paper April 2009

Trends in Application Recovery. Andreas Schwegmann, HP

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

Backing Up Oracle Databases with Handy Backup

Oracle9i Database: Advanced Backup and Recovery Using RMAN

Backing up a Large Oracle Database with EMC NetWorker and EMC Business Continuity Solutions

Oracle Data Guard for High Availability and Disaster Recovery

EMC Replication Manager Integration with Oracle Database Server

Restore and Recovery Tasks. Copyright 2009, Oracle. All rights reserved.

MICROSOFT EXCHANGE best practices BEST PRACTICES - DATA STORAGE SETUP

Using HP StoreOnce Backup systems for Oracle database backups

Backup and Recovery. Oracle RMAN 11 g. Oracle Press ORACLG. Matthew Hart. Robert G. Freeman. Mc Graw Hill. Lisbon London Madrid Mexico City Milan

OCP: Oracle Database 12c Administrator Certified Professional Study Guide. Exam 1Z0-063

High Availability for Oracle 8 Using Double-Take

Alternative Backup Methods For HP-UX Environments Today and Tomorrow

WHITE PAPER. Oracle Backup and Recovery Essentials NFORMATION THAT EVERY ORACLE DATABASE ADMINISTRATOR SHOULD KNOW

VMAX 3 AND ORACLE. Yaron Dar & Udgith Mankad VMAX Partner Engineering ORACLE BEST PRACTICES FOR REPLICATIONS, BACKUP/RECOVERY, AND PROTECTPOINT

Oracle 11g: RAC and Grid Infrastructure Administration Accelerated R2

Strategies for Oracle Database Backup and Recovery: Case Studies. Mingguang Xu

Redefining Oracle Database Management

Using Hitachi Protection Manager and Hitachi Storage Cluster software for Rapid Recovery and Disaster Recovery in Microsoft Environments

HP Data Protector 8.1 integration with HP 3PAR Storage System

High Availability for Oracle 10g Using Double-Take

Remote Copy Technology of ETERNUS6000 and ETERNUS3000 Disk Arrays

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

Oracle Recovery Manager

CA ARCserve Backup for Linux

Oracle Database Deployments with EMC CLARiiON AX4 Storage Systems

DOCUMENTATION ORACLE BACKUP & RESTORE OPERATIONS

How To Back Up A Computer To A Backup On A Hard Drive On A Microsoft Macbook (Or Ipad) With A Backup From A Flash Drive To A Flash Memory (Or A Flash) On A Flash (Or Macbook) On

Oracle Backup & Recovery

Backup Types. Backup and Recovery. Categories of Failures. Issues. Logical. Cold. Hot. Physical With. Statement failure

<Insert Picture Here> RMAN Configuration and Performance Tuning Best Practices

Backup/Restore Oracle 8i/9i/10g

Recover Oracle Database upon losing all Control Files

Oracle Database 11g: Administration And Backup & Recover

Oracle 11g DBA Training Course Content

VERITAS NetBackup 6.0 Database and Application Protection

Maximum Availability Architecture. Oracle Best Practices For High Availability

Oracle Data Recovery Advisor

Oracle Database Backups and Disaster Autodesk

CA ARCserve Backup for Windows

Symantec NetBackup Snapshots, Continuous Data Protection, and Replication

Transcription:

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

POINT-IN-TIME COPY TECHNOLOGIES

POINT-IN-TIME COPY TECHNOLOGIES Generic guidelines & best practices for offhost backups of 10g ASM based databases Leverages 3 rd Party Snapshot technologies Timefinder (EMC) ShadowImage (HDS) Business Copy (HP) The 3 rd Party point-in-time copy solutions must have completed OSCP script validation

GENERAL ASSUMPTIONS & REQUIREMENTS Source system 3rd party point-in-time copy solution supports full LUN copy point-in-time copy All disks in a disk group must be split atomically with respect to write completion (preserving write ordering) An ASM disk group is configured for one database only cannot snapshot one database and not the others if you have consolidated several databases into one ASM disk group

GENERAL ASSUMPTIONS & REQUIREMENTS Source system Configure ASM with two diskgroups DATADG diskgroup contains database data files only (no redo log or control file) ARCHDG diskgroup contains: Online redo logs, control file, archive and flashback logs Two storage array LUN groups must encapsulate all disks from DATA and ARCHDG; respectively. All ASM disk groups configured with external redundancy mirroring

GENERAL ASSUMPTIONS & REQUIREMENTS Backup host system The backup host is configured similarly to primary Same OS level Same user and group id Same directory structure for Oracle binaries RMAN recovery catalog is required Primary and Backup host should have Oracle Net connectivity to RMAN Recovery Catalog The backup host should have a copy of database init.ora and password file (if one exists) For ASM and database

GENERAL ASSUMPTIONS & REQUIREMENTS Backup host system Backup host has access to split disks The Production host should have access to the LAN-based tape backup system for restore

Procedure and Steps CREATE A DATABASE SNAPSHOT COPY FOR BACKUP

Initial Setup Procedure Identify the disks (LUNs) in ASM DATADG diskgroup. Repeat this step for the ARCHDG diskgroup. select a.group_number,path, name from v$asm_disk a, v$asm_diskgroup b where a.group_number=b.group_number and b.group_name = DATADG GROUP_NUMBER PATH NAME 1 /dev/rdsk/c3t19d16s4 DATADG_0001 1 /dev/rdsk/c3t19d17s4 DATADG_0002 1 /dev/rdsk/c3t19d39s4 DATADG_0003

Initial Setup Procedure Create storage volumes that encapsulate the disks identified in previous bullet with the point-in-time copy solution Establish and synchronize the volume group Once fully synchronized, split the mirror pair for the volume group This snapshot copy volume group can now be seen on the Backup host. Verify that these volumes are seen on the Backup host

High Level Backup Process Prerequisites Storage Array is configured with the correct LUN groups LUN groups mirror pairs are fully synchronized

Backup Step-by-Step Procedure Primary Host Force a log switch SQL>alter system archive log current; Place the database in backup mode. SQL> alter database cubs begin backup; Split mirror pair for DATADG 3rd party Snapshot application command Take the database out of hot backup mode. SQL> alter database cubs end backup;

Backup Step-by-Step Procedure Primary Host Force current log to be archived SQL> alter system archive log current; Create two copies of a backup controlfile. One copy of the control file, called control_start will be used to start the database in mount mode on the backup server. The second copy, named control_backup, will be part of the backup set by RMAN. The init.ora file s CONTROL_FILES parameter on the backup server points to control_start copy of control file. (CONTROL_FILES='+DATADG/cubs/control_files/control_ start'

Backup Step-by-Step Procedure Primary Host RMAN> run { allocate channel foo type disk; copy current controlfile to '+ARCHDG/cubs/control_files/control_start ; copy current controlfile to '+ARCHDG/cubs/control_files/control_bakup';}

Backup Step-by-Step Procedure Primary Host Resynchronize the RMAN catalog with production database. This adds the most recent archive log info to the recovery catalog. Connect to RMAN catalog and production database: RMAN> resync catalog; Split the mirror pair for the volumes containing the ARCHDG diskgroup. The backing up the archive logs can occur multiple times a day as required.

Backup Step-by-Step Procedure Backup Host Startup ASM instance. Ensure the appropriate init.ora is used to startup the ASM instance. When ASM is successfully started, all the necessary diskgroups should be available. Verify using: SQL> select * from v$asm_diskgroup; Startup and mount the database, Note, the init.ora file should have the CONTROL_FILES variable point to '+ARCHDG/cubs/control_files/control_start file SQL>startup mount Backup the database using RMAN, including the archive log files and backup controlfile

Backup Step-by-Step Procedure Backup Host Connect to recovery catalog and target database on the Backup host (which is now mounted), RMAN> run {allocate channel t1 type SBT_TAPE'; backup format 'ctl_%d_%s %p_%t Controlfilecopy '+ARCH/cubs/control_files/control_bakup '; backup full format 'db_%d_%s_%p_%t'(database); backup format 'al_%d_%s_%p_%t' (archivelog all); release channel t1; }

On the Production Host Delete obsolete archive logs from the log archive area (ARCHDG diskgroup). RMAN> delete archivelog backed up 2 times to device type sbt ;

POST BACKUP PROCEDURE Once the backup is complete, two options are available for point-in-time copy management: Shutdown ASM and database instances, but leave the point-in-time copy available on Backup host. This will prevent accidental updates to this backup database. Re-synchronize LUN Groups with production volumes. The disadvantage of this option is that split volumes cannot be used to recover the database; i.e., tape restore is the only option.

RESTORE PROCEDURE METHODS

SUMMARY Off-host backups reduce impact on primary server(s) Benefit from RMAN internal block checks Can backup to disk on backup server then to tape: D2D2T.