How to define where control files are placed? [message #55896] |
Sat, 22 February 2003 03:00 |
Vic
Messages: 8 Registered: August 2000
|
Junior Member |
|
|
Hi,
I need to install two instances on the same machine under the same user. The problem I am having right now is that I cannot figure out how I specify where my control files are placed per instance!
For example, when I create a new instance, first I do:
startup NOMOUNT pfile="/a/b/c/d/inst1/pfile/initInst1.ora"
then I call create database... But then, my control ora_control1 ora_control2 are stored under $ORACLE_HOME/dbs
I want to have ora_control files under the directory that I specify and not default. How do I do it?
Also, how can I make Oracle remember which pfile is where for what instance? I mean is there a way I can do startup WITHOUT pfile=/xxxxx ?
Any script would be greatly appreciated!
Thanks,
Vic
|
|
|
|
|
Re: How to define where control files are placed? [message #55913 is a reply to message #55896] |
Mon, 24 February 2003 07:17 |
|
Mahesh Rajendran
Messages: 10708 Registered: March 2002 Location: oracleDocoVille
|
Senior Member Account Moderator |
|
|
that is why u export the ORACLE_SID( to startup / shutdown an individual database).
if u have mutliple ORACLE_SID in multiple homes,
and u want one dbstart script to handle (startup/shutdown) all the instances
use the /etc/oratab file.
|
|
|