Thanks to
Martina Thomas/Siebel Systems, Inc.
The /etc/oratab looks roughly like this:
database_sid:oracle_home:Y
database_sid:oracle_home:N
With the oracle executables dbshut and dbstart you automatically start or
stop all databases with a "Y". Thus if you want to shut down one particular
database you have to set the last entry to "N" for all the other databases on
the system.
also Thanks to
Joseph Thvedt
It sounds like you'd like to use 'dbshut' to shut down a single database,
rather than have it shut down all flagged with a 'Y' in /etc/oratab. I
suppose this is possible, but there's no need. If this is to be done
interactively, it's a piece of cake: just run oraenv (I forget where it is
for DU; for AIX, it's /usr/lbin/oraenv), choose your SID, run svrmgrl,
connect internal, shutdown [normal|immediate|abort], exit. You could put
the same thing in a script, though you'll have to set environment variables
ORAENV_ASK and ORACLE_SID before running oraenv. Take a look at
$ORACLE_HOME/bin/dbshut for more specifics.
--MAA04522.940005197/relay.nswc.navy.mil--
Received on Fri Oct 15 1999 - 16:37:10 NZDT