參考文檔
Cloning Oracle Applications Release 12 with Rapid Clone (文檔 ID 406982.1)
Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12 (文檔 ID 387859.1)
環境如下:
| HOST | HOSTNAME | IP | OS |
| SOURCE | EBS | 192.168.3.194 | OEL5.6 64Bit |
| TARGET | EBST | 192.168.3.200 | OEL5.6 64Bit |
一.????目標端的準備工作
可以參照:????Oracle Enterprise Linux 5.6安裝Oracle E-Business Suite R12
完成其中的如下步驟:
2.???創建相關用戶和目錄
4.???配置Yum源
6.???檢查SELinux狀態
7.???關閉iptables
8.???調整主機名
9.???修改內核參數
10.??修改用戶資源限制
12.??安裝必須的RPM包
13.??檢查軟件需求
14.??安裝補丁
15.??重啟服務器
二.????源端準備工作
1.???Apply?the?latest?AD?patch#????PatchID:?????9239089#????打補丁時保證數據庫打開,數據庫監聽打開,應用層服務關閉.之前由于做冷備份,我的數據庫和應用均處于關閉狀態,使用如下命令打開數據庫和監聽[oracle@EBS?~]$?cd?$ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME
[oracle@EBS?EBS_ebs]$?./addbctl.sh?start
[oracle@EBS?EBS_ebs]$?./addlnctl.sh?start?ebs使用adadmin工具打開維護模式Change?Maintenance?Mode?→?Enable?Maintenance?Mode解壓補丁包unzip?p9239089_R12.AD.B_R12_LINUX.zip進入解壓目錄cd?9239089/#?????應用該補丁需要完成如下前置任務[applmgr@EBS?9239089]$?cp?admin/adgrants.sql?/tmp;chmod?g+rwx?/tmp/adgrants.sql切換到oracle用戶[oracle@EBS?~]$?mkdir?$ORACLE_HOME/appsutil/admin
[oracle@EBS?~]$?cp?/tmp/adgrants.sql?$ORACLE_HOME/appsutil/admin
[oracle@EBS?~]$?sqlplus?/?as?sysdba
SQL>?@$ORACLE_HOME/appsutil/admin/adgrants.sql?apps完成后切換回applmgr用戶使用adpatch應用補丁92390892.???Apply?the?latest?AutoConfig?template?patch#????PatchID:?????8919489使用adpatch應用以下補丁p8919489_R12.TXK.B_R12_GENERIC.zip
p8919489_R12.TXK.B_R12_zhs.zip3.???Apply?the?latest?Rapid?Clone?patches使用adpatch應用以下補丁p9171651_R12.OAM.B_R12_GENERIC.zip
p9833058_R12.OAM.B_R12_GENERIC.zip
p12404574_R12.OAM.B_R12_GENERIC.zip
p12598630_R12.OAM.B_R12_GENERIC.zip
p15969020_R12.OAM.B_R12_GENERIC.zip
p16958896_R12.OAM.B_R12_GENERIC.zip
p13942692_R12.OAM.B_R12_GENERIC.zip
p18991480_R12.OAM.B_R12_GENERIC.zip
p17889841_R12.OAM.B_R12_GENERIC.zip
p18835102_R12.OAM.B_R12_GENERIC.zip4.?????Run?AutoConfig?on?the?application?tiers[applmgr@EBS?~]$?$INST_TOP/admin/scripts/adautocfg.sh5.?????Synchronize?appsutil?on?the?database?tier?nodes[applmgr@EBS?~]$?perl?$AD_TOP/bin/admkappsutil.pl
[applmgr@EBS?~]$?cp?$INST_TOP/admin/out/appsutil.zip?/tmp?;?chmod?g+rwx?/tmp/appsutil.zip切換到oracle用戶[oracle@EBS?~]$?cd?$ORACLE_HOME
[oracle@EBS?11.1.0]$?cp?/tmp/appsutil.zip?.
[oracle@EBS?11.1.0]$?unzip?-o?appsutil.zip6.?????Run?AutoConfig?on?the?database?tier[oracle@EBS?~]$?$ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME/adautocfg.sh7.?????Run?AutoConfig?on?the?application?tiers[applmgr@EBS?~]$?$INST_TOP/admin/scripts/adautocfg.sh8.?????Maintain?Snapshot?InformationadadminMaintain?Applications?Files?menu?→?Maintain?snapshot?information?→?Update?current?view?snapshot?→?Update?Complete?APPL_TOP
三.????開始克隆
1.?????Prepare?the?source?system?database?tier?for?cloning[oracle@EBS?~]$?cd?$ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME
[oracle@EBS?EBS_ebs]$?perl?adpreclone.pl?dbTier2.?????Prepare?the?source?system?application?tier?for?cloning[applmgr@EBS?~]$?cd?$INST_TOP/admin/scripts
[applmgr@EBS?scripts]$?perl?adpreclone.pl?appsTier3.?????退出維護模式adadmin
Change?Maintenance?Mode?→?Disable?Maintenance?Mode4.?????關閉數據庫及監聽[oracle@EBS?~]$?cd?$ORACLE_HOME/appsutil/scripts/$CONTEXT_NAME
[oracle@EBS?EBS_ebs]$?./addbctl.sh?stop?;?./addlnctl.sh?stop?ebs5.?????Copy?the?source?system?to?the?target?system#????將以下目錄及文件傳送到目標端
#????我采用的是打包壓縮?→?傳送?→?解壓的方式APP層:$APPL_TOP
$COMMON_TOP
$ORACLE_HOME
$IAS_ORACLE_HOMEDB層:$ORACLE_HOME以及所有的數據文件,控制文件,在線日志(*.dbf).6.?????Configure?the?target?system?database?server[oracle@EBST?bin]$?pwd
/u01/app/oracle/EBST/db/tech_st/11.1.0/appsutil/clone/bin
[oracle@EBST?bin]$?perl?adcfgclone.pl?dbTier7.?????Configure?the?target?system?application?tier?server?nodes[applmgr@EBST?bin]$?pwd
/u01/app/oracle/EBST/apps/apps_st/comn/clone/bin
[applmgr@EBST?bin]$?perl?adcfgclone.pl?appsTier
四.????克隆后任務
這部分任務視環境而定,可以參考Cloning Oracle Applications Release 12 with Rapid Clone (文檔 ID 406982.1)?Section 3: Finishing Tasks
1.????Update?profile?optionsRapid?Clone?updates?only?site?level?profile?options.?If?any?other?profile?options?are?set?to?instance?specific?values,?you?must?update?them?manually.2.????Update?printer?settingsIf?the?new?cloned?system?needs?to?utilize?different?printers,?update?the?target?system?with?the?new?printer?settings?now.3.????Update?Workflow?configuration?settingsCloning?an?Oracle?Applications?instance?will?not?update?the?host?and?instance-specific?information?used?by?Oracle?Workflow.?Review?the?tables?and?columns?listed?in?Table?4?to?check?for?any?instance-specific?data?in?the?Workflow?configuration?on?the?target?system.4.????Verify?the?APPLCSF?variable?settingSource?the?APPS?environment?and?review?that?the?variable?APPLCSF?(identifying?the?top-level?directory?for?concurrent?manager?log?and?output?files)?points?to?a?suitable?directory.?To?modify?it,?change?the?value?of?the?s_applcsf?variable?in?the?context?file?and?then?run?AutoConfig.5.????Update?the?SESSION_COOKIE_DOMAIN?value?in?ICX_PARAMETERSIf?the?target?system?is?in?a?different?domain?name?than?the?source?system?and?SESSION_COOKIE_DOMAIN?was?not?null?in?the?source?system,?update?that?value?to?reflect?the?new?domain?name.6.????Re-Implement?SSL?and?SSO?configurationIf?the?Source?System?was?SSL?or?SSO?enabled,?and?the?Target?is?wished?to?be?SSL?or?SSO?enabled,?then?reconfigure?the?Target?by?following?the?SSL/SSO?documentation.?Otherwise,?if?the?Target?is?wished?to?be?non-SSL?or?non-SSO,?then?follow?the?same?SSL/SSO?documentation?to?undo?the?SSL/SSO?setup.
The End
轉載于:https://blog.51cto.com/xin23/1576040
總結
以上是生活随笔為你收集整理的Oracle E-Business Suite 12.1.1 Rapid Clone的全部內容,希望文章能夠幫你解決所遇到的問題。
如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。