ITPub博客

首页 > 数据库 > Oracle > How to deinstall OCM (Doc ID 761313.1)

How to deinstall OCM (Doc ID 761313.1)

Oracle 作者:wuweilong 时间:2013-11-28 16:13:04 0 删除 编辑


How to deinstall OCM (Doc ID 761313.1)

To Bottom

To Bottom


 


Modified:05-Jul-2013

Type:HOWTO

Rate this document

 

Email link to this document

 

Open document in new window

 

Printable Page

 

In this Document


 


Goal


Solution


References


 


APPLIES TO:


Oracle Configuration Manager - Version 10.0.0 and later


Information in this document applies to any platform.


***Checked for relevance on 05-Jul-2013***


GOAL


Can we disable OCM installation during a silent install?


 


How to de-install OCM?


 


When doing an upgrade from 10.2.0.3 to 10.2.0.4 in silent mode After the upgrade completes successfully, there will be two new DBMS jobs


 


1.MGMT_CONFIG_JOB, 


 


2.MGMT_STATS_CONFIG_JOB).


 


+ Tried setting:


 


1)b_acceptLicense=false


2)b_useRegistration=false


 


But the two jobs, as well as the ORACLE_OCM user and it's objects


Still get created.


 


How can we disable OCM installation ?


 


SOLUTION


MGMT_CONFIG_JOB - comes with the OCM(Oracle Configuration Manager) installation - This is a configuration collection job.


Please check the Document 369111.5 - 'Oracle Configuration Manager Release 10.3 FAQ


 


The job is created by the script ocmjb10.sql by running procedure


'ORACLE_OCM.MGMT_CONFIG.collect_config'


 


MGMT_STATS_CONFIG_JOB:- This is an OCM Statistics collection job created in ocmjb10.sql by running


'ORACLE_OCM.MGMT_CONFIG.collect_stats'.


 


Oracle Configuration Manager is installed during upgrading Oracle Database to  10.2.0.4, but will not be configured and will not run if you do not select "Enable Oracle Configuration Manager" option during the installation process.


 


OCM is installed in $ORACLE_HOME/ccr directory, so you can remove ccr directory only.The size of this directory will be around 100 Mb.


 


If you wish, you can remove ocm after installation by running following command


 


   


 :$rm     -rf OCM_INSTALL_ROOT/ccr (On UNIX)


 


 


If you want to deinstall OCM,please do following steps


 


If database collections were done, log into the database with and DBA user (like SYSTEM) and execute: 


 


SQL> @ccr/admin/scripts/dropocm.sql 


SQL> @ccr/admin/scripts/dropemrep_collect.sql (if db is a repository) 


SQL> @ccr/admin/scripts/ebs_dropccr.sql (if db is used for ebs)


 


* Execute: $ORACLE_HOME/ccr/bin/deployPackages –d $ORACLE_HOME/ccr/inventory/core.jar (on linux, this will stop the scheduler and remove the crontab entry; on windows, it will stop the scheduler and remove the service) 


 


  Remove the directory


 


i. Unix: rm –rf $ORACLE_HOME/ccr


ii. Windows:rmdir  %ORACLE_HOME%\ccr


 


 


Now, if you want to prevent OCM being installed?


 


This is For using OPatch in silent mode, in this way,ocm response file MUST be specified.


 


To specified a response file:


---------------------------


 


- Go to $ORACLE_HOME/OPatch/ocm/bin and run $./emocmrsp script.(for the 


question I accept the License Agreement you can choose NO if you do not want 


register and configure Oracle Configuration Manager)


 


After that response (ocm.rsp) file will be created in the same directory.


 


Now, you can use $./opatch script in silent mode and none interaction from user 


side will be required during patch installation.


 


Example below:


$./opatch apply /path_to_unziped_patch/ -silent -ocmrf $


ORACLE_HOME/OPatch/ocm/bin/ocm.rsp


 


 


OCM is a part of OPatch now. If you wish to not register ocm after using 


OPatch to apply a patch, then please create a response file and configure it 


like mentioned in above update. After that, OCM will not be registered and 


configured for collection puprose, and this action will locate ocm binaries in $


ORACLE_HOME/ccr folder for further installation per customer request. Size of 


CCR folder is around 100 MB.


 


You can delete ccr folder after applying patch (manually or create shell script 


which will remove ccr folder) IF you wish.


 


 

Related


Products



Keywords

CONFIGURATION MANAGER;DE-INSTALL;DEINSTALL;OCM


 


来自 <https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=27671417875482&id=761313.1&_afrWindowMode=0&_adf.ctrl-state=9kfufexgp_86>


来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/20674423/viewspace-1061547/ ,如需转载,请注明出处,否则将追究法律责任。

上一篇: ORA-12012 ORA-29280
请登录后发表评论 登录
全部评论
Oracle ACE Associate; 12cOCM;11gOCM;MySQL OCP;PGCA;PGCE;KCA; KCP; 本人拥有十年以上运营商,广电传媒,能源,制造等行业DBA从业经验; 有着丰富的管理及运维经验,经历过国家级重点项目,省级标杆项目,新型试点项目

注册时间:2010-01-08

  • 博文量
    779
  • 访问量
    4931733