6 Replies Latest reply: Sep 17, 2012 1:24 PM by Satishbabu Gunukula RSS

    ASM instance backup

    Neo-b
      Hello All,

      I am using Oracle RAC 11g R2 + ASM.

      I have basic below 2 questions concerning ASM and OCR and voting disks data
      1. Is there any way to backup the ASM instance? Is that needed in a production environment? What is the best way to do that ? is it through RMAN ?
      2. My OCR and Voting disks info are stored on ASM diskgroup +OCR, should I backup that? I am seeing md_backup command in asmcmd help

      Regards,
        • 1. Re: ASM instance backup
          phaeus
          Hello,
          backup your ocr and voting definition with the standards tools. You can look and configure this Backup with the ocrconfig tool. Default would be $ORACLE_HOME/cdata/<cluster_name/.

          ASM Backup is not realy need, ok you should have a copy of your init+ASM.ora file for desaster. The md_backup tool is to Backup the Disk Layout and Header Definition in ASM.

          regards
          Peter
          • 2. Re: ASM instance backup
            onedbguru
            In 11gR2 Oracle automatically backs up OCR and VOTING devices.
            • 3. Re: ASM instance backup
              585179
              Hi NB,

              In 11gR2 Voting Disk is automatically backed up as part of OCR backup.
              Have a look http://docs.oracle.com/cd/E11882_01/rac.112/e16794/votocr.htm#CWADD90970 how to do OCR backup

              Hope it helps

              Cheers
              • 4. Re: ASM instance backup
                kuljeet singh -
                >
                I have basic below 2 questions concerning ASM and OCR and voting disks data
                1. Is there any way to backup the ASM instance? Is that needed in a production environment? What is the best way to do that ? is it through RMAN ?
                with the help of md_backup you can backup the metadata of the ASM instance .

                Nice articles from arup on this
                http://www.oracle.com/technetwork/articles/sql/11g-asm-083478.html
                2. My OCR and Voting disks info are stored on ASM diskgroup +OCR, should I backup that? I am seeing md_backup command in asmcmd help
                OCR backup detail -http://docs.oracle.com/cd/E11882_01/rac.112/e16794/votocr.htm#i1012456
                The voting disk data is automatically backed up in OCR as part of any configuration change.
                • 5. Re: ASM instance backup
                  Neo-b
                  Thank you.

                  So as a summary there is no need to backup my ASM or my OCR and voting disks as per the below;
                  Automatic backups: Oracle Clusterware automatically creates OCR backups every four hours. At any one time, Oracle Database always retains the last three backup copies of OCR. The CRSD process that creates the backups also creates and retains an OCR backup for each full day and at the end of each week. You cannot customize the backup frequencies or the number of files that Oracle Database retains.
                  All what I should do is to use md_backup to backup all my ASM diskgroups metadata.

                  Regards,
                  • 6. Re: ASM instance backup
                    Satishbabu Gunukula
                    For more info you can refer below links
                    http://www.dbaexpert.com/blog/wp-content/uploads/2009/08/doug-top-10-asm-questions.pdf
                    http://gjilevski.wordpress.com/2010/12/20/backup-and-restore-of-ocr-in-grid-infrastructure-11g-r2-11-2-2/
                    http://kyuoracleblog.files.wordpress.com/2011/07/guob_tech_day_2011_kai_11gr2.pdf

                    Regards
                    http://www.oracleracexpert.com
                    Why you should attend Oracle OpenWorld?
                    http://www.oracleracexpert.com/2012/08/why-you-should-attend-oracle-openworld.html
                    You want to participate in Oracle Beta program or Exam?
                    http://www.oracleracexpert.com/2012/01/you-want-to-participate-in-oracle-beta.html