4 Replies Latest reply: May 12, 2014 10:15 AM by BPeaslandDBA RSS

    OCR_Voting Disk Migration

    J.A.

      Hi Experts

       

      Please I need your advice with this:

       

      Oracle Rac 11gR2

      Oracle Linux 5.9

      ASMLib is used

       

      We´ve bought a new Storage hardware, so we´ve been migrating the old ASM disks on the diskGroups, replacing them with the new disks (New Storage).

       

      1.- I create the new ASM disks(new storage)

      2.- I add those disks to the current DiskGroups

      3.- I drop the old disks from the DiskGroups

       

      Until now, so far so good,  now it´s turn for the OCR_Voting diskGroup, Its one disk group with normal redundancy.´

       

      So I have the doudbt, Can I do the same procedure for the OCR_Voting diskGroup ?

       

      I found this blog:

      Oracle Database and Grid concepts: Online migration of ASM disk groups from one SAN to another

       

      I just want to be sure and have a second opinion from experts.

       

      I will appreciate your advice and thank you for your time

       

      Regards

        • 1. Re: OCR_Voting Disk Migration
          Antonyro-Oracle

          Hi

           

          you can create a diskgroup and add the second that to OCR and VOTEDISK and remove the old diskgroup.

           

          Regards

          robin

          • 2. Re: OCR_Voting Disk Migration
            Levi Pereira



            Important:  To perform the changes on voting disk or OCR all nodes in the cluster must be active.

            NEVER TRY REMOVE A ASMDISK  USING  ASMCA,ASMCMD or SQLPLUS if exists VOTING DISK on that ASMDISK.

            You always must first remove VOTING DISK from ASMDISK using ‘crsctl replace’ and after remove ASMDISK from DISKGROUP.

             

            OCR:

            None configuration on OCR is required when add or remove ASMDISK on DIKSGROUP where is stored the OCR.

            OCR is stored on ASM same as database files.

             

             

            VOTING DISK:

            To remove Voting Disk from a ASMDisk in a Diskgroup (e.g +VOTE) you must move Voting Disk to another Diskgroup (e.g +DATA) then remove that ASMDISK from Diskgroup (e.g +VOTE) after remove ASMDISK move Voting Disk from Diskgroup (e.g +DATA) to (e.g +VOTE)

             

             

            Check if nodes is Actives:

             

            e.g

            $ olsnodes -s

            lnxora01        Active

            lnxora02        Active

            lnxora03        Active

             

             

            As Grid User:

            Query Votedisk

            $ crsctl query css votedisk

            ##  STATE    File Universal Id                File Name Disk group

            --  -----    -----------------                --------- ---------

            1. ONLINE   aaa75b9e7ce24f39bfd9eecb3e3c0e38 (ORCL:OCR01) [OCR]

            2. ONLINE   873d51346cd34fc2bf9caa94999c4cd8 (ORCL:OCR02) [OCR]

            3. ONLINE   acda8619b74c4fe8bf886ee6c9fe8d1a (ORCL:OCR03) [OCR]

             

             

            $ crsctl replace votedisk +VOTE

            Successful addition of voting disk aaa75b9e7ce24f39bfd9eecb3e3c0e38.

            Successful addition of voting disk 873d51346cd34fc2bf9caa94999c4cd8.

            Successful addition of voting disk acda8619b74c4fe8bf886ee6c9fe8d1a.

            Successful deletion of voting disk a0d6ea8dfb944fe7bfb799a451195a18.

            Successfully replaced voting disk group with +VOTE.

            CRS-4266: Voting file(s) successfully replaced

             

            $ crsctl query css votedisk

            ##  STATE    File Universal Id                File Name Disk group

            --  -----    -----------------                --------- ---------

            1. ONLINE   aaa75b9e7ce24f39bfd9eecb3e3c0e38 (ORCL:VOTE01) [VOTE]

            2. ONLINE   873d51346cd34fc2bf9caa94999c4cd8 (ORCL:VOTE02) [VOTE]

            3. ONLINE   acda8619b74c4fe8bf886ee6c9fe8d1a (ORCL:VOTE03) [VOTE]


            Explaining: How to store OCR, Voting disks and ASM SPFILE on ASM Diskgroup (RAC or RAC Extended) | Levi Pereira | Oracl…

            • 3. Re: OCR_Voting Disk Migration
              J.A.

              I followed the same procedure foe the OCR_VOTE DiskGroup to migrate the Disks Online

               

              11gR2:

              1.- I create the new three ASM disks(new storage)

              2.- I add those disks to the current OCR_VOTE DiskGroup

              3.- I drop the old three disks from the DiskGroups

               

              Thank you

               

              Regards

              • 4. Re: OCR_Voting Disk Migration
                BPeaslandDBA

                In case it is of any use...here is a link to the documentation that discusses how to move the OCR and Voting disks:

                 

                Managing Oracle Cluster Registry and Voting Disks

                 

                If you are using the documentation, then a "move" is really "adding" a new location and then "removing" the old one.

                 

                HTH,

                Brian