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

Preparing for EBS R12.2-upgrade-full
Preparing for EBS R12.2-upgrade-fullPreparing for EBS R12.2-upgrade-full
Preparing for EBS R12.2-upgrade-fullBerry Clemens
 
OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2vasuballa
 
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Ludovico Caldara
 
DBA 3 year Interview Questions
DBA 3 year Interview QuestionsDBA 3 year Interview Questions
DBA 3 year Interview QuestionsNaveen P
 
10 Tips for Successful 12.2 Upgrade
10 Tips for Successful 12.2 Upgrade10 Tips for Successful 12.2 Upgrade
10 Tips for Successful 12.2 UpgradeOAUGNJ
 
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?vasuballa
 
Oracle Applications R12 Architecture
Oracle Applications R12 ArchitectureOracle Applications R12 Architecture
Oracle Applications R12 ArchitectureViveka Solutions
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on ExadataAnil Nair
 
Oracle R12 EBS Performance Tuning
Oracle R12 EBS Performance TuningOracle R12 EBS Performance Tuning
Oracle R12 EBS Performance TuningScott Jenner
 
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
 
Standard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowStandard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowMarkus Michalewicz
 
DOAG Oracle Unified Audit in Multitenant Environments
DOAG Oracle Unified Audit in Multitenant EnvironmentsDOAG Oracle Unified Audit in Multitenant Environments
DOAG Oracle Unified Audit in Multitenant EnvironmentsStefan Oehrli
 
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudOracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudMarkus Michalewicz
 
Oracle Enterprise Manager
Oracle Enterprise ManagerOracle Enterprise Manager
Oracle Enterprise ManagerBob Rhubart
 
OOW15 - technical upgrade best practices for oracle e-business suite 12.2
OOW15 - technical upgrade best practices for oracle e-business suite 12.2OOW15 - technical upgrade best practices for oracle e-business suite 12.2
OOW15 - technical upgrade best practices for oracle e-business suite 12.2vasuballa
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application clusterSatishbabu Gunukula
 
Automating Your Clone in E-Business Suite R12.2
Automating Your Clone in E-Business Suite R12.2Automating Your Clone in E-Business Suite R12.2
Automating Your Clone in E-Business Suite R12.2Michael Brown
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cSatishbabu Gunukula
 
IO Resource Management on Exadata
IO Resource Management on ExadataIO Resource Management on Exadata
IO Resource Management on ExadataEnkitec
 

La actualidad más candente (20)

Preparing for EBS R12.2-upgrade-full
Preparing for EBS R12.2-upgrade-fullPreparing for EBS R12.2-upgrade-full
Preparing for EBS R12.2-upgrade-full
 
OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2OOW15 - Online Patching with Oracle E-Business Suite 12.2
OOW15 - Online Patching with Oracle E-Business Suite 12.2
 
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
Oracle Active Data Guard 12c: Far Sync Instance, Real-Time Cascade and Other ...
 
DBA 3 year Interview Questions
DBA 3 year Interview QuestionsDBA 3 year Interview Questions
DBA 3 year Interview Questions
 
10 Tips for Successful 12.2 Upgrade
10 Tips for Successful 12.2 Upgrade10 Tips for Successful 12.2 Upgrade
10 Tips for Successful 12.2 Upgrade
 
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
What’s New in Oracle E-Business Suite R12.2 for Database Administrators?
 
Oracle Applications R12 Architecture
Oracle Applications R12 ArchitectureOracle Applications R12 Architecture
Oracle Applications R12 Architecture
 
Oracle RAC features on Exadata
Oracle RAC features on ExadataOracle RAC features on Exadata
Oracle RAC features on Exadata
 
Oracle Enterprise Manager
Oracle Enterprise ManagerOracle Enterprise Manager
Oracle Enterprise Manager
 
Oracle R12 EBS Performance Tuning
Oracle R12 EBS Performance TuningOracle R12 EBS Performance Tuning
Oracle R12 EBS Performance Tuning
 
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
 
Standard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & HowStandard Edition High Availability (SEHA) - The Why, What & How
Standard Edition High Availability (SEHA) - The Why, What & How
 
DOAG Oracle Unified Audit in Multitenant Environments
DOAG Oracle Unified Audit in Multitenant EnvironmentsDOAG Oracle Unified Audit in Multitenant Environments
DOAG Oracle Unified Audit in Multitenant Environments
 
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the CloudOracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
Oracle RAC Virtualized - In VMs, in Containers, On-premises, and in the Cloud
 
Oracle Enterprise Manager
Oracle Enterprise ManagerOracle Enterprise Manager
Oracle Enterprise Manager
 
OOW15 - technical upgrade best practices for oracle e-business suite 12.2
OOW15 - technical upgrade best practices for oracle e-business suite 12.2OOW15 - technical upgrade best practices for oracle e-business suite 12.2
OOW15 - technical upgrade best practices for oracle e-business suite 12.2
 
Understand oracle real application cluster
Understand oracle real application clusterUnderstand oracle real application cluster
Understand oracle real application cluster
 
Automating Your Clone in E-Business Suite R12.2
Automating Your Clone in E-Business Suite R12.2Automating Your Clone in E-Business Suite R12.2
Automating Your Clone in E-Business Suite R12.2
 
Why oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19cWhy oracle data guard new features in oracle 18c, 19c
Why oracle data guard new features in oracle 18c, 19c
 
IO Resource Management on Exadata
IO Resource Management on ExadataIO Resource Management on Exadata
IO Resource Management on Exadata
 

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
 
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
 
Upgrading to Oracle 11gR2
Upgrading to Oracle 11gR2Upgrading to Oracle 11gR2
Upgrading to Oracle 11gR2Syed Hussain
 

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
 
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
 
Upgrading to Oracle 11gR2
Upgrading to Oracle 11gR2Upgrading to Oracle 11gR2
Upgrading to Oracle 11gR2
 

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
 
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 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"?
 
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
 

Último

Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptxVS Mahajan Coaching Centre
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 

Último (20)

Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptxINDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
INDIA QUIZ 2024 RLAC DELHI UNIVERSITY.pptx
 
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions  for the students and aspirants of Chemistry12th.pptxOrganic Name Reactions  for the students and aspirants of Chemistry12th.pptx
Organic Name Reactions for the students and aspirants of Chemistry12th.pptx
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 

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