ITPub博客

首页 > 数据库 > Oracle > Recreate OCR for 11gR2

Recreate OCR for 11gR2

原创 Oracle 作者:Blyth_li 时间:2016-04-28 22:31:54 0 删除 编辑

1.    crsctl stop crs –f

2.    crsctl start crs -excl –nocrs

3.    create diskgroup CRS external redundancy disk 'ORCL:ASMD40' attribute 'COMPATIBLE.ASM' = '11.2';

4.    修改/etc/oracle/ocr.loc文件

ocrconfig_loc=+votingdisk

5.    $CRS_HOME/bin/ocrconfig -restore backup00.ocr

6.    修改ASM磁盘搜索路径

SQL> show parameter asm_diskstring

 

NAME                 TYPE        VALUE

------------------------------------ ----------- ------------------------------

asm_diskstring                       string

SQL> alter system set asm_diskstring = '/dev/asm*';

System altered.

7.    crsctl replace votedisk +CRS

8.    修改spfile

a)      Pfile:

*.asm_power_limit=1
*.instance_type='asm'
*.large_pool_size=12M
*.remote_login_passwordfile='EXCLUSIVE'

b)     create spfile='+CRS' from pfile='/tmp/asm_pfile.ora';

 

 

 

9.    crsctl stop crs –f

10. 所有节点执行crsctl start crs

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/31136666/viewspace-2090392/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2016-04-24

  • 博文量
    32
  • 访问量
    41488