星期一, 6月 10, 2013

crs_unregister ASM resource 之後仍要清理組態

crs_unregister ASM resource 之後仍要清理組態

1.ASM pfile, spfile , password file

2. srvctl remove asm rac03 -f

3./etc/oratab , ASM有關的一行

4.dbca 在重建一次

 

Ref:

http://hi.baidu.com/lxq19851230/item/270c325d2a08509109be1797

 

註冊報同樣的錯:
[oracle@rac03 bin]$ ./crs_register ora.rac03.ASM1.asm
CRS-0181: Cannot access the resource profile '/u02/app/oracle/product//db_1/crs/public/ora.rac03.ASM1.asm.cap'.

處理方法:
This operation will DESTROY any databases that are currently running on the +ASM instance 
1) Shutdown all datbases that are running on the box using the +ASM instance for storage management
2) Drop the old parameter file (init<sid>.ora or spfile<sid>.ora)
Default location: <ORACLE_HOME>dbs

3) Delete / Remove any non ASM supporting directories
   BACKGROUND_DUMP_DEST
   USER_DUMP_DEST
   CORE_DUMP_DEST
   etc
4) Remove the ORATAB entry for the ASM instance 
5) Remove the resource from cluster ready services (CRS)(
注意:這�要採用強制移除,否則會報錯)
srvctl remove asm rac03 -f
At this point ... if desired ...
a new ASM instance should be able to be recreated (DBCA or manual) ... 
if necessary ... recreate the raw partitions

###############################################

 

 

 

 

沒有留言:

LinkWithin-相關文件

Related Posts Plugin for WordPress, Blogger...