Oracle Database Backups and Disaster Recovery @ Autodesk



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

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

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

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

Using HP StoreOnce Backup systems for Oracle database backups

RMAN BACKUP & RECOVERY. Recovery Manager. Veeratteshwaran Sridhar

Oracle Database 11g: Administration Workshop II DBA Release 2

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

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

11. Oracle Recovery Manager Overview and Configuration.

EMC Data Domain Boost for Oracle Recovery Manager (RMAN)

Oracle Database 11g: Administration Workshop II DBA Release 2

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

WHITE PAPER. Oracle RMAN Design Best Practices with Data Domain. Storage. Deduplication

Oracle Database 11g: Administration Workshop II Release 2

EMC Data Domain Boost for Oracle Recovery Manager (RMAN)

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

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

<Insert Picture Here> Refreshing Your Data Protection Environment with Next-Generation Architectures

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

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

ORACLE RMAN DESIGN BEST PRACTICES WITH EMC DATA DOMAIN

D12CBR Oracle Database 12c: Backup and Recovery Workshop NEW

Oracle Maximum Availability Architecture with Exadata Database Machine. Morana Kobal Butković Principal Sales Consultant Oracle Hrvatska

Implementing an Enterprise Class Database Backup and Recovery Plan

Turbo Charge Your Data Protection Strategy

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

HP LeftHand SAN Solutions

Get Success in Passing Your Certification Exam at first attempt!

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

Demos - Workshop. -- Configure the RMAN

Redefining Oracle Database Management

Data Backup and Restore (DBR) Overview Detailed Description Pricing... 5 SLAs... 5 Service Matrix Service Description

How to Best Configure, Size, and Monitor the Oracle Database Fast Recovery Area

Oracle Cloud Storage and File system

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

Data Sheet: Data Protection Veritas NetBackup 6.5 NetBackup Enterprise Server- Next Generation Data Protection

ORACLE CORE DBA ONLINE TRAINING

VERITAS NetBackup 6.0 Enterprise Server INNOVATIVE DATA PROTECTION DATASHEET. Product Highlights

Backup and Recovery for SAP Environments using EMC Avamar 7

Oracle Database 10g: Backup and Recovery 1-2

Optimizing Storage for Better TCO in Oracle Environments. Part 1: Management INFOSTOR. Executive Brief

High Availability Databases based on Oracle 10g RAC on Linux

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

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

Maximum Availability Architecture

Oracle9i Database: Advanced Backup and Recovery Using RMAN

RMAN in the Trenches: To Go Forward, We Must Backup

Oracle Recovery Manager

Oracle 10g Feature: RMAN Incrementally Updated Backups

Oracle Database 12c Recovery Manager New Features

VERITAS NetBackup 6.0 Database and Application Protection

Symantec NetBackup 7 Clients and Agents

Introduction to Database as a Service

Daniela Milanova Senior Sales Consultant

Data Protection as Part of Your Cloud Journey

ORACLE DATABASE HIGH AVAILABILITY STRATEGY, ARCHITECTURE AND SOLUTIONS

An Oracle White Paper November Backup and Recovery with Oracle s Sun ZFS Storage Appliances and Oracle Recovery Manager

EMC NetWorker Module for Oracle Release 5.0

Oracle Maximum Availability Architecture Best Practices for Oracle Exadata (CON8392)

Maximum Availability Architecture. Oracle Best Practices For High Availability

BrightStor ARCserve Backup

Backup and Recovery 1

EMC DATA DOMAIN OPERATING SYSTEM

EMC DATA DOMAIN OPERATING SYSTEM

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

EMC NETWORKER AND DATADOMAIN

Oracle Database 10g: Administration Workshop II Release 2

Symantec NetBackup 5220

HOW TO. RMAN Restore for Standby 10gR2

Veritas NetBackup 6.0 Server Now from Symantec

We look beyond IT. Cloud Offerings

Mayur Dewaikar Sr. Product Manager Information Management Group Symantec Corporation

Oracle Database Backup-and-Recovery Best Practices and New Features

SAP HANA Operation Expert Summit BUILD - High Availability & Disaster Recovery

TECHNICAL REPORT. Nimble Storage Oracle Backup and Recovery Guide

NBU 7.6 Best Practices: Protecting Databases and Applications Praveen Vunnava, Sr. Lead Architect Claudia Rudolph, Technical Product Manager

Backup/Recovery Strategy and Impact on Applications. Jacek Wojcieszuk, CERN IT Database Deployment and Persistancy Workshop October, 2005

The Case for Zero Data Loss Recovery Appliance

Oracle Data Protection Concepts

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

Symantec NetBackup Snapshots, Continuous Data Protection, and Replication

<Insert Picture Here> Considerations for Enterprise Cloud Computing

EMC BACKUP MEETS BIG DATA

Backup and restore of Oracle databases: introducing a disk layer

Symantec Backup Exec 2014 Icon List

EMC DATA PROTECTION. Backup ed Archivio su cui fare affidamento

EMC AVAMAR. a reason for Cloud. Deduplication backup software Replication for Disaster Recovery

Backup and Recovery for SAP with Oracle Environments Leveraging the EMC Data Protection Suite

Veritas NetBackup 6.0 Database and Application Protection

Ultimate Guide to Oracle Storage

Backup and Restore with 3 rd Party Applications

Business-Centric Storage FUJITSU Storage ETERNUS CS800 Data Protection Appliance

High Performance Oracle RAC Clusters A study of SSD SAN storage A Datapipe White Paper

Cloud OS Vision. Modern platform for the world s apps

Disaster Recovery for Oracle Database

Transcription:

Oracle Database Backups and Disaster Recovery @ Autodesk Alan Williams Database Design Engineer

Who We Are Autodesk software, suites, and cloud technology help customers design, visualize, and simulate their ideas, saving time and money while enhancing competitive advantage. 10+ million people use our professional products to imagine, design, and create a better world. Image created in Autodesk 3ds Max software 2

Best Known For 3

Agenda Background Change Drivers Where We Were... Where We Are Tips For Success Image courtesy of Ulysse Nardin SA 4

Project Background & Scope Tier 1 applications: Siebel CRM, SAP ERP, TIBCO Middleware, Data Warehouse and Data Marts Very complex and antiquated environments Multiple vendors, different technologies for different applications Costly to support, maintain and troubleshoot Project Marshall - enable infrastructure capabilities for the future One shot, waterfall style, 24 hour Go-Live Photograph by David Wakely 5

Change Drivers Increase Reliability Oracle Database 11.2 Standardized hardware configuration Increase Performance Oracle Database 11.2 Oracle Database Partitioning Increase Availability Oracle Real Application Clusters Oracle Data Guard Reduce Complexity Complete Oracle stack Simplified Backup and DR process Increase Scalability Oracle Real Application Clusters Commodity Servers 6

Where We Were Complex mix of hardware/software vendors and technologies EMC Storage Replication BCV splits backups Various infrastructure standards Server Operating Systems (Solaris & Redhat) Oracle Database 9i 10g Server hardware (Sun, HP, Dell) NetBackup Tape Management VERITAS Volume Manager No database replication 7

Where We Are Image created in Autodesk 3ds Max software 8

Disaster Recovery Design East Coast DC ASYNC Data Guard Redo Apply ASYNC Data Guard Redo Apply West Coast DC 10 RAC primary databases 3 RAC clusters 1-4TB sized databases 14 day Flashback DB via Fast Recovery Area MPLS Cloud Features RAC provides High Availability for Primary Data Guard and Flashback Technology protect against: Site and/or storage failures Data corruptions Human error Ability to roll back changes within the past ~14 days Near real-time ASYNC data replication between peer DCs 30 minute maximum lag between standby and primary 4 hour RTO, 4 hour RPO Significantly faster refreshes of Non-Production environments Snapshot standby s for efficient DR drills or other short tests Complete Oracle software technology stack 10 single instanced physical standbys (non-rac) Daily level 0 backups 9

Backup Design East Coast DC ASYNC Data Guard Redo Apply ASYNC Data Guard Redo Apply West Coast DC 10 RAC primary databases 3 RAC clusters 1-4TB sized databases 14 day Flashback DB via Fast Recovery Area Data Domain (DD) Storage Appliance replicated from West Coast (Read Only) DD Change Replication MPLS Cloud DD Change Replication Features 3 copies of Production data (4 data sets) No tape backups; complete disk based solution No incremental backups Data Domain deduplication & compression 1 5 TB sized databases Single instance physical standby (non-rac) Daily level 0 backups Backups used for local refreshes Data Domain (DD) Storage Appliance for local backups 10

Alternate Strategies Considered Daily Incremental / Weekly Full Backups Oracle MAA recommendation Not feasible with Data Domain in order to maximize compression factor Multi-section Backups Improves backup speed of large databases, especially with BIGFILE tablespaces Not feasible with Data Domain in order to maximize compression factor 11

RMAN Configuration Parameters CONFIGURE RETENTION POLICY TO REDUNDANCY 5; CONFIGURE BACKUP OPTIMIZATION ON; CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default CONFIGURE CONTROLFILE AUTOBACKUP ON; CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '/local/oracle/orabackups/obtmprd1/%t/%f'; CONFIGURE DEVICE TYPE DISK PARALLELISM 8 BACKUP TYPE TO BACKUPSET; CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default CONFIGURE CHANNEL DEVICE TYPE DISK FORMAT '/local/oracle/orabackups/obtmprd1/%u'; CONFIGURE MAXSETSIZE TO UNLIMITED; # default CONFIGURE ENCRYPTION FOR DATABASE OFF; # default CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default CONFIGURE ARCHIVELOG DELETION POLICY TO BACKED UP 1 TIMES TO DISK; # Standby Only CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/local/oracle/app/product/db11.2.0.2/dbs/snapcf_obtmprd11.f'; ** CONFIGURE ARCHIVELOG DELETION POLICY TO APPLIED ON ALL STANDBY; # Primary Only 12

RMAN Level 0 Backup Script run { allocate channel oem_backup_disk1 type disk MAXOPENFILES 1 format '/local/oracle/orabackups/<dbname>/%t/level0/%u'; allocate channel oem_backup_disk2 type disk MAXOPENFILES 1 format '/local/oracle/orabackups/<dbname>/%t/level0/%u'; backup FILESPERSET 1 as BACKUPSET tag 'DAILY_LEVL0_DATA' database; backup FILESPERSET 1 as BACKUPSET tag 'DAILY_LEVL0_ARCH' archivelog all not backed up; } run { allocate channel oem_backup_disk1 type disk MAXOPENFILES 1 format '/local/oracle/orabackups/<dbname>/%t/level0/%u'; backup FILESPERSET 1 as BACKUPSET tag 'DAILY_LEVL0_CTRL' current controlfile; } * Use multiple channels to maximize I/O and network throughput. 8 channels may perform better than 2. 13

RMAN Archive Log Backup Script run { allocate channel oem_backup_disk1 type disk MAXOPENFILES 1 format '/local/oracle/orabackups/<dbname>/%t/level0/%u'; allocate channel oem_backup_disk2 type disk MAXOPENFILES 1 format '/local/oracle/orabackups/<dbname>/%t/level0/%u'; backup FILESPERSET 1 as BACKUPSET tag 'DAILY_LEVL0_ARCH' archivelog all not backed up until time SYSDATE-30 ; } * Use multiple channels to maximize I/O and network throughput. 8 channels may perform better than 2. 14

Current Backup and Retention Schedule Component Backup Schedule Retention Database Daily Level 0 7 years Archived Logs Hourly 30 days Control Files Daily 7 years * Fast Recovery Area (FRA) allows 14 days Flashback Database 15

Backup Metrics & Performance ~400GB per hour backup rate 4TB backed up in 10 hours 24x Data Domain compression Standby server CPU consumption Data Domain Consumption and Usage 16

RMAN Features Used Active Database Duplicate (RMAN/Data Guard feature) Standby databases were created live from hot primary with no initial backup Parallelism Improved backup speed, especially useful for VLDBs 17

Management & Monitoring Tools Backups Data Guard Replication Management RMAN Catalog Oracle Grid Control 11g (evaluating Cloud Control 12c) Oracle Grid Control 11g Monitoring NimSoft NimSoft Methods to Protect the RMAN catalog Daily incremental and weekly full backups Weekly offsite backups Daily Data Pump exports transferred to a different data center 18

Data Guard Status in OEM 19

Data Guard Performance Graph in OEM 20

Backup Report SELECT 'Backup on ' b.start_time as "Backup Name", b.status as "Status", TO_CHAR(b.start_time, 'MON DD, YYYY HH12:MI:SS PM') as "Start Time", b.time_taken_display as "Time Taken", b.input_type as "Type", b.output_device_type as "Output Devices", b.input_bytes_display as "Input Size", b.output_bytes_display as "Output Size", b.output_bytes_per_sec_display as "Output Rate (Per Sec)" FROM V$RMAN_BACKUP_JOB_DETAILS b ORDER BY b.start_time DESC; 21

Improvements Achieved Standard Oracle software technology stack Standard commodity hardware (HP DL580s) Standard Oracle database version across all Tier1 Apps (11.2) Standard Operating System (RedHat) Simplified technology portfolio Standards == Simplicity 22

Tips for Success Read the documentation thoroughly, it s time consuming but really worth it RMAN Documentation http://goo.gl/bdgkw High Availability Best Practices http://goo.gl/6nomg MOS RMAN Master Note (ID 1116484.1) http://goo.gl/ruu67 Backing Up and Recovering VLDBs http://goo.gl/uvpuq Test your backups and DR processes periodically, at least yearly Test various failure scenarios and document remediation for each 23

Autodesk, AutoCAD, Alias, Autodesk Inventor, Inventor, Maya, Mudbox, and 3ds Max are registered trademarks or trademarks of Autodesk, Inc., and/or its subsidiaries and/or affiliates in the USA and/or other countries. mental ray is a registered trademark of mental images GmbH licensed for use by Autodesk, Inc. All other brand names, product names, or trademarks belong to their respective holders. Autodesk is not responsible for typographical or graphical errors that may appear in this document., Inc. All rights reserved.