Skip to main content

How to restore OCR in 11gR2 grid infrastrcture in ASM without starting CRS?

If your OCR is corrupted and you have to restore, first you have access to diskgroup on which OCR is places. To start ASM you have to start CRS, and CRS can't be started since OCR is no available. How to resolve this issue?

You can start ASM with CRS running. If ASM is not running you will get segmentation fault.

[root@tdc-ovn-0083 tdc-ovn-0083]# ocrconfig -restore /oraclecrsware/product/11.2.0/cdata/crs2/backup00.ocr
Segmentation faulT

Start resources without CRS on one node only.

[root@tdc-ovn-0083 tdc-ovn-0083]# crsctl start crs -excl -nocrs
CRS-4123: Oracle High Availability Services has been started.
CRS-2672: Attempting to start 'ora.mdnsd' on 'tdc-ovn-0083'
CRS-2676: Start of 'ora.mdnsd' on 'tdc-ovn-0083' succeeded
CRS-2672: Attempting to start 'ora.gpnpd' on 'tdc-ovn-0083'
CRS-2676: Start of 'ora.gpnpd' on 'tdc-ovn-0083' succeeded
CRS-2672: Attempting to start 'ora.cssdmonitor' on 'tdc-ovn-0083'
CRS-2672: Attempting to start 'ora.gipcd' on 'tdc-ovn-0083'
CRS-2676: Start of 'ora.cssdmonitor' on 'tdc-ovn-0083' succeeded
CRS-2676: Start of 'ora.gipcd' on 'tdc-ovn-0083' succeeded
CRS-2672: Attempting to start 'ora.cssd' on 'tdc-ovn-0083'
CRS-2672: Attempting to start 'ora.diskmon' on 'tdc-ovn-0083'
CRS-2676: Start of 'ora.diskmon' on 'tdc-ovn-0083' succeeded
CRS-2676: Start of 'ora.cssd' on 'tdc-ovn-0083' succeeded
CRS-2672: Attempting to start 'ora.drivers.acfs' on 'tdc-ovn-0083'
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'tdc-ovn-0083'
CRS-2672: Attempting to start 'ora.ctssd' on 'tdc-ovn-0083'
CRS-2676: Start of 'ora.drivers.acfs' on 'tdc-ovn-0083' succeeded
CRS-2676: Start of 'ora.ctssd' on 'tdc-ovn-0083' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'tdc-ovn-0083' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'tdc-ovn-0083'
CRS-2676: Start of 'ora.asm' on 'tdc-ovn-0083' succeeded


[root@tdc-ovn-0083 tdc-ovn-0083]# ocrconfig -restore /oraclecrsware/product/11.2.0/cdata/crs2/backup00.ocr


[root@tdc-ovn-0083 tdc-ovn-0083]# ps -ef|grep pmon
oracle 18408 1 0 10:25 ? 00:00:00 asm_pmon_+ASM2
root 18486 16559 0 10:26 pts/0 00:00:00 grep pmon


Another Reason to keep OCR on raw devices in 11gR2. You dont need to start ASM :)

Comments

Popular posts from this blog

Hard dependency with ip address Oracle RAC Cluster.

Command error out due to hard dependency with ip address [-Node1]/app/grid/oracle/product/11.2.0/grid/bin>./crsctl relocate resource RDBMS_DB -n Node2 CRS-2527: Unable to start 'RDBMS_DB' because it has a 'hard' dependency on 'sDB' CRS-2525: All instances of the resource 'sDB' are already running; relocate is not allowed because the force option was not specified CRS-4000: Command Relocate failed, or completed with errors. [-Node1]/app/grid/oracle/product/11.2.0/grid/bin>./crsctl relocate resource sDB  -n Node2 CRS-2529: Unable to act on 'DB' because that would require stopping or relocating 'LISTENER_DB', but the force option was not specified CRS-4000: Command Relocate failed, or completed with errors. [-Node1]/app/grid/oracle/product/11.2.0/grid/bin>./crsctl relocate resource LISTENER_DB  -n Node2 CRS-2527: Unable to start 'LISTENER_DB' because it has a 'hard' dependency on 'sD...

12c. Monthly Database Growth from OEM 12c.

SELECT alloc.TARGET_NAME,TO_DATE(TO_CHAR(alloc.timestamp, 'MON RR'), 'MON RR') AS CALENDAR_MONTH,        alloc.tablespace AS TABLESPACE,        round(avg(alloc.avg_size_mb), 2) AS SIZE_MB,        round(avg(used.avg_used_mb), 2) AS USED_MB,        round(avg(alloc.avg_size_mb - used.avg_used_mb), 2) AS FREE_MB,        round(avg((used.avg_used_mb*100)/ decode(alloc.avg_size_mb, 0, 1, alloc.avg_size_mb)), 2) AS USED_PCT,        round(max(alloc.max_size_mb), 2) AS SIZE_MAX_MB,        round(max(used.max_used_mb), 2) AS USED_MAX_MB,        round(max(alloc.avg_size_mb - used.avg_used_mb), 2) AS FREE_MAX_MB,        round(max((used.avg_used_mb*100)/decode(alloc.avg_size_mb, 0, 1, alloc.avg_size_mb)), 2) AS USE...

Perl - Introduction & Quick Guide

Perl - Quick Guide Advertisements   Previous Page Next Page     Perl - Introduction Perl is a general-purpose programming language originally developed for text manipulation and now used for a wide range of tasks including system administration, web development, network programming, GUI development, and more. What is Perl? ·         Perl is a stable, cross platform programming language. ·         Though Perl is not officially an acronym but few people used it as  Practical Extraction and Report Language . ·         It is used for mission critical projects in the public and private sectors. ·         Perl is an  Open Source  software, licensed under its  Artistic License , or the  GNU General Public License (GPL) . ·         P...