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

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

adpreclone.pl - This is the preparation phase, will collects information about the source system, creates a cloning stage area, and generates templates and drivers. All of these are to reconfigure the instance on a Target machine.
Preclone will do the following:
Convert Symbolic links
All symbolic links pointing to a static path will be converted into relative paths
Create templates
Any files under the $ORACLE_HOME that contain system specific information, will be replicated and converted into a template. These templates are placed into the $ORACLE_HOME/appsutil/template directory.
Create driver(s)
A driver file, relating to these new templates is created called instconf.drv. This contains a list of all the templates and their locations, and the destination configuration files that these templates will create.
This driver file is called instconf.drv and is placed into directory
$ORACLE_HOME/appsutil/driver
Create Stage area
A clone stage is created containing the required java code and scripts to reconfigure the instace on the Target machine
Rapid Clone stage area:
dbTier : $ORACLE_HOME/appsutil/clone
appsTier(s) - $COMMON_TOP/clone
The stage area(s) consist of the following directories:-
 
jre used to run the java code on the Target machine.
 
bin contains the RapidClone scripts that can be run on the Target machine:-
  •    adclone.pl is the main cloning script
  •    adcfgclone.pl is used to configure the Target system, this calls adclone.pl
  •    adclonectx.pl is used to clone a Source XML file manually
  •    adaddnode.pl is used to add a new node to the Patch History tables
  •    adchkutl.sh checks for existence of require O/S utils, cc, make, ar and ld
 
jlib contains all the Rapid Clone java code, jdbc libraries etc
 
context contains templates used for a Target XML file
 
data (Database Tier only) contains the driver file, and templates used to generate the control file SQL script
 
adcrdb.zip contains the template and list of datafiles on the Source
 
addbhomsrc.xml contains information on the datafile mount points of the Source
 
appl (Applications Tier only) this is used when merging appltops, i.e Multi-node to Single node cloning
Executing adpreclone.pl will create a log file:-
Rapid Clone:
dbTier : $ORACLE_HOME/appsutil/log/$CONTEXT_NAME/StageDBTier_xxxxxx.log
appsTier : $APPL_TOP/admin/$CONTEXT_NAME/log/StageAppsTier_xxxxxx.log
Once this adpreclone.pl step has been completed successfully, all the java .class files under the following directories should be identical to those under $JAVA_TOP/oracle :
RDBMS $ORACLE_HOME/appsutil/java/oracle
RDBMS $ORACLE_HOME/appsutil/clone/jlib/java/oracle
$COMMON_TOP/clone/jlib/java/oracle

FROM:

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

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

你可能感兴趣的文章
ssh-增删查改
查看>>
java ArrayList 解析
查看>>
如何通过Git命令窗口将本地工程提交至GitHub
查看>>
关于前端文件上传后将文件保存至服务器路径存储在数据库并在相应页面展示的总结
查看>>
飞凌ok6410 QT程序放到板子上触摸屏无效
查看>>
Ubuntu下安装SDL,OK6410 luvcview源码在PC上跑的依赖库
查看>>
OK6410 usb摄像头获取640*480分辨率图像
查看>>
YUV422转灰度图数组转opencv Mat
查看>>
灰度图数组转QImage
查看>>
opencv交叉编译PC端和arm板子之前切换 基于QT pro修改
查看>>
MFC 播放音频文件WAV
查看>>
讲下我对交叉编译理解-QT篇-一
查看>>
讲下我对交叉编译理解-QT篇-二
查看>>
vsftpd 报错refusing to run with writable root inside chroot
查看>>
vsftpd配置
查看>>
树莓派交叉编译opencv4.10容易出错的几个地方
查看>>
Android默认语言修改
查看>>
Ubuntu18上交叉编译树莓派3B+ opencv4.10 (非常详细) 第一章-交叉编译
查看>>
Ubuntu18上交叉编译树莓派3B+ opencv4.10 (非常详细) 第三章-ubuntu上传编译库文件到板子
查看>>
Ubuntu18上交叉编译树莓派3B+ opencv4.10 (非常详细) 第二章-依赖库
查看>>