Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: How to move init.ora or SPFILE
Mark D Powell wrote:
> JohannesBavendiek_at_gmx.de (Johannes Bavendiek) wrote in message news:<df6af3e.0410260132.5684a213_at_posting.google.com>...
>
>>Hello, >> >>we are running Oracle 9.2 on a Win2003 Cluster. >>I want to move the init.ora and/or the SPFILE to another location >>(especially from the local disk to a cluster-disk). >>How can I do that? >> >>thanks in advance >>Johannes
Yes, Oracle looks in %ORACLE_HOME%\database by default. But that's only the default. I support many MSCS Oracle FailSafe systems and keep the spfile on the clustered drive, so we don't have to worry about whether each node has the most recent copy.
To move an init.ora file on a Windows system, you use the oradim
utility. There is a registry key which sets the location of the pfile
for the Oracle service. Check
oradim -help
but the syntax is more or less
oradim -edit -sid <SID> -pfile=<new location of pfile>
Using an spfile in a non-default location is a bit trickier on Windows. The suggested workaround is a one line pfile. It contains the ini_file parameter pointing at the location of the spfile. You then use oradim to modify its pfile setting to read this one line file, which points to the real location of the spfile.
Brian Holgate Received on Tue Oct 26 2004 - 10:28:51 CDT
![]() |
![]() |