This discussion is archived
3 Replies Latest reply: Jun 24, 2013 5:36 AM by DBA RSS

How to customize location of OCR and voting disks.

DBA Newbie
Currently Being Moderated

Hi,

 

Today i installed first time  RAC(11gR2) on HP UX 11-31 with ASM. Customer would like to place OCR and voting disks in a specific disk group.  Today while installing, i could not find any option to specify location for OCR and voting disk. Hence I continued with default location and completed the installation successfully. Now my question is

 

 

1) Is there any Way to change now?

 

2) I have one more installation tomorrow, Is there any way to specify location before starting the installation itself. Can any body tell me the way for this?

 

 

In parallel, i am checking in net as well...

 

Thanks in-advance..

 

Regards

DBA...

  • 1. Re: How to customize location of OCR and voting disks.
    DBA Newbie
    Currently Being Moderated

    Hi,

     

    I got the solutions for both of my questions...hence pls ignore the same.

     

     

    Regards

    DBA.....

  • 2. Re: How to customize location of OCR and voting disks.
    saratpvv Journeyer
    Currently Being Moderated

    Then please mark this thread "ANSWERED" also provide the solution what you met - So others can learn

     

    thank you

     

    sarat

  • 3. Re: How to customize location of OCR and voting disks.
    DBA Newbie
    Currently Being Moderated

    Sure Sarat,

     

     

    i followed below method and got succeded.

    OCR

    Login as root

     

    Run ocrcheck to see where your existing OCR location (so you can delete it later).

     

    # ocrcheck
    Status of Oracle Cluster Registry is as follows :
           Version                  :          3
           Total space (kbytes)     :     262120
           Used space (kbytes)      :       2744
           Available space (kbytes) :     259376
           ID                       :  277541681
           Device/File Name         :  /OCR/b-rac-cluster/ocr
                                      Device/File integrity check succeeded
           Cluster registry integrity check succeeded
           Logical corruption check succeeded 

    # ocrconfig -add +DATA

    # ocrconfig -delete /OCR/b-rac-cluster/ocr


    Run ocrcheck to check it's all ok

     

    # ocrcheck
    Status of Oracle Cluster Registry is as follows :
           Version                  :          3
           Total space (kbytes)     :     262120
           Used space (kbytes)      :       2744
           Available space (kbytes) :     259376
           ID                       :  277541681
           Device/File Name         :      +DATA
                                      Device/File integrity check succeeded


           Cluster registry integrity check succeeded

           Logical corruption check succeeded


    Voting


    Login as Oracle

     

    Find your existing voting disk

     

    $ crsctl query css votedisk

    ##  STATE    File Universal Id                File Name Disk group
    --  -----    -----------------                --------- ---------
    1. ONLINE   96953eb1cac64fcabf4d0f60d0012ef9 (/OCR/b-rac-cluster/vdsk) []

     


    Change your voting disk to the +DATA diskgroup

     

    b-rac1 $ crsctl replace votedisk +DATA
    CRS-4256: Updating the profile
    Successful addition of voting disk 3ddb5231538c4fc3bf2d0053e34a75f0.
    Successful deletion of voting disk 96953eb1cac64fcabf4d0f60d0012ef9.
    Successfully replaced voting disk group with +DATA.
    CRS-4256: Updating the profile
    CRS-4266: Voting file(s) successfully replaced

     

    Check it's moved ok
    b-rac1 $  crsctl query css votedisk
    ##  STATE    File Universal Id                File Name Disk group
    --  -----    -----------------                --------- ---------
    1. ONLINE   3ddb5231538c4fc3bf2d0053e34a75f0 (/ORACLE/ASM/ASM0103) [DATA]
    Located 1 voting disk(s).



    Rgds

    DBA...

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points