How to deinstall OCM (Doc ID 761313.1)




How to deinstall OCM (Doc ID 761313.1)


To
Bottom


 


Modified:05-Jul-2013

Type:HOWTO


 


 


 


 


In this Document

 

Goal

Solution

References

 

APPLIES TO:

OracleConfiguration Manager - Version 10.0.0 and later

Informationin this document applies to any platform.

***Checkedfor relevance on 05-Jul-2013***

GOAL

Can wedisable OCM installation during a silent install?

 

How tode-install OCM?

 

When doingan upgrade from 10.2.0.3 to 10.2.0.4 in silent mode After the upgrade completessuccessfully, there will be two new DBMS jobs

 

1.MGMT_CONFIG_JOB, 

 

2.MGMT_STATS_CONFIG_JOB).

 

+ Triedsetting:

 

1)b_acceptLicense=false

2)b_useRegistration=false

 

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

Still getcreated.

 

How can wedisable OCM installation ?

 

SOLUTION

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

Please check the Document369111.5 - 'Oracle
Configuration ManagerRelease 10.3 FAQ

 

The job iscreated 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'.

 

OracleConfiguration 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 installationprocess.

 

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

 

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

 

   

 :$rm     -rfOCM_INSTALL_ROOT/ccr (On UNIX)

 

 

If you want to deinstall OCM,please do followingsteps

 

If database collections were done, log into thedatabase 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<ORACLE_APPS_USER> (if db is used for ebs)

 

* Execute:$ORACLE_HOME/ccr/bin/deployPackages
–d $ORACLE_HOME/ccr/inventory/core.jar (onlinux, 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, ifyou want to prevent OCM being installed?

 

This isFor using OPatch in silent mode, in this way,ocm response file MUST bespecified.

 

Tospecified a response file:

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

 

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

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

registerand configure Oracle Configuration Manager)

 

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

 

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

side willbe required during patch installation.

 

Examplebelow:

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

ORACLE_HOME/OPatch/ocm/bin/ocm.rsp

 

 

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

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

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

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

ORACLE_HOME/ccrfolder for further installation per customer request. Size of 

CCR folderis around 100 MB.

 

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

which willremove 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>

时间: 2025-01-25 08:25:16

How to deinstall OCM (Doc ID 761313.1)的相关文章

How To Manually Remove ORACLE_OCM From Database (Doc ID 859113.1)

 How To Manually Remove ORACLE_OCM From Database (Doc ID 859113.1) To Bottom   Modified:02-Apr-2013 Type:HOWTO         In this Document   Goal Fix References   APPLIES TO: OracleConfiguration Manager - Version 10.2.3 to 10.3.1 Informationin this do

RAC Instance Crash with ORA-600: [Kjbmprlst:Shadow] (Doc ID 740028.1)

 RAC Instance Crash with ORA-600: [Kjbmprlst:Shadow] (Doc ID 740028.1) To Bottom Modified:28-Jul-2010Type:PROBLEM In this Document  Symptoms   Changes   Cause   Solution   References APPLIES TO: Oracle Server - Enterprise Edition - Version: 10.2.0.

DRM - Dynamic Resource management (Doc ID 390483.1)

 DRM - Dynamic Resource management (Doc ID 390483.1) To Bottom Modified:09-Jul-2013Type:BULLETIN In this Document   Purpose   Scope   Details   DRM - Dynamic Resource Mastering APPLIES TO: Oracle Database - Standard Edition - Version 10.1.0.2 to 11

DRM hang causes frequent RAC Instances Reconfiguration (Doc ID 1528362.1)

 DRM hang causes frequent RAC Instances Reconfiguration (Doc ID 1528362.1) To Bottom Modified:27-Mar-2013Type:PROBLEM In this Document   Symptoms   Changes   Cause   Solution   References APPLIES TO: Oracle Database - Enterprise Edition - Version 1

After Applying JDBC Driver Patch (6779501) , Problem still occurs (ORA-28040) (Doc ID 1267169.1)

After Applying JDBC Driver Patch (6779501) , Problem still occurs (ORA-28040) (Doc ID 1267169.1) To Bottom Modified:27-May-2011Type:PROBLEM In this Document  Symptoms   Cause   Solution APPLIES TO: Oracle Containers for J2EE - Version: 10.1.2.0.0 to

Oracle Recommended Patches -- Oracle Database (Doc ID 756671.1)

Oracle Recommended Patches -- Oracle Database Introduction Target Configurations Patch Availability Current Recommended Patches  12.1.0.2 Current Recommended Patches  12.1.0.1 Current Recommended Patches  11.2.0.4 Current Recommended Patches  11.2.0.

Oracle 11.2.0.3 ORA-12012ORA-29280 ORA-06512

  Oracle 11.2.0.3 ORA-12012ORA-29280 ORA-06512   问题现象: db alert日志中出现如下告警信息: Errors in file/app/oracle/diag/rdbms/cctv/CCTV2/trace/CCTV2_j000_1370.trc: ORA-12012: error on auto execute of job"ORACLE_OCM"."MGMT_CONFIG_JOB_2_2" ORA-29

【MOS】PSU等 补丁号码快速参考 (ID 1922396.1、756671.1、2227021.1)

Oracle Database - 数据库补丁使用方法概述 (文档 ID 2227021.1) 类型: 状态: 上次主更新: 上次更新: 语言: BULLETIN PUBLISHED 2017-5-30 2017-5-30 English简体中文日本語??? 适用于: Oracle Database - Personal Edition - 版本 10.2.0.3 和更高版本 Oracle Database - Enterprise Edition - 版本 10.2.0.3 和更高版本 Ora

ASM Diskgroup Creation Failed with &quot;IBM AIX RISC system/6000: 6:no such device or address&quot; [ID 12634

In this Document  Symptoms   Cause   Solution   References Applies to:   Oracle Server - Enterprise Edition - Version: 10.2.0.1 and later   [Release: 10.2 and later ] IBM AIX on POWER Systems (64-bit) Symptoms When attempting to create an ASM(Automat