SlideShare una empresa de Scribd logo
1 de 35
Descargar para leer sin conexión
RMAN best practices for
                         Real Application Clusters (RAC)




Presented by : Syed Jaffer Hussain                         Slide # 1
Know your presenter
                                                                       Syed Jaffer Hussain
                                                               Database Support Manager
                                                                    20 years IT experience
                                                               11+ years as an Oracle DBA
                                                                       Oracle ACE Director
                                                        Oracle 10g Certified Master(OCM)
                                                           Oracle 10g RAC Certified Expert
                                       Oracle Certified Professional(OCP) v8i,9i,10g & 11g
                                                              ITIL v3 Foundation Certified
                                     Authored Oracle 11g R1/R2 Real Application Clusters
                                                                                 Essentials
                                                                  Twitter: @sjaffarhussain
                                                            http://jaffardba.blogspot.com




Presented by : Syed Jaffer Hussain                                                    Slide # 2
Managing backup and recovery operations in
     RMAN for RAC and non-RAC databases
             are nearly identical ….




Presented by : Syed Jaffer Hussain        Slide # 3
What will be covered

            •   RAC Vs RMAN – why and when.
            •   RMAN overview.
            •   Multi-channel configuration
            •   Parallel recovery in RAC database.
            •   Instance Vs Crash recovery in RAC.
            •   Fast Recovery Area (FRA) for RAC database.
            •   Snapshot Controlfile backup for RAC db in 11gR2.
            •   Manage backup & recovery with Oracle Grid Control /EM.




Presented by : Syed Jaffer Hussain                                       Slide # 4
RAC Vs RMAN – why and when

         Real Application Clusters (RAC)            Recovery Manager (RMAN)

                 •   High Availability(HA)             •   A command-line and EM tool.
                        • Failover.
                                                       • Best used for all sort of database
                 • Scalability                             backup & recovery operations.
                      • Load balancing.


                 • It doesn’t safeguard your data      • It doesn’t provide high availability
                 from hardware failures or from
                 any disasters.




Presented by : Syed Jaffer Hussain                                                            Slide # 5
What will be covered


             •   RAC Vs RMAN – why and when.
             •   RMAN overview.
             •   Multi-channel configuration.
             •   Parallel recovery in RAC database.
             •   Instance Vs Crash recovery in RAC.
             •   Fast Recovery Area (FRA) for RAC database.
             •   Snapshot Controlfile backup for RAC db in 11gR2.
             •   Manage backup & recovery using Enterprise Manager(EM).




Presented by : Syed Jaffer Hussain                                        Slide # 6
RMAN overview
      Recovery Manager

           •   Was first commercially introduced with Oracle v8.
           •   A command-line and EM based tool.
           •   Comes for absolutely free of cost, installed and
                  configured by default.
           •   Intended for:
                  o Online/Offline backup and restore procedures.
                  o Can back up Database, Tablespace, Datafile, and
                             Archived logs.
           •   Supports incremental, fast incremental,
                  compressed & encrypted backups.
           •   Detects [ALSO can repair ] data block corruptions.       Courtesy from Oracle docs.
           •   Must required to backup datafiles configured on
                  Automatic Storage Management (ASM).
           •   Can validate (test) backup without actually restoring.




Presented by : Syed Jaffer Hussain                                                                   Slide # 7
What will be covered


             •   RAC Vs RMAN – why and when.
             •   RMAN overview.
             •   Configure multiple channels.
             •   Parallel recovery in RAC database.
             •   Instance Vs Crash recovery in RAC.
             •   Fast Recovery Area (FRA) for RAC database.
             •   Snapshot Controlfile backup for RAC db in 11gR2.
             •   Manage backup & recovery with Oracle Grid Control /EM.




Presented by : Syed Jaffer Hussain                                        Slide # 8
Configure multiple channels
      Multiple channel configuration for RAC db instances

           •   Scale up the back up load on to multiple instances of RAC
                  database by configuring multiple channels.

                                                              RACDB1



                                           Channel 1


                     RMAN>                                                 RACDB



                                           Channel 2

                                                             RACDB2




Presented by : Syed Jaffer Hussain                                                 Slide # 9
Configure multiple channels
      Working examples

           One time configuration in RMAN

           RMAN> CONFIGURE DEVICE TYPE disk/tape PARALLELISM 2;
           RMAN> CONFIGURE CHANNEL ch1 CONNECT ‘sys/password@tns_inst1’;
           RMAN> CONFIGURE CHANNEL ch2 CONNECT ‘sys/password@tns_inst2’;

           One time configuration with service name

           RMAN> CONFIGURE DEVICE TYPE disk/tape PARALLELISM 2;
           RMAN> CONFIGURE CHANNEL ch1 CONNECT ‘sys/password@service_name’;   Ensue
                                                                              LOAD_BALANCE
                                                                              turned on
                                                                              no TO
           Run time configuration                                             TAF (failover)

           RUN {
            ALLOCATE CHANNEL ch1 CONNECT ‘sys/password@tns_inst1’;
            ALLOCATE CHANNEL ch2 CONNECT ‘sys/password@tns_inst2’;
                 backup database …;
            RELEASE CHANNEL ch1;
            RELEASE CHANNEL ch2;
           }




Presented by : Syed Jaffer Hussain                                                             Slide # 10
What will be covered


             •   RAC Vs RMAN – why and when.
             •   RMAN overview.
             •   Configure multiple channels.
             •   Parallel recovery in RAC database.
             •   Instance Vs Crash recovery in RAC.
             •   Fast Recovery Area (FRA) for RAC database.
             •   Snapshot Controlfile backup for RAC db in 11gR2.
             •   Manage backup & recovery with Oracle Grid Control /EM.




Presented by : Syed Jaffer Hussain                                        Slide # 11
Parallel recovery in RAC

       Apply parallelism to faster restore/recovery operations

              •   Parallelism can be applied for instance, crash and media recovery operations to faster
                     the process.

              • During instance/crash recovery, Oracle database automatically applies the optimum
                  degree of parallelism.

              • Based on the CPU count, Oracle sets an optimum number of parallelism while applying
                  archive logs.

              • Setting RECOVERY_PARALLELISM initialization parameter value to 0 or 1 disables
                   instance/crash parallelism.




Presented by : Syed Jaffer Hussain                                                                         Slide # 12
What will be covered


             •   RAC Vs RMAN – why and when.
             •   RMAN overview.
             •   Configure multiple channels.
             •   Parallel recovery in RAC database.
             •   Instance Vs Crash recovery in RAC.
             •   Fast Recovery Area (FRA) for RAC database.
             •   Snapshot Controlfile backup for RAC db in 11gR2.
             •   Manage backup & recovery with Oracle Grid Control /EM.




Presented by : Syed Jaffer Hussain                                        Slide # 13
Instance Vs Crash recovery in RAC


        o When an instance goes down abruptly for a various reasons, the
              subsequent instance startup requires the instance recovery.

        o No manual intervention is required for instance/crash recovery. Oracle
               (SMON background process) automatically manages the process
               by applying online redo information.

        o The mechanism of an instance recovery is to ensure the database
               consistency post instance failure.




Presented by : Syed Jaffer Hussain                                                 Slide # 14
Instance Vs Crash recovery in RAC



           Instance recovery = one or more [not ALL] instance(s) failure of a RAC
                                   database.

           Crash recovery = failure of ALL instances of a RAC database.




Presented by : Syed Jaffer Hussain                                                  Slide # 15
Instance Vs Crash recovery in RAC



           Instance or Crash recovery done in TWO phases for a RAC database.

                         - Global Enqueue Service (LMS) background process

                         - System Monitor (SMON) background process




Presented by : Syed Jaffer Hussain                                             Slide # 16
Instance Vs Crash recovery in RAC
      Instance recovery of RAC database



                            Instance 1                                                 Instance 2



            SMON       PMON          LGWR   CKPT           ARCn            SMON   PMON        LGWR   CKPT           ARCn




                      Redo Logs                                                   Redo Logs
                                            Archive logs                                             Archive logs




                                                                  RAC DB



Presented by : Syed Jaffer Hussain                                                                              Slide # 17
Instance Vs Crash recovery in RAC
      Instance recovery of RAC database



                            Instance 1                                                 Instance B
                                                                                            down


            SMON       PMON          LGWR   CKPT           ARCn            SMON   PMON        LGWR   CKPT           ARCn




                      Redo Logs                                                   Redo Logs
                                            Archive logs                                             Archive logs




                                                                  RAC DB



Presented by : Syed Jaffer Hussain                                                                              Slide # 18
Instance Vs Crash recovery in RAC
      Instance recovery of RAC database



                            Instance 1                                                 Instance B

                                                                                                up

            SMON       PMON          LGWR   CKPT           ARCn            SMON   PMON        LGWR   CKPT           ARCn




                      Redo Logs                                                   Redo Logs
                                            Archive logs                                             Archive logs




                                                                  RAC DB



Presented by : Syed Jaffer Hussain                                                                              Slide # 19
Instance Vs Crash recovery in RAC
      Instance recovery of RAC database




    LMS              GRD      Instance 1                                               Instance B
                   recovery

                                                                                                up

            SMON        PMON         LGWR   CKPT           ARCn            SMON   PMON        LGWR   CKPT           ARCn




                        Redo Logs                                                 Redo Logs
                                            Archive logs                                             Archive logs




                                                                  RAC DB



Presented by : Syed Jaffer Hussain                                                                              Slide # 20
Instance Vs Crash recovery in RAC
      Instance recovery of RAC database




    LMS              GRD      Instance A                                               Instance B
                   recovery




            SMON        PMON         LGWR   CKPT           ARCn            SMON   PMON        LGWR   CKPT           ARCn




                        Redo Logs                                                 Redo Logs
                                            Archive logs                                             Archive logs




                                                                  RAC DB



Presented by : Syed Jaffer Hussain                                                                              Slide # 21
Instance Vs Crash recovery in RAC
      Instance recovery of RAC database




    LMS              GRD      Instance A                                               Instance B
                   recovery




            SMON        PMON         LGWR   CKPT           ARCn            SMON   PMON        LGWR   CKPT           ARCn




                        Redo Logs                                                 Redo Logs
                                            Archive logs                                             Archive logs




                                                                  RAC DB



Presented by : Syed Jaffer Hussain                                                                              Slide # 22
Instance Vs Crash recovery in RAC
      Crash recovery in a RAC database




                                     Failure of all instances>>



                                             Instance 2           Instance 2
                        Instance 1




                                              RAC DB




Presented by : Syed Jaffer Hussain                                             Slide # 23
Instance Vs Crash recovery in RAC
      Crash recovery in a RAC database




                                         Instance 2   Instance 3
                        Instance 1




                                         RAC DB




Presented by : Syed Jaffer Hussain                                 Slide # 24
Instance Vs Crash recovery in RAC
      Crash recovery in a RAC database




                                             Instance 2                 Instance 3
                        Instance 1



                                                    RAC DB


   The instance that comes up first performs the instance recovery for all instances of a RAC
   database


Presented by : Syed Jaffer Hussain                                                        Slide # 25
What will be covered


             •   RAC Vs RMAN – why and when.
             •   RMAN overview.
             •   Configure multiple channels.
             •   Parallel recovery in RAC database.
             •   Instance Vs Crash recovery in RAC.
             •   Fast Recovery Area (FRA) for RAC database.
             •   Snapshot Controlfile backup for RAC db in 11gR2.
             •   Manage backup & recovery with Oracle Grid Control /EM.




Presented by : Syed Jaffer Hussain                                        Slide # 26
Fast Recovery Area(FRA) for RAC

                            Instance 1                                                 Instance 2



            SMON       PMON          LGWR   CKPT           ARCn            SMON   PMON        LGWR   CKPT           ARCn




                      Redo Logs                                                   Redo Logs
                                            Archive logs                                             Archive logs

                       Location destination                                       Location destination
                                                                  RAC DB




Presented by : Syed Jaffer Hussain                                                                              Slide # 27
Flash Recovery Area(FRA) for RAC

                            Instance 1                                                          Instance 2



            SMON       PMON          LGWR   CKPT           ARCn                     SMON   PMON        LGWR   CKPT           ARCn


                                                                  Read permission


                      Redo Logs                                                            Redo Logs
                                            Archive logs                                                      Archive logs

                       Location destination                                                Location destination

                                                                        RAC DB




Presented by : Syed Jaffer Hussain                                                                                       Slide # 28
Flash Recovery Area(FRA) for RAC

                            Instance 1                                          Instance 2


                                         Fast Recovery Area (FRA)

                                         1         2     1         2     Identified by the thread number

                                                    2    1         2
                                         1
                                         Redo Logs        Archive logs

                                                                         FRA =
                                                                               ASM
                                                                               CFS
                                                                               Shared Location (NFS)



                                                    RAC DB




Presented by : Syed Jaffer Hussain                                                                         Slide # 29
What will be covered


             •   RAC Vs RMAN – why and when.
             •   RMAN overview.
             •   Configure multiple channels.
             •   Parallel recovery in RAC database.
             •   Instance Vs Crash recovery in RAC.
             •   Fast Recovery Area (FRA) for RAC database.
             •   Snapshot Controlfile backup for RAC db in 11gR2.
             •   Manage backup & recovery with Oracle Grid Control /EM.




Presented by : Syed Jaffer Hussain                                        Slide # 30
Snapshot Controlfile backup in 11gR2


             • Must reside on a shared device in 11gR2 or later.

             • All instances must have access to the snapshot controlfile.

             • Same snapshot controlfile will be shared by all nodes of RAC db.


      RMAN> CONFIGURE SNAPSHOT CONTROLFILE NAME TO <shared_location>;
                                                                   This must be done on EACH instance.




              ORA-00245: control file backup operation failed



Presented by : Syed Jaffer Hussain                                                           Slide # 31
What will be covered


             •   RAC Vs RMAN – why and when.
             •   RMAN overview.
             •   Configure multiple channels.
             •   Parallel recovery in RAC database.
             •   Instance Vs Crash recovery in RAC.
             •   Fast Recovery Area (FRA) for RAC database.
             •   Snapshot Controlfile backup for RAC db in 11gR2.
             •   Manage backup & recovery with Oracle Grid Control /EM.




Presented by : Syed Jaffer Hussain                                        Slide # 32
Manage B&R using Enterprise Manager




Presented by : Syed Jaffer Hussain    Slide # 33
Manage B&R using Enterprise Manager




Presented by : Syed Jaffer Hussain    Slide # 34
A big thank you to all
                                               for
                                          listening ...
                                                     You can write me at sjaffarhussain@gmail.com




Presented by : Syed Jaffer Hussain                                                       Slide # 35

Más contenido relacionado

La actualidad más candente

The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationMarkus Michalewicz
 
Výhody a benefity nasazení Oracle Database Appliance
Výhody a benefity nasazení Oracle Database ApplianceVýhody a benefity nasazení Oracle Database Appliance
Výhody a benefity nasazení Oracle Database ApplianceMarketingArrowECS_CZ
 
My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)Gustavo Rene Antunez
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsAnil Nair
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionMarkus Michalewicz
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insightsKirill Loifman
 
Oracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesOracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesMarkus Flechtner
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfSrirakshaSrinivasan2
 
Scaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ssScaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ssAnil Nair
 
New Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21cNew Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21cMarkus Flechtner
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACMarkus Michalewicz
 
Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360Carlos Sierra
 
Oracle Database Availability & Scalability Across Versions & Editions
Oracle Database Availability & Scalability Across Versions & EditionsOracle Database Availability & Scalability Across Versions & Editions
Oracle Database Availability & Scalability Across Versions & EditionsMarkus Michalewicz
 
Oracle Database in-Memory Overivew
Oracle Database in-Memory OverivewOracle Database in-Memory Overivew
Oracle Database in-Memory OverivewMaria Colgan
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONMarkus Michalewicz
 
Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil Nair
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsZohar Elkayam
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19cMaria Colgan
 
Efficient DBA: Gain Time by Reducing Command-Line Keystrokes
Efficient DBA: Gain Time by Reducing Command-Line KeystrokesEfficient DBA: Gain Time by Reducing Command-Line Keystrokes
Efficient DBA: Gain Time by Reducing Command-Line KeystrokesSeth Miller
 

La actualidad más candente (20)

The Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - PresentationThe Oracle RAC Family of Solutions - Presentation
The Oracle RAC Family of Solutions - Presentation
 
Výhody a benefity nasazení Oracle Database Appliance
Výhody a benefity nasazení Oracle Database ApplianceVýhody a benefity nasazení Oracle Database Appliance
Výhody a benefity nasazení Oracle Database Appliance
 
My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)My First 100 days with an Exadata (PPT)
My First 100 days with an Exadata (PPT)
 
Oracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret InternalsOracle RAC 19c: Best Practices and Secret Internals
Oracle RAC 19c: Best Practices and Secret Internals
 
Oracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion EditionOracle RAC Internals - The Cache Fusion Edition
Oracle RAC Internals - The Cache Fusion Edition
 
Oracle 12c PDB insights
Oracle 12c PDB insightsOracle 12c PDB insights
Oracle 12c PDB insights
 
Oracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection IssuesOracle Database: Checklist Connection Issues
Oracle Database: Checklist Connection Issues
 
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdfOracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
Oracle_Multitenant_19c_-_All_About_Pluggable_D.pdf
 
Scaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ssScaling paypal workloads with oracle rac ss
Scaling paypal workloads with oracle rac ss
 
New Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21cNew Features for Multitenant in Oracle Database 21c
New Features for Multitenant in Oracle Database 21c
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
 
Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360Understanding my database through SQL*Plus using the free tool eDB360
Understanding my database through SQL*Plus using the free tool eDB360
 
Oracle Database Availability & Scalability Across Versions & Editions
Oracle Database Availability & Scalability Across Versions & EditionsOracle Database Availability & Scalability Across Versions & Editions
Oracle Database Availability & Scalability Across Versions & Editions
 
Oracle Database in-Memory Overivew
Oracle Database in-Memory OverivewOracle Database in-Memory Overivew
Oracle Database in-Memory Overivew
 
Oracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLONOracle RAC 19c and Later - Best Practices #OOWLON
Oracle RAC 19c and Later - Best Practices #OOWLON
 
Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016
 
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAsOracle Database Performance Tuning Advanced Features and Best Practices for DBAs
Oracle Database Performance Tuning Advanced Features and Best Practices for DBAs
 
What to Expect From Oracle database 19c
What to Expect From Oracle database 19cWhat to Expect From Oracle database 19c
What to Expect From Oracle database 19c
 
ASM
ASMASM
ASM
 
Efficient DBA: Gain Time by Reducing Command-Line Keystrokes
Efficient DBA: Gain Time by Reducing Command-Line KeystrokesEfficient DBA: Gain Time by Reducing Command-Line Keystrokes
Efficient DBA: Gain Time by Reducing Command-Line Keystrokes
 

Destacado

Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACBackup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACPaulo Fagundes
 
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0Yury Velikanov
 
Oracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptOracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptSantosh Kangane
 
Step by Step Restore rman to different host
Step by Step Restore rman to different hostStep by Step Restore rman to different host
Step by Step Restore rman to different hostOsama Mustafa
 
10 Problems with your RMAN backup script
10 Problems with your RMAN backup script10 Problems with your RMAN backup script
10 Problems with your RMAN backup scriptYury Velikanov
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application clusterSatishbabu Gunukula
 
Backup and Recovery Procedure
Backup and Recovery ProcedureBackup and Recovery Procedure
Backup and Recovery ProcedureAnar Godjaev
 
Oracle rac 10g best practices
Oracle rac 10g best practicesOracle rac 10g best practices
Oracle rac 10g best practicesHaseeb Alam
 
10 Problems with your RMAN backup script - whitepaper
10 Problems with your RMAN backup script - whitepaper10 Problems with your RMAN backup script - whitepaper
10 Problems with your RMAN backup script - whitepaperYury Velikanov
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slidesMohamed Farouk
 
Oracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New FeaturesOracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New FeaturesEmre Baransel
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Markus Michalewicz
 
Alphorm.com Support de la formation Vmware Esxi 6.0
Alphorm.com Support de la formation Vmware Esxi 6.0Alphorm.com Support de la formation Vmware Esxi 6.0
Alphorm.com Support de la formation Vmware Esxi 6.0Alphorm
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new featuresJakkrapat S.
 
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 scriptMaris Elsins
 

Destacado (20)

Backup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RACBackup and Restore of database on 2-Node RAC
Backup and Restore of database on 2-Node RAC
 
Data Guard Architecture & Setup
Data Guard Architecture & SetupData Guard Architecture & Setup
Data Guard Architecture & Setup
 
Rac questions
Rac questionsRac questions
Rac questions
 
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
Oracle 12c RAC On your laptop Step by Step Implementation Guide 1.0
 
Oracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and conceptOracle 11g R2 RAC implementation and concept
Oracle 11g R2 RAC implementation and concept
 
Step by Step Restore rman to different host
Step by Step Restore rman to different hostStep by Step Restore rman to different host
Step by Step Restore rman to different host
 
153 Oracle dba interview questions
153 Oracle dba interview questions153 Oracle dba interview questions
153 Oracle dba interview questions
 
10 Problems with your RMAN backup script
10 Problems with your RMAN backup script10 Problems with your RMAN backup script
10 Problems with your RMAN backup script
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
 
Backup and Recovery Procedure
Backup and Recovery ProcedureBackup and Recovery Procedure
Backup and Recovery Procedure
 
RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA RMAN – The Pocket Knife of a DBA
RMAN – The Pocket Knife of a DBA
 
Troug 11 gnf
Troug 11 gnfTroug 11 gnf
Troug 11 gnf
 
Oracle rac 10g best practices
Oracle rac 10g best practicesOracle rac 10g best practices
Oracle rac 10g best practices
 
10 Problems with your RMAN backup script - whitepaper
10 Problems with your RMAN backup script - whitepaper10 Problems with your RMAN backup script - whitepaper
10 Problems with your RMAN backup script - whitepaper
 
Understanding oracle rac internals part 1 - slides
Understanding oracle rac internals   part 1 - slidesUnderstanding oracle rac internals   part 1 - slides
Understanding oracle rac internals part 1 - slides
 
Oracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New FeaturesOracle Active Data Guard 12c New Features
Oracle Active Data Guard 12c New Features
 
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]Understanding Oracle RAC 12c Internals OOW13 [CON8806]
Understanding Oracle RAC 12c Internals OOW13 [CON8806]
 
Alphorm.com Support de la formation Vmware Esxi 6.0
Alphorm.com Support de la formation Vmware Esxi 6.0Alphorm.com Support de la formation Vmware Esxi 6.0
Alphorm.com Support de la formation Vmware Esxi 6.0
 
Oracle database 12c new features
Oracle database 12c new featuresOracle database 12c new features
Oracle database 12c new features
 
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
 

Similar a RMAN best practices for RAC

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 PruscinoMarkus Michalewicz
 
Time for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACTime for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACSatishbabu Gunukula
 
Oracle 11g rac administration
Oracle 11g rac administrationOracle 11g rac administration
Oracle 11g rac administrationelshiekh1980
 
2.Oracle’S High Availability Vision
2.Oracle’S High Availability Vision2.Oracle’S High Availability Vision
2.Oracle’S High Availability VisionErmando
 
Oow14 con7681-rman-1
Oow14 con7681-rman-1Oow14 con7681-rman-1
Oow14 con7681-rman-1Dan Glasscock
 
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
 
Rman 12c new_features
Rman 12c new_featuresRman 12c new_features
Rman 12c new_featuresNabi Abdul
 
Oracle database high availability solutions
Oracle database high availability solutionsOracle database high availability solutions
Oracle database high availability solutionsKirill Loifman
 
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?Markus Michalewicz
 
Oracle RAC - New Generation
Oracle RAC - New GenerationOracle RAC - New Generation
Oracle RAC - New GenerationAnil Nair
 
Dipesh Singh 01112016
Dipesh Singh 01112016Dipesh Singh 01112016
Dipesh Singh 01112016Dipesh Singh
 
Oracle RAC - Standard Edition, Enterprise Edition &amp; One Node
Oracle RAC - Standard Edition, Enterprise Edition &amp; One NodeOracle RAC - Standard Edition, Enterprise Edition &amp; One Node
Oracle RAC - Standard Edition, Enterprise Edition &amp; One NodeLeighton Nelson
 
Muhammad Hameed Chaudhry
Muhammad Hameed ChaudhryMuhammad Hameed Chaudhry
Muhammad Hameed ChaudhryAamir Chaudhry
 
Collaborate 2012 - RMAN Eliminate the mystery
Collaborate 2012 - RMAN Eliminate the mysteryCollaborate 2012 - RMAN Eliminate the mystery
Collaborate 2012 - RMAN Eliminate the mysteryNelson Calero
 
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesLudovico Caldara
 
Unlocking Business Potential with Oracle Real
Unlocking Business Potential with Oracle RealUnlocking Business Potential with Oracle Real
Unlocking Business Potential with Oracle Realdatapatrolt
 

Similar a RMAN best practices for RAC (20)

Convert single instance to RAC
Convert single instance to RACConvert single instance to RAC
Convert single instance to RAC
 
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
 
Time for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RACTime for Change: Migrate your Non-RAC Database to RAC
Time for Change: Migrate your Non-RAC Database to RAC
 
Oracle 11g rac administration
Oracle 11g rac administrationOracle 11g rac administration
Oracle 11g rac administration
 
2.Oracle’S High Availability Vision
2.Oracle’S High Availability Vision2.Oracle’S High Availability Vision
2.Oracle’S High Availability Vision
 
Resume
ResumeResume
Resume
 
Oow14 con7681-rman-1
Oow14 con7681-rman-1Oow14 con7681-rman-1
Oow14 con7681-rman-1
 
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...
 
Rman 12c new_features
Rman 12c new_featuresRman 12c new_features
Rman 12c new_features
 
Oracle database high availability solutions
Oracle database high availability solutionsOracle database high availability solutions
Oracle database high availability solutions
 
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
 
Oracle RAC - New Generation
Oracle RAC - New GenerationOracle RAC - New Generation
Oracle RAC - New Generation
 
Dipesh Singh 01112016
Dipesh Singh 01112016Dipesh Singh 01112016
Dipesh Singh 01112016
 
Oracle RAC - Standard Edition, Enterprise Edition &amp; One Node
Oracle RAC - Standard Edition, Enterprise Edition &amp; One NodeOracle RAC - Standard Edition, Enterprise Edition &amp; One Node
Oracle RAC - Standard Edition, Enterprise Edition &amp; One Node
 
Muhammad Hameed Chaudhry
Muhammad Hameed ChaudhryMuhammad Hameed Chaudhry
Muhammad Hameed Chaudhry
 
Database backup 110810
Database backup 110810Database backup 110810
Database backup 110810
 
Collaborate 2012 - RMAN Eliminate the mystery
Collaborate 2012 - RMAN Eliminate the mysteryCollaborate 2012 - RMAN Eliminate the mystery
Collaborate 2012 - RMAN Eliminate the mystery
 
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast SlidesOracle Fleet Patching and Provisioning Deep Dive Webcast Slides
Oracle Fleet Patching and Provisioning Deep Dive Webcast Slides
 
Clustering van IT-componenten
Clustering van IT-componentenClustering van IT-componenten
Clustering van IT-componenten
 
Unlocking Business Potential with Oracle Real
Unlocking Business Potential with Oracle RealUnlocking Business Potential with Oracle Real
Unlocking Business Potential with Oracle Real
 

Último

ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYKayeClaireEstoconing
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxCarlos105
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptxmary850239
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinojohnmickonozaleda
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxthorishapillay1
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxHumphrey A Beña
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxMaryGraceBautista27
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxAnupkumar Sharma
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfErwinPantujan2
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONHumphrey A Beña
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfMr Bounab Samir
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomnelietumpap1
 

Último (20)

ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITYISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
ISYU TUNGKOL SA SEKSWLADIDA (ISSUE ABOUT SEXUALITY
 
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptxYOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
YOUVE GOT EMAIL_FINALS_EL_DORADO_2024.pptx
 
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptxBarangay Council for the Protection of Children (BCPC) Orientation.pptx
Barangay Council for the Protection of Children (BCPC) Orientation.pptx
 
4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx4.16.24 21st Century Movements for Black Lives.pptx
4.16.24 21st Century Movements for Black Lives.pptx
 
FILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipinoFILIPINO PSYCHology sikolohiyang pilipino
FILIPINO PSYCHology sikolohiyang pilipino
 
Proudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptxProudly South Africa powerpoint Thorisha.pptx
Proudly South Africa powerpoint Thorisha.pptx
 
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptxINTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
INTRODUCTION TO CATHOLIC CHRISTOLOGY.pptx
 
Science 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptxScience 7 Quarter 4 Module 2: Natural Resources.pptx
Science 7 Quarter 4 Module 2: Natural Resources.pptx
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptxMULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
MULTIDISCIPLINRY NATURE OF THE ENVIRONMENTAL STUDIES.pptx
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdfVirtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
Virtual-Orientation-on-the-Administration-of-NATG12-NATG6-and-ELLNA.pdf
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATIONTHEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
THEORIES OF ORGANIZATION-PUBLIC ADMINISTRATION
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdfLike-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
Like-prefer-love -hate+verb+ing & silent letters & citizenship text.pdf
 
ENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choomENGLISH6-Q4-W3.pptxqurter our high choom
ENGLISH6-Q4-W3.pptxqurter our high choom
 

RMAN best practices for RAC

  • 1. RMAN best practices for Real Application Clusters (RAC) Presented by : Syed Jaffer Hussain Slide # 1
  • 2. Know your presenter Syed Jaffer Hussain Database Support Manager 20 years IT experience 11+ years as an Oracle DBA Oracle ACE Director Oracle 10g Certified Master(OCM) Oracle 10g RAC Certified Expert Oracle Certified Professional(OCP) v8i,9i,10g & 11g ITIL v3 Foundation Certified Authored Oracle 11g R1/R2 Real Application Clusters Essentials Twitter: @sjaffarhussain http://jaffardba.blogspot.com Presented by : Syed Jaffer Hussain Slide # 2
  • 3. Managing backup and recovery operations in RMAN for RAC and non-RAC databases are nearly identical …. Presented by : Syed Jaffer Hussain Slide # 3
  • 4. What will be covered • RAC Vs RMAN – why and when. • RMAN overview. • Multi-channel configuration • Parallel recovery in RAC database. • Instance Vs Crash recovery in RAC. • Fast Recovery Area (FRA) for RAC database. • Snapshot Controlfile backup for RAC db in 11gR2. • Manage backup & recovery with Oracle Grid Control /EM. Presented by : Syed Jaffer Hussain Slide # 4
  • 5. RAC Vs RMAN – why and when Real Application Clusters (RAC) Recovery Manager (RMAN) • High Availability(HA) • A command-line and EM tool. • Failover. • Best used for all sort of database • Scalability backup & recovery operations. • Load balancing. • It doesn’t safeguard your data • It doesn’t provide high availability from hardware failures or from any disasters. Presented by : Syed Jaffer Hussain Slide # 5
  • 6. What will be covered • RAC Vs RMAN – why and when. • RMAN overview. • Multi-channel configuration. • Parallel recovery in RAC database. • Instance Vs Crash recovery in RAC. • Fast Recovery Area (FRA) for RAC database. • Snapshot Controlfile backup for RAC db in 11gR2. • Manage backup & recovery using Enterprise Manager(EM). Presented by : Syed Jaffer Hussain Slide # 6
  • 7. RMAN overview Recovery Manager • Was first commercially introduced with Oracle v8. • A command-line and EM based tool. • Comes for absolutely free of cost, installed and configured by default. • Intended for: o Online/Offline backup and restore procedures. o Can back up Database, Tablespace, Datafile, and Archived logs. • Supports incremental, fast incremental, compressed & encrypted backups. • Detects [ALSO can repair ] data block corruptions. Courtesy from Oracle docs. • Must required to backup datafiles configured on Automatic Storage Management (ASM). • Can validate (test) backup without actually restoring. Presented by : Syed Jaffer Hussain Slide # 7
  • 8. What will be covered • RAC Vs RMAN – why and when. • RMAN overview. • Configure multiple channels. • Parallel recovery in RAC database. • Instance Vs Crash recovery in RAC. • Fast Recovery Area (FRA) for RAC database. • Snapshot Controlfile backup for RAC db in 11gR2. • Manage backup & recovery with Oracle Grid Control /EM. Presented by : Syed Jaffer Hussain Slide # 8
  • 9. Configure multiple channels Multiple channel configuration for RAC db instances • Scale up the back up load on to multiple instances of RAC database by configuring multiple channels. RACDB1 Channel 1 RMAN> RACDB Channel 2 RACDB2 Presented by : Syed Jaffer Hussain Slide # 9
  • 10. Configure multiple channels Working examples One time configuration in RMAN RMAN> CONFIGURE DEVICE TYPE disk/tape PARALLELISM 2; RMAN> CONFIGURE CHANNEL ch1 CONNECT ‘sys/password@tns_inst1’; RMAN> CONFIGURE CHANNEL ch2 CONNECT ‘sys/password@tns_inst2’; One time configuration with service name RMAN> CONFIGURE DEVICE TYPE disk/tape PARALLELISM 2; RMAN> CONFIGURE CHANNEL ch1 CONNECT ‘sys/password@service_name’; Ensue LOAD_BALANCE turned on no TO Run time configuration TAF (failover) RUN { ALLOCATE CHANNEL ch1 CONNECT ‘sys/password@tns_inst1’; ALLOCATE CHANNEL ch2 CONNECT ‘sys/password@tns_inst2’; backup database …; RELEASE CHANNEL ch1; RELEASE CHANNEL ch2; } Presented by : Syed Jaffer Hussain Slide # 10
  • 11. What will be covered • RAC Vs RMAN – why and when. • RMAN overview. • Configure multiple channels. • Parallel recovery in RAC database. • Instance Vs Crash recovery in RAC. • Fast Recovery Area (FRA) for RAC database. • Snapshot Controlfile backup for RAC db in 11gR2. • Manage backup & recovery with Oracle Grid Control /EM. Presented by : Syed Jaffer Hussain Slide # 11
  • 12. Parallel recovery in RAC Apply parallelism to faster restore/recovery operations • Parallelism can be applied for instance, crash and media recovery operations to faster the process. • During instance/crash recovery, Oracle database automatically applies the optimum degree of parallelism. • Based on the CPU count, Oracle sets an optimum number of parallelism while applying archive logs. • Setting RECOVERY_PARALLELISM initialization parameter value to 0 or 1 disables instance/crash parallelism. Presented by : Syed Jaffer Hussain Slide # 12
  • 13. What will be covered • RAC Vs RMAN – why and when. • RMAN overview. • Configure multiple channels. • Parallel recovery in RAC database. • Instance Vs Crash recovery in RAC. • Fast Recovery Area (FRA) for RAC database. • Snapshot Controlfile backup for RAC db in 11gR2. • Manage backup & recovery with Oracle Grid Control /EM. Presented by : Syed Jaffer Hussain Slide # 13
  • 14. Instance Vs Crash recovery in RAC o When an instance goes down abruptly for a various reasons, the subsequent instance startup requires the instance recovery. o No manual intervention is required for instance/crash recovery. Oracle (SMON background process) automatically manages the process by applying online redo information. o The mechanism of an instance recovery is to ensure the database consistency post instance failure. Presented by : Syed Jaffer Hussain Slide # 14
  • 15. Instance Vs Crash recovery in RAC Instance recovery = one or more [not ALL] instance(s) failure of a RAC database. Crash recovery = failure of ALL instances of a RAC database. Presented by : Syed Jaffer Hussain Slide # 15
  • 16. Instance Vs Crash recovery in RAC Instance or Crash recovery done in TWO phases for a RAC database. - Global Enqueue Service (LMS) background process - System Monitor (SMON) background process Presented by : Syed Jaffer Hussain Slide # 16
  • 17. Instance Vs Crash recovery in RAC Instance recovery of RAC database Instance 1 Instance 2 SMON PMON LGWR CKPT ARCn SMON PMON LGWR CKPT ARCn Redo Logs Redo Logs Archive logs Archive logs RAC DB Presented by : Syed Jaffer Hussain Slide # 17
  • 18. Instance Vs Crash recovery in RAC Instance recovery of RAC database Instance 1 Instance B down SMON PMON LGWR CKPT ARCn SMON PMON LGWR CKPT ARCn Redo Logs Redo Logs Archive logs Archive logs RAC DB Presented by : Syed Jaffer Hussain Slide # 18
  • 19. Instance Vs Crash recovery in RAC Instance recovery of RAC database Instance 1 Instance B up SMON PMON LGWR CKPT ARCn SMON PMON LGWR CKPT ARCn Redo Logs Redo Logs Archive logs Archive logs RAC DB Presented by : Syed Jaffer Hussain Slide # 19
  • 20. Instance Vs Crash recovery in RAC Instance recovery of RAC database LMS GRD Instance 1 Instance B recovery up SMON PMON LGWR CKPT ARCn SMON PMON LGWR CKPT ARCn Redo Logs Redo Logs Archive logs Archive logs RAC DB Presented by : Syed Jaffer Hussain Slide # 20
  • 21. Instance Vs Crash recovery in RAC Instance recovery of RAC database LMS GRD Instance A Instance B recovery SMON PMON LGWR CKPT ARCn SMON PMON LGWR CKPT ARCn Redo Logs Redo Logs Archive logs Archive logs RAC DB Presented by : Syed Jaffer Hussain Slide # 21
  • 22. Instance Vs Crash recovery in RAC Instance recovery of RAC database LMS GRD Instance A Instance B recovery SMON PMON LGWR CKPT ARCn SMON PMON LGWR CKPT ARCn Redo Logs Redo Logs Archive logs Archive logs RAC DB Presented by : Syed Jaffer Hussain Slide # 22
  • 23. Instance Vs Crash recovery in RAC Crash recovery in a RAC database Failure of all instances>> Instance 2 Instance 2 Instance 1 RAC DB Presented by : Syed Jaffer Hussain Slide # 23
  • 24. Instance Vs Crash recovery in RAC Crash recovery in a RAC database Instance 2 Instance 3 Instance 1 RAC DB Presented by : Syed Jaffer Hussain Slide # 24
  • 25. Instance Vs Crash recovery in RAC Crash recovery in a RAC database Instance 2 Instance 3 Instance 1 RAC DB The instance that comes up first performs the instance recovery for all instances of a RAC database Presented by : Syed Jaffer Hussain Slide # 25
  • 26. What will be covered • RAC Vs RMAN – why and when. • RMAN overview. • Configure multiple channels. • Parallel recovery in RAC database. • Instance Vs Crash recovery in RAC. • Fast Recovery Area (FRA) for RAC database. • Snapshot Controlfile backup for RAC db in 11gR2. • Manage backup & recovery with Oracle Grid Control /EM. Presented by : Syed Jaffer Hussain Slide # 26
  • 27. Fast Recovery Area(FRA) for RAC Instance 1 Instance 2 SMON PMON LGWR CKPT ARCn SMON PMON LGWR CKPT ARCn Redo Logs Redo Logs Archive logs Archive logs Location destination Location destination RAC DB Presented by : Syed Jaffer Hussain Slide # 27
  • 28. Flash Recovery Area(FRA) for RAC Instance 1 Instance 2 SMON PMON LGWR CKPT ARCn SMON PMON LGWR CKPT ARCn Read permission Redo Logs Redo Logs Archive logs Archive logs Location destination Location destination RAC DB Presented by : Syed Jaffer Hussain Slide # 28
  • 29. Flash Recovery Area(FRA) for RAC Instance 1 Instance 2 Fast Recovery Area (FRA) 1 2 1 2 Identified by the thread number 2 1 2 1 Redo Logs Archive logs FRA = ASM CFS Shared Location (NFS) RAC DB Presented by : Syed Jaffer Hussain Slide # 29
  • 30. What will be covered • RAC Vs RMAN – why and when. • RMAN overview. • Configure multiple channels. • Parallel recovery in RAC database. • Instance Vs Crash recovery in RAC. • Fast Recovery Area (FRA) for RAC database. • Snapshot Controlfile backup for RAC db in 11gR2. • Manage backup & recovery with Oracle Grid Control /EM. Presented by : Syed Jaffer Hussain Slide # 30
  • 31. Snapshot Controlfile backup in 11gR2 • Must reside on a shared device in 11gR2 or later. • All instances must have access to the snapshot controlfile. • Same snapshot controlfile will be shared by all nodes of RAC db. RMAN> CONFIGURE SNAPSHOT CONTROLFILE NAME TO <shared_location>; This must be done on EACH instance. ORA-00245: control file backup operation failed Presented by : Syed Jaffer Hussain Slide # 31
  • 32. What will be covered • RAC Vs RMAN – why and when. • RMAN overview. • Configure multiple channels. • Parallel recovery in RAC database. • Instance Vs Crash recovery in RAC. • Fast Recovery Area (FRA) for RAC database. • Snapshot Controlfile backup for RAC db in 11gR2. • Manage backup & recovery with Oracle Grid Control /EM. Presented by : Syed Jaffer Hussain Slide # 32
  • 33. Manage B&R using Enterprise Manager Presented by : Syed Jaffer Hussain Slide # 33
  • 34. Manage B&R using Enterprise Manager Presented by : Syed Jaffer Hussain Slide # 34
  • 35. A big thank you to all for listening ... You can write me at sjaffarhussain@gmail.com Presented by : Syed Jaffer Hussain Slide # 35