Oracle A423961 Manual Do Utilizador

Página de 202
3 – 13
Using Oracle7 Server for Windows NT
Creating an Instance
The Instance Manager command line tool is run with the
ORADIM73.EXE
 executable. To use this tool, from the command line,
type ORADIM73, followed by appropriate commands and arguments
(listed below).
Note:
 
 
If you enter 
ORADIM73
 or 
ORADIM73.EXE
 at the
command line followed by a return (that is, without any
commands), you start the graphical tool. Likewise, if you type
“ORADIM73” followed by an invalid command, you start the
graphical tool. If you type “ORADIM73” followed by a
combination of valid and invalid commands, the Instance
Manager processes as many valid commands as possible and
remain at the command line.
To get a complete listing of ORADIM73 commands, enter a question
mark after the executable name:
C:\>ORADIM73 –?
To use ORADIM73 to create an instance called sid, enter the following:
C:\>ORADIM73 –NEW –SID sid –INTPWD <password> –STARTMODE –PFILE
These two commands are mandatory: create an instance (–NEW) and
the system identifier of the instance (–SID sid).
Starting an Instance
To start an instance using ORADIM73.EXE directly from the command
line, enter the following:
C:\>ORADIM73 –STARTUP –SID sid –STARTTYPE SRVC,INST 
   –USRPWD <password> –PFILE <filename>
where sid is the system identifier (SID) of the database, INST indicates
that the instance should be started.
Running Multiple Instances
For each instance you wish to run, from the command line type:
C:\>ORADIM73 –STARTUP –SID sid –STARTTYPE SRVC,INST 
   –USRPWD <password> –PFILE <filename>