My database is 12c and it is single instance database. My database is running on ASK disk.
I am trying to move my spfile to ASM disk and it is not happening...
The DB is running with pfile.
sys@usben> startup nomount pfile=$ORACLE_HOME/dbs/initusben.ora
ORACLE instance started.
Total System Global Area 281018368 bytes
Fixed Size 2923440 bytes
Variable Size 222299216 bytes
Database Buffers 50331648 bytes
Redo Buffers 5464064 bytes
sys@usben> alter database mount;
sys@usben> alter database open;
sys@usben> show parameter spfile;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string
Let me try to create the spfile under dbs directory.
sys@usben> create spfile from pfile;
File created.
sys@usben> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
sys@usben> startup
ORACLE instance started.
Total System Global Area 281018368 bytes
Fixed Size 2923440 bytes
Variable Size 222299216 bytes
Database Buffers 50331648 bytes
Redo Buffers 5464064 bytes
Database mounted.
Database opened.
sys@usben> show parameter spfile;
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
spfile string /ora/app/oracle/product/12.1.0
.1/db_1/dbs/spfileusben.ora
The spfile is successfully created and the DB is using spfile.
Let me create the spfile in ASM disk.
sys@usben> create spfile='+DATA' from pfile='/ora/app/oracle/product/12.1.0.1/db_1/dbs/initusben.ora';
File created.
sys@usben> shutdown immediate
Database closed.
Database dismounted.
ORACLE instance shut down.
sys@usben> !
[oracle@RACTEST1 dbs]$ mv initusben.ora initusben.ora.gold1
[oracle@RACTEST1 dbs]$ mv spfileusben.ora spfileusben.ora.old
[oracle@RACTEST1 dbs]$ exit
sys@usben> startup
ORA-01078: failure in processing system parameters
LRM-00109: could not open parameter file '/ora/app/oracle/product/12.1.0.1/db_1/dbs/initusben.ora'
sys@usben> !
[oracle@RACTEST1 dbs]$ exit
exit
sys@usben>
Still it is trying to search the pfile while starting up the database.
The spfile is successfully created in ASM disk.
ASMCMD> ls -l
Type Redund Striped Time Sys Name
PARAMETERFILE UNPROT COARSE FEB 16 16:00:00 Y spfile.295.903975691
ASMCMD>
What am i missing here?
Any help is appreciated.