Solved

Init.ora File Points to SPFILE

Posted on 2016-08-02
6
57 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
  • 2
  • 2
  • 2
6 Comments
 
LVL 73

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 4

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 4

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 73

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Join & Write a Comment

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…
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
Via a live example, show how to restore a database from backup after a simulated disk failure using RMAN.

708 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now