Friday, September 18, 2009

How to move or replace and repair OCR (Oracle Cluster Registry)

Moving or Replacing Oracle Cluster Registry:
If you are replacing or moving an OCR/OCR MIRROR make sure that other OCR file is ONLINE and also clusterware is running on the node that you are performing the replace operation.

Please note that the OCR that you are replacing or moving can be either online or offline.

Run the below command to move or replace OCR
#ocrconfig -replace ocr
For ex:- ocrconfig -replace ocr /dev/raw/raw5

Run the below command to move or replace OCR MIRROR.

#ocrconfig -replace ocrmirror
For ex: - ocrconfig -replace ocr /dev/raw/raw6

Repairing Oracle Cluster Registry (OCR) Configuration:
You may need to repair an OCR configuration, if your OCR configuration changes ran (adding/removing/replacing OCR/OCR mirror) while the node is shutdown.

Make sure you run the command on the node which you have shutdown and you cannot perform this operation while oracle clusterware is running.

Run the below command to repair
# ocrconfig –repair ocrmirror device_name
for ex:- ocrconfig –repair ocrmirror /dev/raw/raw1

Click here to learn How to Add and Remove Oracle Cluster Registry

Regards,
Satishbabu Gunukula
http://www.oracleracexpert.com/

13 comments:

  1. When issuing ocrconfig -replace it checks first about the size of the new OCR before making the replacement. If it is acceptable then it will replace to the new OCR. The acceptable size is either 128Mb or 256Mb and so on. If the original OCR size was less than 128Mb, please make the new OCR as 128Mb or 256Mb. If the original OCR size was less than 256Mb and greater than 128Mb, please make the new OCR as 256Mb.

    8GB SD Karte

    ReplyDelete
  2. helpful and straight forward commands, Thanks

    ReplyDelete
  3. We are offering website service, E-commerce wesbite, and website designs.....

    plugin wordpress

    ReplyDelete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Very good informative blog, Thanks for sharing.

    ReplyDelete
  6. What are the requirements to be a Data Science professional data science course syllabus

    ReplyDelete
  7. while this service may not be super inexpensive, it will help companies track employees who work in the field to ensure they are actually working and to track the company assets (i.e. cars, phones, computers, etc.). Salesforce interview questions and answers

    ReplyDelete
  8. Good to become visiting your weblog again, it has been months for me. Nicely this article that i've been waited for so long. I will need this post to total my assignment in the college, and it has exact same topic together with your write-up. Thanks, good share.
    data science course in India

    ReplyDelete