In this Document
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
+ Tried setting:
But the two jobs, as well as the ORACLE_OCM user and it's objects
Still get created.
How can we disable OCM installation ?
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
MGMT_STATS_CONFIG_JOB:- This is an OCM Statistics collection job created in ocmjb10.sql by running
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
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.
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.
来自 “ ITPUB博客 ” ，链接：http://blog.itpub.net/17252115/viewspace-1108635/，如需转载，请注明出处，否则将追究法律责任。