设为首页 加入收藏

TOP

11gR2RAC独占模式replacevotedisk遭遇PROC-26,restoreocr遭遇CRS-4000、PROT-35(四)
2015-07-24 11:58:13 来源: 作者: 【 】 浏览:28
Tags:11gR2RAC 独占 模式 replacevotedisk 遭遇 PROC-26 restoreocr CRS-4000 PROT-35
_name\week.ocr


2. Clear the partitions of the disks that were used in the 1st diskgroup:

$CRS_HOME\bin\logpartformat /q \\.\ORCLDISKOCRVOTE0
$CRS_HOME\bin\logpartformat /q \\.\ORCLDISKOCRVOTE1
$CRS_HOME\bin\logpartformat /q \\.\ORCLDISKOCRVOTE2



3. Re-Stamp the 1st diskgroup's (+OCRVOTE) disks using ASMTOOLG:


\

\

\

\



4. Open the server services console: Start --> Run --> services.msc



5. Manually stop the OracleOHService service

\



6. Start the CRS stack in exclusive mode:


11.2.0.1:
$CRS_HOME\bin\crsctl start crs -excl
...
CRS-2672: Attempting to start "ora.asm' on 'racnode1'
CRS-2676: Start of 'ora.asm' on 'racnode1' succeeded
CRS-2672: Attempting to start 'ora.crsd' on 'racnode1'
CRS-2676: Start of 'ora.crsd' on 'racnode1' succeeded

11.2.0.2:
$CRS_HOME\bin\crsctl start crs -excl -nocrs
...
CRS-2672: Attempting to start 'ora.cluster_interconnect.haip' on 'racnode1'
CRS-2672: Attempting to start 'ora.ctssd' on 'racnode1'
CRS-2676: Start of 'ora.drivers.acfs' on 'racnode1' succeeded
CRS-2676: Start of 'ora.ctssd' on 'racnode1' succeeded
CRS-2676: Start of 'ora.cluster_interconnect.haip' on 'racnode1' succeeded
CRS-2672: Attempting to start 'ora.asm' on 'racnode1'
CRS-2676: Start of 'ora.asm' on 'racnode1' succeeded

IMPORTANT:
A new option '-nocrs' has been introduced with 11.2.0.2, which prevents the start of the ora.crsd resource. It is vital that this option is specified, otherwise the failure to start the ora.crsd resource will tear down ora.cluster_interconnect.haip, which in turn will cause ASM to crash.


7. Re-create the OCRVOTE diskgroup via sqlplus
The disk group can now be (re-)created via sqlplus from the grid user. The compatible.asm attribute must be set to 11.2 in order for the disk group to be used by CRS:

sqlplus / as sysasm

SQL*Plus: Release 11.2.0.1.0 Production on Thu Sep 2 08:39:18 2010
Copyright (c) 1982, 2010, Oracle. All rights reserved.

Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
With the Real Application Clusters and Automatic Storage Management options

SQL> CREATE DISKGROUP OCRVOTE NORMAL REDUNDANCY
DISK '\\.\ORCLDISKOCRVOTE0','\\.\ORCLDISKOCRVOTE1','\\.\ORCLDISKOCRVOTE2'
ATTRIBUTE 'compatible.asm'='11.2.0.0.0';

Diskgroup created.

SQL> exit



8. Restore the latest OCR backup
Now that the CRS disk group is created & mounted the OCR can be restored:

$CRS_HOME\bin\ocrconfig -restore C:\app\11.2.0\grid\cdata\cluster_name\backup00.ocr



9. Start the CRS daemon on the current node (11.2.0.1 only !)

Now that the OCR has been restored the CRS daemon can be started, this is needed to recreate the Voting file. Skip this step for 11.2.0.2.0.

$CRS_HOME\bin\crsctl start res ora.crsd -init
CRS-2672: Attempting to start 'ora.crsd' on 'racnode1'
CRS-2676: Start of 'ora.crsd' on 'racnode1' succeeded



10. Recreate the Voting file
The Voting file needs to be initialized in the CRS disk group:

$CRS_HOME\bin\crsctl replace votedisk +OCRVOTE
Successful addition of voting disk 401738d9d75e4f7abf60d6bac7f9119c.
Successful addition of voting disk 7449ffaed19b4f22bf643553ea396683.
Successful addition of voting disk 5be68de758a74fbbbf9b8a4240d5e32d.
Successfully replaced voting disk group with +OCRVOTE.
CRS-4266: Voting file(s) successfully replaced



11. Recreate the SPFILE for ASM

Prepare a pfile (e.g. c:\tmp\asm_pfile.ora) with the ASM startup parameters - these may vary from the example below. If in doubt consult the ASM alert log as the ASM instance startup should list al
首页 上一页 1 2 3 4 下一页 尾页 4/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)