February 18, 2009

OCM with Oracle Applications R12 in Disconnected Mode

Software Configuration Manager (SCM) now known as Oracle Configuration Manager(OCM) came across dramatic changes from its introduction.

During intial release of Oracle Applications R12.0 OCM is incorprated with Autoconfig and introduced some new autoconfig variables.

Now accroding to Note:727157.1, no more OCM Configuration or OCM management via Autoconfig.

Most of the customers are worried to configure OCM in connected mode, due to security calls.
It requires internet connectivity (with or without proxy) to the OCM installed node.
Connected mode uploads the collected data to metalink via https protocol.

Below are the steps to configure OCM With Oracle Applications R12 in disconnected mode.
In Disconnected mode the Apps DBA or Applications Administrator, has to manually upload the collected data(ocmconfig.jar) by OCM to metalink.

Refer 763142.1 to know the procedure of manually uploading collected data (ocmconfig.jar)

What we are going to do is, remove existing OCM setup/stage files, and install the newly downloaded OCM version

1. Remove Metalink, CSI related information from Context XML file
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

abc@abc.com
IN


16144040
[to]







Verify the same in DB Tier Nodes
++++++++++++++++++++++++
cat $ORACLE_HOME/appsutil/$TWO_TASK.xml | grep -i proxy
cat $ORACLE_HOME/appsutil/$TWO_TASK.xml | grep -i metalink
cat $ORACLE_HOME/appsutil/$TWO_TASK.xml | grep -i country
cat $ORACLE_HOME/appsutil/$TWO_TASK.xml | grep -i systemcsi


Verify the same in Apps Tier Nodes
+++++++++++++++++++++++++
cat $INST_TOP/appl/admin/$TWO_TASK.xml | grep -i proxy
cat $INST_TOP/appl/admin/$TWO_TASK.xml | grep -i metalink
cat $INST_TOP/appl/admin/$TWO_TASK.xml | grep -i country
cat $INST_TOP/appl/admin/$TWO_TASK.xml | grep -i systemcsi

Database Oracle Home OCM Installation
+++++++++++++++++++++++++++++++++++++
echo $ORACLE_HOME
$ORACLE_HOME/ccr/bin/emCCR stop
rm -Rf $ORACLE_HOME/ccr_stage
rm -Rf $ORACLE_HOME/ccr

unzip ocm-Production-AIX-ppc.zip -d $ORACLE_HOME

ls -rlt $ORACLE_HOME/ccr
ls -rlt $ORACLE_HOME/ccr/bin
$ORACLE_HOME/ccr/bin/setupCCR -s -d 123456 abc@abc.com IN

Database Post-Install Steps
+++++++++++++++++++++++++++
$ORACLE_HOME/ccr/admin/scripts/installCCRSQL.sh collectconfig -s $ORACLE_SID -r sys

If using EBusiness Suite
++++++++++++++++++++++++
$ORACLE_HOME/ccr/admin/scripts/installCCRSQL.sh ebs_collectconfig -u apps -w apps

If using Enterprise Manager 10g
+++++++++++++++++++++++++++++++
$ORACLE_HOME/ccr/admin/scripts/installCCRSQL.sh collectemrep -e

$ORACLE_HOME/ccr/bin/emCCR status
$ORACLE_HOME/ccr/bin/emCCR collect

ls -rlt $ORACLE_HOME/ccr/hosts/`hostname`/state/upload/ocmconfig.jar

Applications 10.1.2 Oracle Home OCM Installation
+++++++++++++++++++++++++++++++++++++++++++++++++

echo $ORACLE_HOME
rm -Rf $ORACLE_HOME/ccr_stage

ls -lrt $INST_TOP/ocm
rm -Rf $INST_TOP/ocm

unzip ocm-Production-AIX-ppc.zip -d $ORACLE_HOME

ls -rlt $ORACLE_HOME/ccr
ls -rlt $ORACLE_HOME/ccr/bin
$ORACLE_HOME/ccr/bin/setupCCR -s -d 12345 abc@abc.com IN

$ORACLE_HOME/ccr/bin/emCCR status
$ORACLE_HOME/ccr/bin/emCCR collect

ls -rlt $INST_TOP/ora/10.1.2/ccr/state/upload/ocmconfig.jar



Applications 10.1.3 IAS Home OCM Installation
+++++++++++++++++++++++++++++++++++++++++++++

ORACLE_CONFIG_HOME=$IAS_ORACLE_HOME
export ORACLE_CONFIG_HOME

echo $IAS_ORACLE_HOME
rm -Rf $IAS_ORACLE_HOME/ccr_stage

unzip ocm-Production-AIX-ppc.zip -d $IAS_ORACLE_HOME

ls -rlt $IAS_ORACLE_HOME/ccr
ls -rlt $IAS_ORACLE_HOME/ccr/bin
$IAS_ORACLE_HOME/ccr/bin/setupCCR -s -d 12345 abc@abc.com IN

$IAS_ORACLE_HOME/ccr/bin/emCCR status
$IAS_ORACLE_HOME/ccr/bin/emCCR collect

ls -rlt $IAS_ORACLE_HOME/ccr/state/upload



References:
++++++++
727157.1 Upgrading OCM and Switching to Native Integration with Oracle E-Business Suite Release 12
763142.1 How to upload the collection file ocmconfig.jar to My Oracle Support for Oracle Configuration Manager (OCM) running in Disconnected Mode.
250434.1 BULLETIN: Learn More About My Oracle Support Configuration Manager