博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Oracle EBS - What happening when executing adcfgclone.pl in DB Tier as well as Apps Tier?
阅读量:4176 次
发布时间:2019-05-26

本文共 3420 字,大约阅读时间需要 11 分钟。

adcfgclone.pl - This script will performs the clone configuration in the target machine.
During this configuration phase will reconfigure the copied instance after gathering the required information.
adchkutl.sh
The first step performed is the OS utility check (adchkutl.sh).
This ensures make, cc, ld and ar executables are available in the PATH.
CloneContext.class
This will create the Target Context file from the values entered on the screen.
All the questions, values entered, results of the port availability check etc will be logged in a log file located in same location as the adcfgclone.pl script:-
dbTier : $ORACLE_HOME/appsutil/clone/bin
appsTier(s) : $COMMON_TOP/clone/bin
Log files for this phase:-
dbTier: $TMP/CloneContext_xxxxxx.log
appsTier(s): $TMP/CloneContext_xxxxxx.log
Both Tiers: $TMP/adclonectx.err
Executing adcfgclone.pl will generate logs as follows:-
     dbTier: $ORACLE_HOME/appsutil/clone/bin/CloneContext_xxxxxx.log
     appsTier(s): $COMMON_TOP/clone/bin/CloneContext_xxxxxx.log
     Both Tiers: $TMP/adclonectx.err
If any of the variables in the Target system Context file appear to be incorrect, then check this log file to see how the incorrect value arose.
ApplyDBTier.class/ApplyAppsTier.class
Once the XML is created, or passed as a parameter on the command line, then the configuration phase begins.
This part will instantiate all the templates created during the preparation phase under:
$ORACLE_HOME/appsutil/template.
Templates to instantiate are located in driver file
$ORACLE_HOME/appsutil/driver/instconf.drv
Log files for this phase:-
dbTier: $ORACLE_HOME/appsutil/log/[Target Context Name]/ApplyDBTier_xxxxxx.log
appsTier(s): $APPL_TOP/admin/[Target Context Name]/log/ApplyAppsTier_xxxxxx.log
Relink the ORACLE_HOME(s)
The executables in the ORACLE_HOME(s) will be relinked during the configuration phase.
The commands used, and results of the relinking will displayed in log file :
$ORACLE_HOME/install/make.log
Create the Control files (DB Tier only)
Once the templates are instantiated, and the ORACLE_HOME is relinked, then the control files can be recreated.
The templates used here are located in
$ORACLE_HOME/appsutil/clone/data/stage/adcrdb.zip
The files in this zip file are used to create a SQL file called
adcrdbclone.sql
This above SQL script is called from a shell script
adcrdb.sh.
Both of the above scripts can be found under
$ORACLE_HOME/appsutil/install/$CONTEXT_NAME
If there are any problems creating the control files, then check the log files :
$ORACLE_HOME/appsutil/log/$CONTEXT_NAME/adcrdb_SID.txt
$ORACLE_HOME/appsutil/log/$CONTEXT_NAME/ApplyDBTier_xxxxxx.log
AutoConfig
The next phase will run AutoConfig using use the usual templates and drivers associated with AutoConfig on db or appsTier.
The following log files will contain the information on the results of running AutoConfig
$ORACLE_HOME/appsutil/log/$CONTEXT_NAME/ApplyDBTier_xxxxxx.log
$APPL_TOP/admin/$CONTEXT_NAME/log/ApplyAppsTier_xxxxxx.log
Update the oraInventory (OracleHomeCloner.class)
Once the Target instance is configured, it will update the Global Inventory will the locations of the new ORACLE_HOMES
Any problems with this step will be detailed in the log files:-
[path to oraInventory]/logs/OracleHomeCloner_MMDDHHMM.log
[path to oraInventory]/logs/apps[Year]-[Mon]-[Day]-[Hour]-[Min]-[Sec]-[AM/PM].log

FROM:

http://oracleajidba.blogspot.com/2010/07/what-happening-when-executing_08.html

转载地址:http://tgvai.baihongyu.com/

你可能感兴趣的文章
MFC 复制文本到剪贴板
查看>>
CImage 缩放图片
查看>>
树莓派3B+和windows主机方便互传的办法 - 安装samba软件
查看>>
Android调试高德SDK,如何获取SHA1?
查看>>
安卓遇到蓝牙设备发送bug,使用lock加condition解决
查看>>
getScanResults一直为空的解决办法
查看>>
树莓派VNC Viewer连接失败 The connection was refused by the computer
查看>>
linux精确分析函数运行时间
查看>>
QtChart x坐标轴是时间坐标
查看>>
QT QByteArray一个不小心的坑 char转int
查看>>
Linux 使用system不安全,有时触发,有时不触发,替代函数如下
查看>>
QT 中文乱码的解决方案
查看>>
linux程序设计 socket本地客户端连本地服务器一直报找不到文件
查看>>
长期运行linux设备,进程意外崩溃解决方案 - 软件看门狗
查看>>
学习别人如何介绍产品
查看>>
mount -t cifs 提示no such device错误
查看>>
VS打开项目卡顿的解决方案,正在扫描#includes 寻找其他文件
查看>>
git安全访问,使用公钥和私钥来访问github
查看>>
git拉下来的项目文件夹没有图标
查看>>
TortoiseGit入门
查看>>