Oracle/Database/Oracle OCM

Oracle Configuration Manager (OCM)

 * Oracle Configuration Manager Installation - https://support.oracle.com/CSP/ui/flash.html#tab=Collector(page=Collector&id=)


 * Oracle Configuration Manager Quick Start Guide - https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=728988.5#OCM1
 * Quick Start Guide (PDF) - http://download.oracle.com/docs/cd/E18041_01/doc.103/e18037.pdf


 * My Oracle Support Getting Started Guide - https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=735496.5
 * Getting Started Guide (PDF) - https://support.oracle.com/CSP/main/article?cmd=show&type=ATT&id=735496.5:MOS_GETTING_STARTED


 * Oracle Configuration Manager Documentation - http://www.oracle.com/technetwork/documentation/ocm-092152.html

Check:
 * Navigate to the ccr/bin directory and locate the file emCCR. If emCCR exists, OCM has been configured.
 * If emCCR is not present under the ccr/bin directory, OCM has been installed but not configured.
 * If the ccr directory does not exist, Oracle Configuration Manager has not been installed with your Oracle product release.

Usage: $ORACLE_HOME/ccr/bin/setupCCR.exe
 * 1) NOTE: will ask for Oracle support account and password

$ORACLE_HOME/ccr/bin/emCCR status # service status $ORACLE_HOME/ccr/bin/emCCR start  # start service $ORACLE_HOME/ccr/bin/emCCR stop   # stop service $ORACLE_HOME/ccr/bin/emCCR test   # test each connection $ORACLE_HOME/ccr/bin/emCCR collect # manually collect and upload $ORACLE_HOME/ccr/bin/emCCR upload # manually upload last collection (again?)

DOWNLOAD:

Login to My Oracle Support and click the Collector tab. The Install Configuration Manager page is displayed. Select the appropriate platform on which Oracle Configuration Manager is to be installed and click Download.

WHAT:

The configuration manager centralizes configuration information based on your Oracle technology stack. Oracle uses secure access to your configuration information to help you achieve problem avoidance, faster problem resolution, better system stability, and easier management of your Oracle systems.

WHY:

Faster problem resolution from integrating your configuration information into the service request flow providing Oracle Support the information they need real-time to resolve your problem quickly and efficiently.

Improved systems stability delivered through proactive advice & health checks driven by Oracle best practices and personalized to your system configuration.

Simplified configuration management from a single, comprehensive and personalized dashboard of configurations, projects and inventory.

Get Results. Other customers have reported 40% faster issue resolution, a 30% reduction in the time it takes to log a Service Request, and 25% problem avoidance with Alerts and Health Checks.

HOW:

Installed on your host, the configuration manager continuously tracks key Oracle and system details, providing essential data to help you manage and service your configurations. Collected data is sent via HTTPS to Oracle Support, which maintains a secure view of each configuration. My Oracle Support then provides system health checks, patch advice, and other valuable information about your Oracle products.

Installation
NOTE: This works on databases and clients.

Download OCM client:
 * Oracle Configuration Manager Installation - https://support.oracle.com/CSP/ui/flash.html#tab=Collector(page=Collector&id=)
 * p5567658_1034_MSWIN-x86-64.zip

Extract to $ORACLE_HOME

Go to $ORACLE_HOME\ccr\bin

Execute: setupCCR.exe 17881244 kenneth@oeey.com

Offline configuration: setupCCR.exe -d

OCM setup error
Error: OCM is not configured for this host or ORACLE_CONFIG_HOME. Please configure OCM first.

1) Installed Oracle DB 11.0.2 Standard Edition - Selected Server Class - DB Base: C:\oracle - DB Home: C:\oracle\dbhome

2) Trying to register OCM with oracle fails with: "OCM is not configured for this host or ORACLE_CONFIG_HOME. Please configure OCM first."

Tried the following:

1) no options C:\oracle\dbhome\ccr\bin>setupCCR.exe Provide your email address to be informed of security issues, install and initiate Oracle Configuration Manager. Easier for you if you use your My Oracle Support Email address/User Name. Visit http://www.oracle.com/support/policies.html for details. Email address/User Name: kenneth@oeey.com Provide your My Oracle Support password to receive security updates via your My Oracle Support account. Password (optional): OCM is not configured for this host or ORACLE_CONFIG_HOME. Please configure OCM first.

2) all options: C:\oracle\dbhome\ccr\bin>setupCCR.exe 17881244 kenneth@oeey.com US OCM is not configured for this host or ORACLE_CONFIG_HOME. Please configure OCM first.

3) offline option: C:\oracle\dbhome\ccr\bin>setupCCR.exe -d OCM is not configured for this host or ORACLE_CONFIG_HOME. Please configure OCM first.

4) setting ORACLE_CONFIG_HOME C:\oracle\dbhome>set ORACLE_CONFIG_HOME=c:\oracle\dbhome C:\oracle\dbhome>ccr\bin\configCCR.exe 17881244 kenneth@oeey.com US OCM is not configured for this host or ORACLE_CONFIG_HOME. Please configure OCM first.

5) and finally, downloading OCM manually:
 * 1) downloaded "p5567658_1034_MSWIN-x86-64.zip"
 * 2) renmaed c:\oracle\dbhome\ccr
 * 3) extracted p5567658_1034_MSWIN-x86-64.zip to c:\oracle\dbhome

C:\oracle\dbhome\ccr\bin>setupCCR.exe 17881244 kenneth@oeey.com

ERROR: setupCCR.exe - System Error

The program can't start because MSVCR71.dll is missing from your computer. Try reinstalling the program to fix this problem.


 * 1) copied msvcr71.dll from previous ccr/bin folder:

C:\oracle\dbhome\ccr\bin>setupCCR.exe 17881244 kenneth@oeey.com

Deploying core - Version 10.3.4.0.0 Deploying engines - Version 10.2.7.1.0 Deploying metricdata - Version 10.2.4.0.3 Deploying scripts - Version 10.3.4.0.0
 * Installing base package **

Input Error: Can not find script file "c:\oracle\dbhome\ccr\lib\emCCRCollector.v bs".
 * Getting package updates from ContentServer **

C:\oracle\dbhome>ccr\bin\configCCR.exe 17881244 kenneth@oeey.com US OCM is not configured for this host or ORACLE_CONFIG_HOME. Please configure OCM first.