Search This Blog

Total Pageviews

Thursday 22 May 2014

ASM init file  .....

How to create a init+ASM.ora 


ORA-29786: SIHA attribute GET failed with error [Attribute 'SPFILE' sts[200] lsts[0]]


Create spfile for above error ...

init+ASM.ora 
 
 
###########################################
# Cache and I/O
###########################################
large_pool_size = 12m

###########################################
 # ASM Instance Parameters
###########################################
instance_type = asm
asm_power_limit = 1

###########################################
# Security and Diagnostics
###########################################
remote_login_passwordfile = exclusive
diagnostic_dest = '/u01/app/grid'

[grid@unknown dbs]$ vi init+ASM.ora
[grid@unknown dbs]$ !sql
sqlplus / as sysasm

SQL*Plus: Release 11.2.0.1.0 Production on Thu May 22 13:12:30 2014

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> create spfile from pfile ;

File created.

SQL> !cat init+ASM.ora
###########################################
# Cache and I/O
###########################################
large_pool_size = 12m
###########################################
 # ASM Instance Parameters
###########################################
instance_type = asm
asm_power_limit = 1
###########################################
# Security and Diagnostics
###########################################
remote_login_passwordfile = exclusive
diagnostic_dest = '/u01/app/grid'
 

No comments:

Oracle DBA

anuj blog Archive