Management of Oracle AC voting disk and OCR

Source: Internet
Author: User
Tags manual backup

First, OCR

Check Ocrcheck

[Root@rac1 app]# Ocrcheck

Status of Oracle Cluster Registry is as follows:

Version:3

Total Space (Kbytes): 262120

Used Space (Kbytes): 2424

Available Space (Kbytes): 259696

id:1918230846

Device/file Name: +crs

Device/file Integrity Check Succeeded

Device/file Not Configured

Device/file Not Configured

Device/file Not Configured

Device/file Not Configured

Cluster Registry Integrity Check succeeded

Logical corruption Check Succeeded

[Root@rac2 app]# Ocrcheck

Status of Oracle Cluster Registry is as follows:

Version:3

Total Space (Kbytes): 262120

Used Space (Kbytes): 2424

Available Space (Kbytes): 259696

id:1918230846

Device/file Name: +crs

Device/file Integrity Check Succeeded

Device/file Not Configured

Device/file Not Configured

Device/file Not Configured

Device/file Not Configured

Cluster Registry Integrity Check succeeded

Logical corruption Check Succeeded

[Root@rac2 app]# Ocrconfig-h

Name:

Ocrconfig-configuration tool for Oracle cluster/local Registry.

Synopsis:

ocrconfig [option]

Option

[-local]-export <filename>

-Export OCR/OLR contents to a file

[-local]-import <filename>-Import OCR/OLR contents from a file

[-local]-upgrade [<user> [<group>]]

-Upgrade OCR from previous version

-downgrade [-version <version String>]

-Downgrade OCR to the specified version

[-local]-backuploc <dirname>-Configure OCR/OLR backup location

[-local]-showbackup [auto|manual]-Show OCR/OLR backup information

[-local]-manualbackup-perform. OCR/OLR Backup

[-local]-restore <filename>-restore OCR/OLR from physical backup

-replace <current filename>-replacement <new filename>

-Replace a OCR device/file <filename1> with <filename2>

-add <filename>-Add a new OCR device/file

-delete <filename>-Remove a OCR device/file

-overwrite-overwrite OCR configuration on disk

-repair-add <filename> | -delete <filename> | -replace <current filename>-replacement <new filename>

-Repair OCR configuration on the local node

-help-print out this Help information

Note:

* A log file would be created in

$ORACLE _home/log/

have file creation privileges in the above directory before

Running this tool.

* Only-local-showbackup [manual] is supported.

* Use option '-local ' to indicate of that the operation are to being performed on the Oracle local Registry.

Add Delete disk mirror image:

[Root@rac2 app]# ocrconfig-add ' +crsbak '

Check for modified configuration

[Root@rac1 app]# Ocrcheck

Status of Oracle Cluster Registry is as follows:

Version:3

Total Space (Kbytes): 262120

Used Space (Kbytes): 2424

Available Space (Kbytes): 259696

id:1918230846

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.