Online migration OCR error: PROT-16
Symptom:
[Root @ HeiLJUC01 ~] #/Oracle/app/11gR1/crs/bin/ocrconfig-replace ocr/dev/raw/raw9
PROT-16: Internal Error
[Root @ HeiLJUC01 ~] #/Oracle/app/11gR1/crs/bin/ocrconfig-replace ocr/dev/raw/raw9
PROT-16: Internal Error
Analysis:
Use ocrcheck to check whether mirr ocr is available:
[Root @ HeiLJUC01 ~] #/Oracle/app/11gR1/crs/bin/ocrcheck
Status of Oracle Cluster Registry is as follows:
Version: 2
Total space (kbytes): 3142964
Used space (kbytes): 8232
Available space (kbytes): 3134732
ID: 1765612463
Device/File Name:/dev/raw/raw1
Device/File integrity check succeeded
Cluster registry integrity check succeeded
Logical upload uption check succeeded
In the absence of Mirr ocr, online migration of ocr is not allowed. Oracle settings are based on security and rollback assurance. Therefore, you need to add Mirr ocr first.
Solution:
1. Add Mirr ocr first
[Root @ HeiLJUC01 ~] #/Oracle/app/11gR1/crs/bin/ocrconfig-replace ocrmirror/dev/raw/raw10
[Root @ HeiLJUC01 ~] #/Oracle/app/11gR1/crs/bin/ocrcheck
Status of Oracle Cluster Registry is as follows:
Version: 2
Total space (kbytes): 3142964
Used space (kbytes): 8232
Available space (kbytes): 3134732
ID: 1765612463
Device/File Name:/dev/raw/raw1
Device/File integrity check succeeded
Device/File Name:/dev/raw/raw10 <= Mirr ocr added
Device/File integrity check succeeded
Cluster registry integrity check succeeded
Logical upload uption check succeeded
2. migrate ocr
[Root @ HeiLJUC01 ~] #/Oracle/app/11gR1/crs/bin/ocrconfig-replace ocr/dev/raw/raw9
[Root @ HeiLJUC01 ~] #/Oracle/app/11gR1/crs/bin/ocrcheck
\ Status of Oracle Cluster Registry is as follows:
Version: 2
Total space (kbytes): 3142964
Used space (kbytes): 8232
Available space (kbytes): 3134732
ID: 1765612463
Device/File Name:/dev/raw/raw9
Device/File integrity check succeeded
Device/File Name:/dev/raw/raw10
Device/File integrity check succeeded
Cluster registry integrity check succeeded
Logical upload uption check succeeded
[Root @ HeiLJUC01 ~] #
After adding Mirr ocr, you can easily migrate OCR online.