Solved

Init.ora File Points to SPFILE

Posted on 2016-08-02
6
123 Views
Last Modified: 2016-08-09
We run an Oracle RAC system with ASM.  I noticed our init.ora file has a pointer to spfile:

spfile='+DATA'

Assume this means database is not using init.ora, but is using spfile located on ASM?  Is this typical done on RAC implementations where the database uses a SPFILE that lives in the ASM storage path?  Why is this necessary?
0
Comment
Question by:sdruss
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
  • 2
6 Comments
 
LVL 74

Assisted Solution

by:sdstuber
sdstuber earned 250 total points
ID: 41739117
it's not necessary but it is common.

the goal with this is to put the spfile on shared storage, which is often implemented with ASM.

if you keep your files in filesystems that are shared, then it's possible to write the spfile there instead of ASM shared storage; but again, that's less common.
0
 
LVL 5

Accepted Solution

by:
Abhimanyu Suri earned 250 total points
ID: 41739242
In RAC it is always suggested to use common spfile placed at the shared location, so that all instances are identical in terms of memory/parameters.

In RAC with ASM the spfile is placed in the ASM ( shared location maintained by ASM) so all instances can access it.
 init file is local to instance, hence it automatically gets updated with the location of spfile.

Also, Oracle has a preference when it comes to choose spfile over pfile

 spfileSID.ora
 spfile.ora
 initSID.ora
 init.ora

It will look in /dbs for given files and hence gets routed to ASM.

There is further enhancement to it with GPNP profile.
0
 
LVL 1

Author Comment

by:sdruss
ID: 41743620
Exactly what I was looking for. Excellent!
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 5

Expert Comment

by:Abhimanyu Suri
ID: 41743628
Please close the thread when you get chance.
0
 
LVL 1

Author Comment

by:sdruss
ID: 41746414
Nice job.
0
 
LVL 74

Expert Comment

by:sdstuber
ID: 41746431
clearly that post was not an answer.

Please close the question accepting the post, or posts that were actually helpful.
0

Featured Post

Enroll in May's Course of the Month

May’s Course of the Month is now available! Experts Exchange’s Premium Members and Team Accounts have access to a complimentary course each month as part of their membership—an extra way to increase training and boost professional development.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Working with Network Access Control Lists in Oracle 11g (part 1) Part 2: http://www.e-e.com/A_9074.html So, you upgraded to a shiny new 11g database and all of a sudden every program that used UTL_MAIL, UTL_SMTP, UTL_TCP, UTL_HTTP or any oth…
How to Create User-Defined Aggregates in Oracle Before we begin creating these things, what are user-defined aggregates?  They are a feature introduced in Oracle 9i that allows a developer to create his or her own functions like "SUM", "AVG", and…
Via a live example show how to connect to RMAN, make basic configuration settings changes and then take a backup of a demo database
This video explains what a user managed backup is and shows how to take one, providing a couple of simple example scripts.

739 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question