SlideShare a Scribd company logo
1 of 35
Download to read offline
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

More Related Content

What's hot

Oracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningOracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningBobby Curtis
 
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
 
tow nodes Oracle 12c RAC on virtualbox
tow nodes Oracle 12c RAC on virtualboxtow nodes Oracle 12c RAC on virtualbox
tow nodes Oracle 12c RAC on virtualboxjustinit
 
Introduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard BrokerIntroduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard BrokerZohar Elkayam
 
Database Cloud Services Office Hours - 0421 - Migrate AWS to OCI
Database Cloud Services Office Hours - 0421 - Migrate AWS to OCIDatabase Cloud Services Office Hours - 0421 - Migrate AWS to OCI
Database Cloud Services Office Hours - 0421 - Migrate AWS to OCITammy Bednar
 
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
 
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
 
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11Kenny Gryp
 
Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil Nair
 
Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020Anil 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
 
[Oracle DBA & Developer Day 2012] 高可用性システムに適した管理性と性能を向上させるASM と RMAN の魅力
[Oracle DBA & Developer Day 2012] 高可用性システムに適した管理性と性能を向上させるASM と RMAN の魅力[Oracle DBA & Developer Day 2012] 高可用性システムに適した管理性と性能を向上させるASM と RMAN の魅力
[Oracle DBA & Developer Day 2012] 高可用性システムに適した管理性と性能を向上させるASM と RMAN の魅力オラクルエンジニア通信
 
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
 
Oracle 11g Database Administration
Oracle 11g Database Administration Oracle 11g Database Administration
Oracle 11g Database Administration Xad Kuain
 
カスタムプランと汎用プラン
カスタムプランと汎用プランカスタムプランと汎用プラン
カスタムプランと汎用プランMasao Fujii
 
Paper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion EditionPaper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion EditionMarkus Michalewicz
 
Postgresql database administration volume 1
Postgresql database administration volume 1Postgresql database administration volume 1
Postgresql database administration volume 1Federico Campoli
 

What's hot (20)

Oracle GoldenGate Performance Tuning
Oracle GoldenGate Performance TuningOracle GoldenGate Performance Tuning
Oracle GoldenGate Performance Tuning
 
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
 
tow nodes Oracle 12c RAC on virtualbox
tow nodes Oracle 12c RAC on virtualboxtow nodes Oracle 12c RAC on virtualbox
tow nodes Oracle 12c RAC on virtualbox
 
Introduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard BrokerIntroduction to Oracle Data Guard Broker
Introduction to Oracle Data Guard Broker
 
Database Cloud Services Office Hours - 0421 - Migrate AWS to OCI
Database Cloud Services Office Hours - 0421 - Migrate AWS to OCIDatabase Cloud Services Office Hours - 0421 - Migrate AWS to OCI
Database Cloud Services Office Hours - 0421 - Migrate AWS to OCI
 
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
 
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
 
Data guard oracle
Data guard oracleData guard oracle
Data guard oracle
 
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
MySQL Database Architectures - MySQL InnoDB ClusterSet 2021-11
 
Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016Anil nair rac_internals_sangam_2016
Anil nair rac_internals_sangam_2016
 
Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020
 
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
 
[Oracle DBA & Developer Day 2012] 高可用性システムに適した管理性と性能を向上させるASM と RMAN の魅力
[Oracle DBA & Developer Day 2012] 高可用性システムに適した管理性と性能を向上させるASM と RMAN の魅力[Oracle DBA & Developer Day 2012] 高可用性システムに適した管理性と性能を向上させるASM と RMAN の魅力
[Oracle DBA & Developer Day 2012] 高可用性システムに適した管理性と性能を向上させるASM と RMAN の魅力
 
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
 
ASM
ASMASM
ASM
 
Oracle 11g Database Administration
Oracle 11g Database Administration Oracle 11g Database Administration
Oracle 11g Database Administration
 
カスタムプランと汎用プラン
カスタムプランと汎用プランカスタムプランと汎用プラン
カスタムプランと汎用プラン
 
Paper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion EditionPaper: Oracle RAC Internals - The Cache Fusion Edition
Paper: Oracle RAC Internals - The Cache Fusion Edition
 
Postgresql database administration volume 1
Postgresql database administration volume 1Postgresql database administration volume 1
Postgresql database administration volume 1
 
Oracle GoldenGate導入Tips
Oracle GoldenGate導入TipsOracle GoldenGate導入Tips
Oracle GoldenGate導入Tips
 

Viewers also liked

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
 
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
 
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
 
Upgrading to Oracle 11gR2
Upgrading to Oracle 11gR2Upgrading to Oracle 11gR2
Upgrading to Oracle 11gR2Syed Hussain
 
Managing troubleshooting cluster_360dgrees
Managing troubleshooting cluster_360dgreesManaging troubleshooting cluster_360dgrees
Managing troubleshooting cluster_360dgreesSyed Hussain
 

Viewers also liked (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
 
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
 
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
 
Upgrading to Oracle 11gR2
Upgrading to Oracle 11gR2Upgrading to Oracle 11gR2
Upgrading to Oracle 11gR2
 
Managing troubleshooting cluster_360dgrees
Managing troubleshooting cluster_360dgreesManaging troubleshooting cluster_360dgrees
Managing troubleshooting cluster_360dgrees
 

Similar to 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
 
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
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
 
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
 

Similar to 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"?
 
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
 
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
 
Clustering van IT-componenten
Clustering van IT-componentenClustering van IT-componenten
Clustering van IT-componenten
 
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
 

Recently uploaded

ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvRicaMaeCastro1
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptxmary850239
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Association for Project Management
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1GloryAnnCastre1
 
CHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptxCHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptxAneriPatwari
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6Vanessa Camilleri
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operationalssuser3e220a
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptxAneriPatwari
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Projectjordimapav
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptxmary850239
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management systemChristalin Nelson
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptxDhatriParmar
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQuiz Club NITW
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfJemuel Francisco
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSMae Pangan
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research DiscourseAnita GoswamiGiri
 

Recently uploaded (20)

ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnvESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
ESP 4-EDITED.pdfmmcncncncmcmmnmnmncnmncmnnjvnnv
 
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx4.9.24 School Desegregation in Boston.pptx
4.9.24 School Desegregation in Boston.pptx
 
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
Team Lead Succeed – Helping you and your team achieve high-performance teamwo...
 
Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"Mattingly "AI & Prompt Design: Large Language Models"
Mattingly "AI & Prompt Design: Large Language Models"
 
Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1Reading and Writing Skills 11 quarter 4 melc 1
Reading and Writing Skills 11 quarter 4 melc 1
 
Paradigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTAParadigm shift in nursing research by RS MEHTA
Paradigm shift in nursing research by RS MEHTA
 
CHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptxCHEST Proprioceptive neuromuscular facilitation.pptx
CHEST Proprioceptive neuromuscular facilitation.pptx
 
ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6ICS 2208 Lecture Slide Notes for Topic 6
ICS 2208 Lecture Slide Notes for Topic 6
 
Expanded definition: technical and operational
Expanded definition: technical and operationalExpanded definition: technical and operational
Expanded definition: technical and operational
 
ARTERIAL BLOOD GAS ANALYSIS........pptx
ARTERIAL BLOOD  GAS ANALYSIS........pptxARTERIAL BLOOD  GAS ANALYSIS........pptx
ARTERIAL BLOOD GAS ANALYSIS........pptx
 
ClimART Action | eTwinning Project
ClimART Action    |    eTwinning ProjectClimART Action    |    eTwinning Project
ClimART Action | eTwinning Project
 
4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx4.16.24 Poverty and Precarity--Desmond.pptx
4.16.24 Poverty and Precarity--Desmond.pptx
 
Concurrency Control in Database Management system
Concurrency Control in Database Management systemConcurrency Control in Database Management system
Concurrency Control in Database Management system
 
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
Unraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptxUnraveling Hypertext_ Analyzing  Postmodern Elements in  Literature.pptx
Unraveling Hypertext_ Analyzing Postmodern Elements in Literature.pptx
 
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITWQ-Factor General Quiz-7th April 2024, Quiz Club NITW
Q-Factor General Quiz-7th April 2024, Quiz Club NITW
 
prashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Professionprashanth updated resume 2024 for Teaching Profession
prashanth updated resume 2024 for Teaching Profession
 
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdfGrade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
Grade 9 Quarter 4 Dll Grade 9 Quarter 4 DLL.pdf
 
Textual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHSTextual Evidence in Reading and Writing of SHS
Textual Evidence in Reading and Writing of SHS
 
Scientific Writing :Research Discourse
Scientific  Writing :Research  DiscourseScientific  Writing :Research  Discourse
Scientific Writing :Research Discourse
 

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