RAC Mobile OCR

Source: Internet
Author: User

1. See if there is an OCR backup

# Ocrconfig-showbackup

If not, back up one copy.

# ocrconfig-export/oracle/bak/ocr/ocr_11291433_exp.ocr-s Online

2. View current configuration

[Email protected] ocr]# Ocrcheck

Status of Oracle Cluster Registry is as follows:

Version:2

Total Space (Kbytes): 497744

Used Space (Kbytes): 3848

Available Space (Kbytes): 493896

id:573624763

Device/file Name:/DEV/RAW/RAW1

Device/file Integrity Check Succeeded

Device/file Not Configured

Cluster Registry Integrity Check succeeded

3. Add image

If there is currently only one OCR, you cannot directly modify the location, first add a mirror OCR, and then modify

[Email protected] oracle]# Ocrconfig-replace ocrmirror/dev/raw/raw5

4. Confirm

[Email protected] oracle]# Ocrcheck

Status of Oracle Cluster Registry is as follows:

Version:2

Total Space (Kbytes): 497744

Used Space (Kbytes): 3848

Available Space (Kbytes): 493896

id:573624763

Device/file Name:/DEV/RAW/RAW1

Device/file Integrity Check Succeeded

Device/file Name:/dev/raw/raw5

Device/file Integrity Check Succeeded

Cluster Registry Integrity Check succeeded

5. Mobile

[Email protected] ~]$ Ocrconfig-replace ocr/dev/raw/raw6

Prot-20:insufficient permission to proceed. Require Privileged User

[[email protected] ~]$ su root

Password:

[Email protected] oracle]# Ocrconfig-replace ocr/dev/raw/raw6

6. Confirm

[Email protected] oracle]# Ocrcheck

Status of Oracle Cluster Registry is as follows:

Version:2

Total Space (Kbytes): 497744

Used Space (Kbytes): 3848

Available Space (Kbytes): 493896

id:573624763

Device/file Name:/dev/raw/raw6

Device/file Integrity Check Succeeded

Device/file Name:/dev/raw/raw5

Device/file Integrity Check Succeeded

Cluster Registry Integrity Check succeeded

7, confirm the/etc/oracle/ocr.loc of all nodes

[Email protected] oracle]# Cat/etc/oracle/ocr.loc

#Device/file/dev/raw/raw1 getting replaced by device/dev/raw/raw6

Ocrconfig_loc=/dev/raw/raw6

Ocrmirrorconfig_loc=/dev/raw/raw5

If there is no synchronization, make manual modifications.

RAC Mobile OCR

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.