设为首页 加入收藏

TOP

11gR2RAC独占模式replacevotedisk遭遇PROC-26,restoreocr遭遇CRS-4000、PROT-35(二)
2015-07-24 11:58:13 来源: 作者: 【 】 浏览:26
Tags:11gR2RAC 独占 模式 replacevotedisk 遭遇 PROC-26 restoreocr CRS-4000 PROT-35
: *.asm_power_limit=1 *.diagnostic_dest='/u01/app/grid/11.2.0/log' *.instance_type='asm' *.large_pool_size=12M *.remote_login_passwordfile='EXCLUSIVE'
2).创建SPFILE文件: [root@rac2 ~]# su - grid [grid@rac2 ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.3.0 Production on Fri Nov 9 00:03:22 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Real Application Clusters and Automatic Storage Management options
SQL> create spfile='+OCR' from pfile='/tmp/asm_pfile.txt';
File created.
SQL> show parameter spfile
NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ spfile string
3).重启HAS服务,验证SPFILE参数: [root@rac2 ~]# cd /u01/app/grid/11.2.0/bin [root@rac2 bin]# ./crsctl stop has ...... CRS-4133: Oracle High Availability Services has been stopped. [root@rac2 bin]# ./crsctl start has CRS-4123: Oracle High Availability Services has been started. [root@rac2 bin]# ./crsctl check crs CRS-4638: Oracle High Availability Services is online CRS-4537: Cluster Ready Services is online CRS-4529: Cluster Synchronization Services is online CRS-4533: Event Manager is online [root@rac2 bin]# su - grid [grid@rac2 ~]$ sqlplus / as sysasm
SQL*Plus: Release 11.2.0.3.0 Production on Fri Nov 9 00:32:25 2012
Copyright (c) 1982, 2011, Oracle. All rights reserved.

Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production With the Real Application Clusters and Automatic Storage Management options
SQL> show parameter spfile
NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ spfile string +OCR/wstcluster/asmparameterfile/registry.253.798854653
SPFILE被成功配置。

整个过程参考文章:

How to Restore OCR After the 1st ASM Diskgroup is Lost on Windows [ID 1294915.1]
修改时间:2012-3-6 \类型:HOWTO \状态:PUBLISHED \优先级:3

In this Document
Goal
Solution
References




Applies to:

Oracle Server - Enterprise Edition - Version: 11.2.0.1 to 11.2.0.2 [Release: 11.2 to 11.2]
Microsoft Windows (32-bit)
Microsoft Windows x64 (64-bit)

Goal

The goal of this document is to provide the steps necessary to restore the OCR after the 1st ASM diskgroup, which contains the OCR, Voting Disks, and ASM SPFILE is lost.

The general process of restoring the OCR from backup is documented here: Restoring Oracle Cluster Repository.

Solution

When using an ASM disk group for CRS there are typically 3 different types of files located in the disk group that potentially need to be restored/recreated:
  • The Oracle Cluster Registry file (OCR)
  • The Voting file(s)
  • The shared SPFILE for the ASM instance(s)


    1. Locate the latest automatic OCR backup
    When using a non-shared CRS home, automatic OCR backups can be located on any node of the cluster, consequently all nodes need to be checked for the most recent backup:


    $CRS_HOME\bin\ocrconfig -showbackup
    PROT-26: Oracle Cluster Registry backup locations were retrieved from a local copy

    RACNODE01 2010/08/20 12:25:00 C:\app\11.2.0\grid\cdata\cluster_name\backup00.ocr
    RACNODE01 2010/08/20 08:24:58 C:\app\11.2.0\grid\cdata\cluster_name\backup01.ocr
    RACNODE01 2010/08/20 04:24:55 C:\app\11.2.0\grid\cdata\cluster_name\backup02.ocr
    RACNODE01 2010/08/19 04:24:41 C:\app\11.2.0\grid\cdata\cluster_name\day.ocr
    RACNODE01 2010/08/09 04:22:07 C:\app\11.2.0\grid\cdata\cluster
首页 上一页 1 2 3 4 下一页 尾页 2/4/4
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇[DB][MyBatis]利用mybatis-pagina.. 下一篇MySQL ('root'@'%..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·如何理解智能指针? (2025-12-24 12:48:26)
·c++是否应避免使用普 (2025-12-24 12:48:23)
·如何通俗易懂学会 C+ (2025-12-24 12:48:21)
·在 C 语言函数中,如 (2025-12-24 12:19:41)
·C盘里面的AppData文 (2025-12-24 12:19:38)