Wednesday, August 16, 2017

How To Collect Log Files from Cloning in 12.2




How To Collect Log Files from Cloning in 12.2

Oracle Applications Manager - Version 12.2 to 12.2.5 [Release 12.2Cloud to 12.2]
SOLUTION

The cloning process in R12.2 creates log files in several locations:





1. OraInventory logs:

/oraInventory/logs





2. PRECLONE logs from the source server:

adpreclone logs database tier:

$ORACLE_HOME/appsutil/log//StageDBTier_.log

adpreclone logs Applications tier:

$INST_TOP/admin/log/clone/StageAppsTier_.log






3. ADCFGCLONE logs from target server:

adcfgclone logs database tier:

$ORACLE_HOME/appsutil/clone/bin/CloneContext_.log

This log shows the entries selected during execution of adcfgclone command

$ORACLE_HOME/appsutil/log//ApplyDBTier_.log

This log shows the results for the execution of the clone

adcfgclone logs Applications tier:

$COMMON_TOP/clone/bin/CloneContext_.log

This log shows the entries selected during execution of adcfgclone command

$COMMON_TOP/clone/FMW/logs/prereqcheck.log

This log shows the pre-requisites for FMW installation.

$INST_TOP/admin/log/clone_/ApplyAppsTier_.log

This log shows the results for the execution of the clone.

There are some other logs under $INST_TOP/admin/log/clone, so it is OK to request customer to upload a zip file with this directory for review.

If providing for support, compress and upload the zip of the directory $APPLRGF/TXK/ohsCloneLog ( this captures cloning failures for OHS ).







4. To obtain all the logs via zip command:

The 12.2 Clone log can also be collected using following zip method:

On the target database tier, issue the following zip command:

$ zip -r /tmp/$TWO_TASK'_''uname -n'_'date +%m%d%y.%H%M'_DB_Clone_logs.zip \
$ORACLE_HOME/appsutil/clone/bin/CloneContext_*.log \
$ORACLE_HOME/appsutil/log/$CONTEXT_NAME/NetServiceHandler.log \
$ORACLE_HOME/appsutil/log/$CONTEXT_NAME/ApplyDBTier_*.log

On the target application tier, issue the following zip command:

$ zip -r /tmp/$TWO_TASK'_''uname -n'_'date +%m%d%y.%H%M'_APP_Clone_logs.zip \
$INST_TOP/admin/log/* \
$INST_TOP/admin/oraInventory/logs/* \
$APPLRGF/TXK/ohsCloneLog/* \
$COMMON_TOP/clone/bin/CloneContext_*.log

Upload the Clone_logs.zip files generated in steps 2 and 3. The files will be in the /tmp directory.

2 comments:

  1. This comment has been removed by a blog administrator.

    ReplyDelete
  2. This comment has been removed by a blog administrator.

    ReplyDelete