SlideShare a Scribd company logo
Oracle Database Backups and Disaster Recovery @ Autodesk

Alan Williams
Database Design Engineer

 © 2012 Autodesk
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



    © 2012 Autodesk                                2
Best Known For…




© 2012 Autodesk   3
Agenda
   Background

   Change Drivers

   Where We Were...

   Where We Are…

   Tips For Success

   Questions?
                           Image courtesy of Ulysse Nardin SA



    © 2012 Autodesk    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



© 2012 Autodesk                                        5
Change Drivers

                  • Oracle 11gR2                              • Oracle 11gR2
Increase                                            Increase
Reliability       • Standardized hardware         Performance • Oracle Database
                    configuration                               Partitioning


                  • Oracle Real Application                    • Complete Oracle stack
 Increase                                          Reduce
Availability
                    Clusters
                                                  Complexity   • Simplified Backup and
                  • Oracle Data Guard                            DR process


                  • Oracle Real Application
Increase            Clusters
Scalability
                  • Commodity Servers

© 2012 Autodesk                               6
Where We Were…

   Complex mix of hardware/software      Various infrastructure platforms
    vendors and technologies                  Server Operating Systems (Solaris &

       EMC Storage Replication                Redhat)

       BCV splits backups                    Oracle Database versions (9i – 10g)

       NetBackup Tape Management             Server hardware (Sun, HP, Dell)

       VERITAS Volume Manager

   No database replication




© 2012 Autodesk                        7
Where We Are…




Image created in Autodesk® 3ds Max® software



      © 2012 Autodesk                          8
Disaster Recovery Design
          East Coast DC                                                                                      West Coast DC
                                        ASYNC                                     ASYNC
                                       Data Guard                                Data Guard
                                       Redo Apply                                Redo Apply

                                                             MPLS Cloud                                •   10 single instanced physical
•    10 RAC primary databases
                                                                                                           standbys (non-RAC)
•    3 RAC clusters
•    1-5TB sized databases       Features
•    14 day flashback via Fast   •   RAC provides High Availability for Primary
     Recovery Area               •   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

    © 2012 Autodesk                                              9
Backup Design
          East Coast DC                                                                     West Coast DC
                                  ASYNC                                  ASYNC
                                 Data Guard                             Data Guard
                                 Redo Apply                             Redo Apply

                                 DD Change          MPLS Cloud          DD Change     •   10 single instanced physical
•    10 RAC primary databases
                                 Replication                            Replication       standbys (non-RAC)
•    3 RAC clusters
                                                                                      •   Daily level 0 backups
•    1-5TB sized databases
                                                                                      •   Backups used for local
•    14 day flashback via Fast
                                                                                          refreshes
     Recovery Area
                                 Features
                                 •   3 copies of Production data (4 data sets)
                                 •   No tape backups; complete disk based solution
                                 •   No incremental backups
                                 •   Data Domain deduplication
                                 •   1 – 5 TB sized databases
•    Data Domain (DD) Storage                                                         •   Data Domain (DD) Storage
     Appliance replicated from                                                            Appliance for local backups
     West Coast (Read Only)



    © 2012 Autodesk                                     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




© 2012 Autodesk                                   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




 © 2012 Autodesk                                                     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;
release channel oem_backup_disk1;
release channel oem_backup_disk2;
}
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;
release channel oem_backup_disk1;
}




 *Use multiple channels to maximize I/O and network throughput. 8 channels may perform better than 2




    © 2012 Autodesk                                        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’;
release channel oem_backup_disk1;
release channel oem_backup_disk2;
}




 *Use multiple channels to maximize I/O and network throughput. 8 channels may perform better than 2




    © 2012 Autodesk                                        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




 * Flashback Recovery Area (FRA) allows 14 days flashback




© 2012 Autodesk                                     15
Backup Metrics & Performance
   ~400GB per hour backup writes
   4TB backed up in 10 hours
   24x Data Domain compression




Standby server CPU consumption




                                         Data Domain Consumption and Usage




© 2012 Autodesk                     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

   Multi-section Backups
       Significantly improved backup speed of VLDBs by breaking up large tablespaces into
        contiguous sets of blocks (chunks), leveraging multiple channels against a single file




© 2012 Autodesk                                     17
Management & Monitoring Tools

                                                   Management            Monitoring

                  Backups                          RMAN catalog          NimSoft®
                                               Oracle Grid Control 11g
                                                  (evaluating 12c)
                  Data Guard Replication       Oracle Grid Control 11g   NimSoft®




   • Protecting the RMAN catalog
      • Daily incremental and weekly full backups
      • Weekly offsite backups
      • Daily datapump exports transferred to a different datacenter




© 2012 Autodesk                                        18
Data Guard Status in OEM




© 2012 Autodesk            19
Data Guard Performance Graph in OEM




© 2012 Autodesk           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;




© 2012 Autodesk                                             21
Improvements Achieved
   Standard Oracle software technology stack
   Standard commodity hardware (HP DL580s)
   Standard Oracle database version across all Tier1 Apps (11gR2)
   Standard Operating System (RedHat)
   Simplified technology portfolio



                         Standards == Simplicity




© 2012 Autodesk                         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

        Oracle RMAN Design Best Practices with Data Domain http://goo.gl/gfI6q

   Test your backups and DR processes periodically, at least yearly
   Test various failure scenarios and document remediation for each



    © 2012 Autodesk                                   23
Questions?




                       Maya image courtesy of Gravity



© 2012 Autodesk   24
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.

© 2012 Autodesk, Inc. All rights reserved.

  © 2012 Autodesk

More Related Content

What's hot

Backup & recovery with rman
Backup & recovery with rmanBackup & recovery with rman
Backup & recovery with rman
itsabidhussain
 
Backup And Recovery
Backup And RecoveryBackup And Recovery
Backup And Recovery
raghu_designer
 
Presentation backup and recovery best practices for very large databases (v...
Presentation   backup and recovery best practices for very large databases (v...Presentation   backup and recovery best practices for very large databases (v...
Presentation backup and recovery best practices for very large databases (v...
xKinAnx
 
10 ways to improve your rman script
10 ways to improve your rman script10 ways to improve your rman script
10 ways to improve your rman script
Maris Elsins
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
Satishbabu Gunukula
 
Oracle backup and recovery
Oracle backup and recoveryOracle backup and recovery
Oracle backup and recovery
Yogiji Creations
 
RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)
Gustavo Rene Antunez
 
Data protection for oracle backup &amp; recovery for oracle databases
Data protection for oracle  backup &amp; recovery for oracle databasesData protection for oracle  backup &amp; recovery for oracle databases
Data protection for oracle backup &amp; recovery for oracle databases
solarisyougood
 
Les 03 catalog
Les 03 catalogLes 03 catalog
Les 03 catalog
Femi Adeyemi
 
Reduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technologyReduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technology
Kirill Loifman
 
Oracle architecture ppt
Oracle architecture pptOracle architecture ppt
Oracle architecture ppt
Deepak Shetty
 
Why virtual private catalog?
Why virtual private catalog?Why virtual private catalog?
Why virtual private catalog?
Satishbabu Gunukula
 
Xpp c user_rec
Xpp c user_recXpp c user_rec
Xpp c user_rec
Femi Adeyemi
 
RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)
Gustavo Rene Antunez
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
Satishbabu Gunukula
 
Les 01 core
Les 01 coreLes 01 core
Les 01 core
Femi Adeyemi
 
Les 02 config
Les 02 configLes 02 config
Les 02 config
Femi Adeyemi
 
Les 13 memory
Les 13 memoryLes 13 memory
Les 13 memory
Femi Adeyemi
 
Less04 database instance
Less04 database instanceLess04 database instance
Less04 database instance
Amit Bhalla
 
Les 08 tune_rman
Les 08 tune_rmanLes 08 tune_rman
Les 08 tune_rman
Femi Adeyemi
 

What's hot (20)

Backup & recovery with rman
Backup & recovery with rmanBackup & recovery with rman
Backup & recovery with rman
 
Backup And Recovery
Backup And RecoveryBackup And Recovery
Backup And Recovery
 
Presentation backup and recovery best practices for very large databases (v...
Presentation   backup and recovery best practices for very large databases (v...Presentation   backup and recovery best practices for very large databases (v...
Presentation backup and recovery best practices for very large databases (v...
 
10 ways to improve your rman script
10 ways to improve your rman script10 ways to improve your rman script
10 ways to improve your rman script
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
 
Oracle backup and recovery
Oracle backup and recoveryOracle backup and recovery
Oracle backup and recovery
 
RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)RMAN in 12c: The Next Generation (PPT)
RMAN in 12c: The Next Generation (PPT)
 
Data protection for oracle backup &amp; recovery for oracle databases
Data protection for oracle  backup &amp; recovery for oracle databasesData protection for oracle  backup &amp; recovery for oracle databases
Data protection for oracle backup &amp; recovery for oracle databases
 
Les 03 catalog
Les 03 catalogLes 03 catalog
Les 03 catalog
 
Reduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technologyReduce planned database down time with Oracle technology
Reduce planned database down time with Oracle technology
 
Oracle architecture ppt
Oracle architecture pptOracle architecture ppt
Oracle architecture ppt
 
Why virtual private catalog?
Why virtual private catalog?Why virtual private catalog?
Why virtual private catalog?
 
Xpp c user_rec
Xpp c user_recXpp c user_rec
Xpp c user_rec
 
RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)RMAN in 12c: The Next Generation (WP)
RMAN in 12c: The Next Generation (WP)
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
 
Les 01 core
Les 01 coreLes 01 core
Les 01 core
 
Les 02 config
Les 02 configLes 02 config
Les 02 config
 
Les 13 memory
Les 13 memoryLes 13 memory
Les 13 memory
 
Less04 database instance
Less04 database instanceLess04 database instance
Less04 database instance
 
Les 08 tune_rman
Les 08 tune_rmanLes 08 tune_rman
Les 08 tune_rman
 

Similar to Oracle Database Backups and Disaster Recovery @ Autodesk

2.Oracle’S High Availability Vision
2.Oracle’S High Availability Vision2.Oracle’S High Availability Vision
2.Oracle’S High Availability Vision
Ermando
 
End of RAID as we know it with Ceph Replication
End of RAID as we know it with Ceph ReplicationEnd of RAID as we know it with Ceph Replication
End of RAID as we know it with Ceph Replication
Ceph Community
 
Dipesh Singh 01112016
Dipesh Singh 01112016Dipesh Singh 01112016
Dipesh Singh 01112016
Dipesh Singh
 
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Lindsey Aitchison
 
Database as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance PlatformDatabase as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance Platform
Maris Elsins
 
Disaster Recovery pomocí Oracle Cloudu
Disaster Recovery pomocí Oracle ClouduDisaster Recovery pomocí Oracle Cloudu
Disaster Recovery pomocí Oracle Cloudu
MarketingArrowECS_CZ
 
Oracle Storage a ochrana dat
Oracle Storage a ochrana datOracle Storage a ochrana dat
Oracle Storage a ochrana dat
MarketingArrowECS_CZ
 
Oracle DataGuard Online Training in USA | INDIA
Oracle DataGuard Online Training in USA | INDIAOracle DataGuard Online Training in USA | INDIA
Oracle DataGuard Online Training in USA | INDIA
Xoom Trainings
 
IMCSummit 2015 - Day 2 General Session - Flash-Extending In-Memory Computing
IMCSummit 2015 - Day 2 General Session - Flash-Extending In-Memory ComputingIMCSummit 2015 - Day 2 General Session - Flash-Extending In-Memory Computing
IMCSummit 2015 - Day 2 General Session - Flash-Extending In-Memory Computing
In-Memory Computing Summit
 
Ajay_oracle dba
Ajay_oracle dbaAjay_oracle dba
Ajay_oracle dba
ajay pat
 
ZFS appliance
ZFS applianceZFS appliance
ZFS appliance
Fran Navarro
 
Exadata Backup
Exadata BackupExadata Backup
Exadata Backup
Fran Navarro
 
Database backup 110810
Database backup 110810Database backup 110810
Database backup 110810
rjmurphyslideshare
 
NICTA, Disaster Recovery Using OpenStack
NICTA, Disaster Recovery Using OpenStackNICTA, Disaster Recovery Using OpenStack
NICTA, Disaster Recovery Using OpenStack
laurabeckcahoon
 
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoOracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
Markus Michalewicz
 
Updated Resume
Updated ResumeUpdated Resume
Updated Resume
Charles Fon
 
Deliver Big Data, Database and AI/ML as-a-Service anywhere
Deliver Big Data, Database and AI/ML as-a-Service anywhereDeliver Big Data, Database and AI/ML as-a-Service anywhere
Deliver Big Data, Database and AI/ML as-a-Service anywhere
Ravikumar Alluboyina
 
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RACAUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
Sandesh Rao
 
Oow14 con7681-rman-1
Oow14 con7681-rman-1Oow14 con7681-rman-1
Oow14 con7681-rman-1
Dan Glasscock
 
X-DB Replication Server and MMR
X-DB Replication Server and MMRX-DB Replication Server and MMR
X-DB Replication Server and MMR
Ashnikbiz
 

Similar to Oracle Database Backups and Disaster Recovery @ Autodesk (20)

2.Oracle’S High Availability Vision
2.Oracle’S High Availability Vision2.Oracle’S High Availability Vision
2.Oracle’S High Availability Vision
 
End of RAID as we know it with Ceph Replication
End of RAID as we know it with Ceph ReplicationEnd of RAID as we know it with Ceph Replication
End of RAID as we know it with Ceph Replication
 
Dipesh Singh 01112016
Dipesh Singh 01112016Dipesh Singh 01112016
Dipesh Singh 01112016
 
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
Building an Oracle Grid with Oracle VM on Dell Blade Servers and EqualLogic i...
 
Database as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance PlatformDatabase as a Service on the Oracle Database Appliance Platform
Database as a Service on the Oracle Database Appliance Platform
 
Disaster Recovery pomocí Oracle Cloudu
Disaster Recovery pomocí Oracle ClouduDisaster Recovery pomocí Oracle Cloudu
Disaster Recovery pomocí Oracle Cloudu
 
Oracle Storage a ochrana dat
Oracle Storage a ochrana datOracle Storage a ochrana dat
Oracle Storage a ochrana dat
 
Oracle DataGuard Online Training in USA | INDIA
Oracle DataGuard Online Training in USA | INDIAOracle DataGuard Online Training in USA | INDIA
Oracle DataGuard Online Training in USA | INDIA
 
IMCSummit 2015 - Day 2 General Session - Flash-Extending In-Memory Computing
IMCSummit 2015 - Day 2 General Session - Flash-Extending In-Memory ComputingIMCSummit 2015 - Day 2 General Session - Flash-Extending In-Memory Computing
IMCSummit 2015 - Day 2 General Session - Flash-Extending In-Memory Computing
 
Ajay_oracle dba
Ajay_oracle dbaAjay_oracle dba
Ajay_oracle dba
 
ZFS appliance
ZFS applianceZFS appliance
ZFS appliance
 
Exadata Backup
Exadata BackupExadata Backup
Exadata Backup
 
Database backup 110810
Database backup 110810Database backup 110810
Database backup 110810
 
NICTA, Disaster Recovery Using OpenStack
NICTA, Disaster Recovery Using OpenStackNICTA, Disaster Recovery Using OpenStack
NICTA, Disaster Recovery Using OpenStack
 
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo PruscinoOracle RAC and Your Way to the Cloud by Angelo Pruscino
Oracle RAC and Your Way to the Cloud by Angelo Pruscino
 
Updated Resume
Updated ResumeUpdated Resume
Updated Resume
 
Deliver Big Data, Database and AI/ML as-a-Service anywhere
Deliver Big Data, Database and AI/ML as-a-Service anywhereDeliver Big Data, Database and AI/ML as-a-Service anywhere
Deliver Big Data, Database and AI/ML as-a-Service anywhere
 
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RACAUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
AUSOUG - NZOUG-GroundBreakers-Jun 2019 - 19c RAC
 
Oow14 con7681-rman-1
Oow14 con7681-rman-1Oow14 con7681-rman-1
Oow14 con7681-rman-1
 
X-DB Replication Server and MMR
X-DB Replication Server and MMRX-DB Replication Server and MMR
X-DB Replication Server and MMR
 

Recently uploaded

Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Speck&Tech
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
Aftab Hussain
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
Zilliz
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
Zilliz
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
Matthew Sinclair
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
Alpen-Adria-Universität
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems S.M.S.A.
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Things to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUUThings to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUU
FODUU
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
Wouter Lemaire
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
Ivanti
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
ssuserfac0301
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Safe Software
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
kumardaparthi1024
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 

Recently uploaded (20)

Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
Cosa hanno in comune un mattoncino Lego e la backdoor XZ?
 
Removing Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software FuzzingRemoving Uninteresting Bytes in Software Fuzzing
Removing Uninteresting Bytes in Software Fuzzing
 
Full-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalizationFull-RAG: A modern architecture for hyper-personalization
Full-RAG: A modern architecture for hyper-personalization
 
Programming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup SlidesProgramming Foundation Models with DSPy - Meetup Slides
Programming Foundation Models with DSPy - Meetup Slides
 
20240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 202420240605 QFM017 Machine Intelligence Reading List May 2024
20240605 QFM017 Machine Intelligence Reading List May 2024
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 
Video Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the FutureVideo Streaming: Then, Now, and in the Future
Video Streaming: Then, Now, and in the Future
 
Uni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdfUni Systems Copilot event_05062024_C.Vlachos.pdf
Uni Systems Copilot event_05062024_C.Vlachos.pdf
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Things to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUUThings to Consider When Choosing a Website Developer for your Website | FODUU
Things to Consider When Choosing a Website Developer for your Website | FODUU
 
UI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentationUI5 Controls simplified - UI5con2024 presentation
UI5 Controls simplified - UI5con2024 presentation
 
June Patch Tuesday
June Patch TuesdayJune Patch Tuesday
June Patch Tuesday
 
Taking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdfTaking AI to the Next Level in Manufacturing.pdf
Taking AI to the Next Level in Manufacturing.pdf
 
Driving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success StoryDriving Business Innovation: Latest Generative AI Advancements & Success Story
Driving Business Innovation: Latest Generative AI Advancements & Success Story
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
GenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizationsGenAI Pilot Implementation in the organizations
GenAI Pilot Implementation in the organizations
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 

Oracle Database Backups and Disaster Recovery @ Autodesk

  • 1. Oracle Database Backups and Disaster Recovery @ Autodesk Alan Williams Database Design Engineer © 2012 Autodesk
  • 2. 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 © 2012 Autodesk 2
  • 3. Best Known For… © 2012 Autodesk 3
  • 4. Agenda  Background  Change Drivers  Where We Were...  Where We Are…  Tips For Success  Questions? Image courtesy of Ulysse Nardin SA © 2012 Autodesk 4
  • 5. 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 © 2012 Autodesk 5
  • 6. Change Drivers • Oracle 11gR2 • Oracle 11gR2 Increase Increase Reliability • Standardized hardware Performance • Oracle Database configuration Partitioning • Oracle Real Application • Complete Oracle stack Increase Reduce Availability Clusters Complexity • Simplified Backup and • Oracle Data Guard DR process • Oracle Real Application Increase Clusters Scalability • Commodity Servers © 2012 Autodesk 6
  • 7. Where We Were…  Complex mix of hardware/software  Various infrastructure platforms vendors and technologies  Server Operating Systems (Solaris &  EMC Storage Replication Redhat)  BCV splits backups  Oracle Database versions (9i – 10g)  NetBackup Tape Management  Server hardware (Sun, HP, Dell)  VERITAS Volume Manager  No database replication © 2012 Autodesk 7
  • 8. Where We Are… Image created in Autodesk® 3ds Max® software © 2012 Autodesk 8
  • 9. Disaster Recovery Design East Coast DC West Coast DC ASYNC ASYNC Data Guard Data Guard Redo Apply Redo Apply MPLS Cloud • 10 single instanced physical • 10 RAC primary databases standbys (non-RAC) • 3 RAC clusters • 1-5TB sized databases Features • 14 day flashback via Fast • RAC provides High Availability for Primary Recovery Area • 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 © 2012 Autodesk 9
  • 10. Backup Design East Coast DC West Coast DC ASYNC ASYNC Data Guard Data Guard Redo Apply Redo Apply DD Change MPLS Cloud DD Change • 10 single instanced physical • 10 RAC primary databases Replication Replication standbys (non-RAC) • 3 RAC clusters • Daily level 0 backups • 1-5TB sized databases • Backups used for local • 14 day flashback via Fast refreshes Recovery Area Features • 3 copies of Production data (4 data sets) • No tape backups; complete disk based solution • No incremental backups • Data Domain deduplication • 1 – 5 TB sized databases • Data Domain (DD) Storage • Data Domain (DD) Storage Appliance replicated from Appliance for local backups West Coast (Read Only) © 2012 Autodesk 10
  • 11. 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 © 2012 Autodesk 11
  • 12. 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 © 2012 Autodesk 12
  • 13. 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; release channel oem_backup_disk1; release channel oem_backup_disk2; } 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; release channel oem_backup_disk1; } *Use multiple channels to maximize I/O and network throughput. 8 channels may perform better than 2 © 2012 Autodesk 13
  • 14. 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’; release channel oem_backup_disk1; release channel oem_backup_disk2; } *Use multiple channels to maximize I/O and network throughput. 8 channels may perform better than 2 © 2012 Autodesk 14
  • 15. 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 * Flashback Recovery Area (FRA) allows 14 days flashback © 2012 Autodesk 15
  • 16. Backup Metrics & Performance  ~400GB per hour backup writes  4TB backed up in 10 hours  24x Data Domain compression Standby server CPU consumption Data Domain Consumption and Usage © 2012 Autodesk 16
  • 17. 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  Multi-section Backups  Significantly improved backup speed of VLDBs by breaking up large tablespaces into contiguous sets of blocks (chunks), leveraging multiple channels against a single file © 2012 Autodesk 17
  • 18. Management & Monitoring Tools Management Monitoring Backups RMAN catalog NimSoft® Oracle Grid Control 11g (evaluating 12c) Data Guard Replication Oracle Grid Control 11g NimSoft® • Protecting the RMAN catalog • Daily incremental and weekly full backups • Weekly offsite backups • Daily datapump exports transferred to a different datacenter © 2012 Autodesk 18
  • 19. Data Guard Status in OEM © 2012 Autodesk 19
  • 20. Data Guard Performance Graph in OEM © 2012 Autodesk 20
  • 21. 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; © 2012 Autodesk 21
  • 22. Improvements Achieved  Standard Oracle software technology stack  Standard commodity hardware (HP DL580s)  Standard Oracle database version across all Tier1 Apps (11gR2)  Standard Operating System (RedHat)  Simplified technology portfolio Standards == Simplicity © 2012 Autodesk 22
  • 23. 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  Oracle RMAN Design Best Practices with Data Domain http://goo.gl/gfI6q  Test your backups and DR processes periodically, at least yearly  Test various failure scenarios and document remediation for each © 2012 Autodesk 23
  • 24. Questions? Maya image courtesy of Gravity © 2012 Autodesk 24
  • 25. 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. © 2012 Autodesk, Inc. All rights reserved. © 2012 Autodesk