Search This Blog

Monday, September 12, 2011

How to delete/remove Oracle Enterprise Manager Console in 10GR2 on Linux

Linux Oracle 10gr2
Dropping OEM repository through EMCA command.

Example:


-bash-3.00$ set ORACLE_SID=orcl
-bash-3.00$ emca -deconfig dbcontrol db -repos drop

STARTED EMCA at Sep 12, 2011 4:35:56 PM
EM Configuration Assistant, Version 10.2.0.5.0 Production
Copyright (c) 2003, 2009, Oracle.  All rights reserved.

Enter the following information:
Database SID: orcl
Listener port number: 1521
Password for SYS user:
Password for SYSMAN user:

----------------------------------------------------------------------
WARNING : While repository is dropped the database will be put in quiesce mode.
----------------------------------------------------------------------

Do you wish to continue? [yes(Y)/no(N)]: y
Sep 12, 2011 4:36:15 PM oracle.sysman.emcp.EMConfig perform
INFO: This operation is being logged at /db/app/oracle/Db_1/cfgtoollogs/emca/orcl/emca_2011-09-12_04-35-56-PM.log.
Sep 12, 2011 4:36:17 PM oracle.sysman.emcp.util.DBControlUtil stopOMS
INFO: Stopping Database Control (this may take a while) ...
Sep 12, 2011 4:36:37 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Dropping the EM repository (this may take a while) ...
Sep 12, 2011 4:36:37 PM oracle.sysman.emcp.EMReposConfig dropRepository
INFO: Dropping the EM repository (this may take a while) ...
Sep 12, 2011 4:39:05 PM oracle.sysman.emcp.EMReposConfig invoke
INFO: Repository successfully dropped
Enterprise Manager configuration completed successfully
FINISHED EMCA at Sep 12, 2011 4:39:05 PM

NOTE: 
1. Do this operation in off peak hours.
2. This command only work beginning with 10.2.0.4.0 or later version of oracle.


No comments: