Академический Документы
Профессиональный Документы
Культура Документы
1662068.1) Bottom
In this Document
Goal
Solution
What spfile srvctl uses?
How to change spfile in OCR for database?
What spfile/pfile sqlplus uses?
How to specify a temporary pfile during troubleshooting?
How to verify which spfile is being used?
What if spfile/pfile is out of sync?
Common errors when different spfile/pfile is being used:
References
APPLIES TO:
GOAL
It's recommended to use shared spfile in RAC; the note explains a few things around this.
SOLUTION
When starting database with srvctl, it uses the spfile that's defined in OCR; The same applies
when clusterware auto starts database.
When starting database with sqlplus, if no pfile is specified in the startup command, sqlplus will
determine which spfile/pfile to use in the following sequence:
<DB_HOME>/dbs/spfile<SID>.ora
<DB_HOME>/dbs/spfile.ora
<DB_HOME>/dbs/init<SID>.ora
SQL> startup
To verify which spfile/pfile is being used, connect to each instance and execute the following
command:
instance_number
thread
undo_tablespace
local_listener
For above parameters, be sure to have unique value for each instance.
Once the temporary pfile is created, be sure to remove any reference of "SPFILE" as nested
spfile is not supported.
SPFILE='<shared_spfile>'
Majority of the init.ora parameters can be different on each instance, however certain parameters
must be identical otherwise other instances won't start with errors like: