ASM 11gR2 Instance Is Unable To Start Due To ASM Spfile Is Missing. [ID 946145.1]

ASM 11gR2 Instance Is Unable To Start Due To ASM Spfile Is Missing. [ID 946145.1]

修改时间 30-SEP-2010 类型 PROBLEM 状态 PUBLISHED

In this Document
Symptoms
Cause
Solution


Applies to:

Oracle Server - Enterprise Edition - Version: 11.2.0.0 to 11.2.0.2 - Release: 11.2 to 11.2
Information in this document applies to any platform.

Symptoms

1) On ASM 11gR2 the ASM spfile initialization parameter file is now stored in the first created diskgroup (e.g. DATA).

Example:

SQL*Plus: Release 11.2.0.1.0 Production on Wed Sep 30 10:04:03 2009

Copyright (c) 1982, 2009, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Automatic Storage Management option

SQL> show parameter instance_type

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
instance_type string asm
SQL> show parameter spfile

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string +DATA/asm/asmparameterfile/registry.253.697740955


2) If for any reason the ASM spfile is missing, you will not be able to start the ASM instance.

Cause

ASM spfile initialization parameter file is now stored in the first created diskgroup (e.g. DATA) so if the ASM instance is not started and the diskgroup is not mounted you cannot recreate the spfile.

Solution

But you can use the next procedure to solve the problem:

1) Create a temporary pfile using the minimum parameters:

+ASM:oracle:GRID_11gR2>vi asm.ora
+ASM.asm_diskgroups='OLTP','FRA'
*.asm_diskstring='ORCL:*'
*.asm_power_limit=1
*.diagnostic_dest='/u01/app/oracle'
*.instance_type='asm'
*.large_pool_size=12M
#*.local_listener='LISTENER_+ASM'
*.remote_login_passwordfile='EXCLUSIVE'



2) Startup the ASM instance using the new pfile:

+ASM:oracle:GRID_11gR2> sqlplus “/as sysasm”

SQL*Plus: Release 11.2.0.1.0 Production on Wed Sep 16 16:53:57 2009

Copyright (c) 1982, 2009, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Automatic Storage Management option

SQL> startup pfile=asm.ora



3) Then recreate the ASM spfile as follow:

SQL> create spfile='+DATA' from pfile='asm.ora';

File created.

SQL> show parameter spfile

NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string +DATA/asm/asmparameterfile/registry.253.697740955


4) Check the new spfile thru ASMCMD as well:

+ASM:oracle:GRID_11gR2>asmcmd
ASMCMD> cd +DATA/asm/asmparameterfile/
ASMCMD> ls
REGISTRY.253.697740955

5) Restart the ASM instance using the new spfile:

+ASM:oracle:GRID_11gR2> sqlplus “/as sysasm”

SQL*Plus: Release 11.2.0.1.0 Production on Wed Sep 16 16:53:57 2009

Copyright (c) 1982, 2009, Oracle. All rights reserved.


Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With the Automatic Storage Management option
SQL> shutdown immediate
SQL> startup





显示相关信息相关的


产品
  • Oracle Database Products > Oracle Database > Oracle Database > Oracle Server - Enterprise Edition
关键字
AUTOMATIC STORAGE MANAGEMENT; SYSASM; SPFILE; ASMCMD; INITIALIZATION PARAMETERS
[@more@]

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

转载于:http://blog.itpub.net/24870090/viewspace-1051562/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值