随笔 - 571  文章 - 4  评论 - 253  阅读 - 72万

DBA_FND Load程式迁移工具介绍和应用(案例)

2014-06-10 Created By BaoXinjian

一、摘要


1. FNDLOAD的作用

则是为了移植EBS数据定义而诞生的工具,有LCT控制文件和LDT设定源数据

2. 存在两种模式: 下载/上传

下载: FNDLOAD apps/apps 0 Y DOWNLOAD afcpprog.lct xxap_prog.ldt PROGRAM APPLICATION_SHORT_NAME=XXAP 

         CONCURRENT_PROGRAM_NAME=XXAP_PROGRAM

上传: FNDLOAD apps/apps 0 Y UPLOAD afcpprog.lct xxap_prog.ldt

3. 常用的FND_LOAD的lct文件

  • afcpprog.lct: 可执行、并发程序、值集、弹性域
  • afcpexec.lct:可执行程序
  • afattach.lct:附件
  • afcpreqg.lct: 请求组
  • afcprset.lct: 请求集
  • afffload.lct: 值集、关键性弹性域和描述性弹性域及相关安全性设置
  • aflvmlu.lct: Lookups
  • afmdmsg.lct: 消息
  • afscprof.lct: profile options 预制文件
  • afscursp.lct: Application users,User Responsibilities,Security groups,Applications,Application Responsibilities and Exclusion Functions
  • afsload.lct: FORM, FUNCTION, MENU, ENTRY, OBJECT, OBJECT_INSTANCE_SET, GRANT
  • affrmcus.lct: Form个性化定义

4. FND Load的结构

5. FND Load的基本语法

FNDLOAD [username/password] 0 Y [mode] [configuration file] [target data file] [object type key] [object Identifier]

例如. 并发程式的语法

(1). download 

FNDLOAD apps/pwd@seeddb 0 Y 

DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct file_name.ldt  

PROGRAM APPLICATION_SHORT_NAME="prod" CONCURRENT_PROGRAM_NAME="concurrent name"   

(2). upload 

FNDLOAD apps/apps@seeddb 0 Y 

UPLOAD $FND_TOP/patch/115/import/afsload.lct file_name.ldt 

FUNCTION FUNC_APP_SHORT_NAME="app_short_name" FUNCTION_NAME="function_name"

 

二、案例


案例:对并发程式Request进行迁移

Step1. 查看需下载的并发程式

Step2. 通过FND Load进行下载,

FNDLOAD存放路径为: /u01/oracle/VIS/apps/apps_st/appl/fnd/12.0.0/bin or $FND_TOP/bin

FNDLOAD apps/apps@VIS 0 Y

DOWNLOAD $FND_TOP/patch/115/import/afcpprog.lct /tmp/bxj/xxbxjpghtmlrp.ldt

PROGRAM APPLICATION_SHORT_NAME="SQLAP" CONCURRENT_PROGRAM_NAME="BXJPGHTMLRP" 

Step3. 查看下载的ldt文件,确认无误

Step4. 通过FNDLoad进行上传

FNDLOAD apps/apps@VIS 0 Y

UPLOAD $FND_TOP/patch/115/import/afcpprog.lct /tmp/bxj/xxbxjpghtmlrp.ldt

FUNCTION FUNC_APP_SHORT_NAME="SQLAP" FUNCTION_NAME="BXJPGHTMLRP"

Step5. 查看上传后的结构,我测试的是同一个instance,将原来的CP从Database中删掉了,条件限制,无法测试不同instance间的迁移

 

Thankns and Regards

posted on   东方瀚海  阅读(1073)  评论(0编辑  收藏  举报
编辑推荐:
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 从 HTTP 原因短语缺失研究 HTTP/2 和 HTTP/3 的设计差异
阅读排行:
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 分享 3 个 .NET 开源的文件压缩处理库,助力快速实现文件压缩解压功能!
· Ollama——大语言模型本地部署的极速利器
· DeepSeek如何颠覆传统软件测试?测试工程师会被淘汰吗?

点击右上角即可分享
微信分享提示