Monday, January 5, 2009

Start, Stop and Status Check for Oracle Application Server/ Database/Documentum/OID

App server: acesapp
-----------

cd $ORACLE_HOME/opmn/bin
cd /orahome/acesapphome/product/10.1.3.1/opmn/bin

./opmnctl status -l
./opmnctl stopall

check ps -ef|grep acesapp

=============================================

OID: oraapp
----

ps -ef|grep oraapp

cd /orahome/appinfra/opmn/bin
cd $ORACLE_HOME/opmn/bin

stop OPMN
---------
./opmnctl status -l
./opmnctl stopall

stop iasconsole
----------
cd /orahome/appinfra/bin
cd $ORACLE_HOME/bin
----------
./emctl status iasconsole
./emctl stop iasconsole
----------

stop dbconsole
----------
cd $ORACLE_HOME/bin
cd /orahome/appinfra/bin
./emctl status dbconsole
./emctl stop dbconsole

----------
shutdown OID database:
-------- --- ---------

sqlplus / as sysdba
shutdown immediate

==============================================
Documentum: root
-----------

stop MethodServer
---- ------------
cd /opt/Documentum/product/5.3/tomcat/bin
sh shutdown.sh

stop DocBase
---- -------
cd /opt/Documentum/dba
sh dm_shutdown_acestest

stop DocBase
---- -------
cd /opt/Documentum/dba
sh dm_stop_Docbroker

================================================
Database: oracle
---------

ps -ef|grep pmon
ps -ef|grep tns
/orahome/oracle/product/10.2.0/opmn/bin/ons
/orahome/oracle/product/10.2.0/bin/emagent



stop dbconsole
--------------
cd $ORACLE_HOME/bin
cd /orahome/oracle/product/10.2.0/bin
./emctl status dbconsole
./emctl stop dbconsole



stop ons
---- ---
./onsctl ping
ons is running ...
-----
./onsctl stop
onsctl: shutting down ons daemon ...
-------
./onsctl ping
ons is not running ...

-------


stop Listener
---- ---------

lsnrctl status LISTENER_DB
lsnrctl stop LISTENER_DB

stop Database
---- ---------
sqlplus / as sysdba
shutdown immediate;


SQL> shutdown immediate;
Database closed.
Database dismounted.


====================================================================================================================================
====================================================================================================================================
==================================================== Start up ================================================================
====================================================================================================================================
====================================================================================================================================

Database: oracle
---------

sqlplus / as sysdba
startup

start Listener
---- ---------

lsnrctl start LISTENER_DB


start dbconsole and ons
----- --------- -------
cd $ORACLE_HOME/bin
cd /orahome/oracle/product/10.2.0/bin

./onsctl start

./emctl start dbconsole

================================================

OID: oraapp
----

----------
Startup OID database:
-------- --- ---------

sqlplus / as sysdba
shutdown immediate

start Listener
---- ---------

lsnrctl start LISTENER_OID

----

cd /orahome/appinfra/opmn/bin
cd $ORACLE_HOME/opmn/bin

start OPMN
---------
./opmnctl status -l
./opmnctl startall

start iasconsole
----------
cd /orahome/appinfra/bin
cd $ORACLE_HOME/bin
----------
ss
./emctl start iasconsole
----------

start dbconsole
----------
cd $ORACLE_HOME/bin
cd /orahome/appinfra/bin
./emctl status dbconsole
./emctl start dbconsole


================================================

Documentum: root
-----------


Start Docbroker
----- ---------
cd /opt/Documentum/dba

sh dm_launch_Docbroker

Start Docbase
----- --------
cd /opt/Documentum/dba

sh dm_start_acestest

start Method Server
---- ------- ------
cd /opt/Documentum/product/5.3/tomcat/bin

sh setenv.sh
sh startup.sh


================================================

App server: acesapp
-----------

cd $ORACLE_HOME/opmn/bin
cd /orahome/acesapphome/product/10.1.3.1/opmn/bin

./opmnctl status -l
./opmnctl startall

check ps -ef|grep acesapp

No comments:

Post a Comment

Followers

About Me

My photo
N.Delhi, Delhi, India
I am an Oracle Certified Professional, Oracle 9i/10G DBA, having 4+ years of core DBA experience.