Automating Database Startup and Shutdown for AIX for multiple databases
537177Oct 27 2008 — edited Oct 27 2008Hi I am running two databases 9i with different oracle holmes on one AIX server.
Now to implement the automating database startup and shutdown I found the oracle documentation on http://download.oracle.com/docs/html/A96167_01/post-inst.htm#i1035384.
I am not sure regarding the Step 3
3. Add the dbstart script to the /etc/inittab file:
# mkitab "oradb:2:wait:/bin/su oradb -c|/$ORACLE_HOMES/bin/dbstart"
For example my ORACLE_HOME for the database 01 is /ora_01/product/9.2
and the ORACLE_HOME for the database 02 is /ora_02/product/9.2
do I have 2 entries in the initab?
mkitab "oradb:2:wait:/bin/su oradb -c|/ora_01/product/9.2/bin/dbstart"
mkitab "oradb:2:wait:/bin/su oradb -c|/ora_02/product/9.2/bin/dbstart"
Thanks