ORACLE R12 clone log on liunx
R12 clone log on liunx by saashang 2009/06/30 22:43
r12.0.4
referrence doc :
406982.1 Cloning Oracle Applications Release 12 with Rapid Clone.mht
387859.1 Using AutoConfig to Manage System Configurations in Oracle E-Business Suite Release 12.mht
Section 1: Prerequisites
first read 406982.1 doc and check patch number must patched ex. 7164226
adduser -g dba -p appldev appldev
adduser -g dba -p oradev oradev
su - applmgr
cd $AD_TOP/bin
adadmin
adpatch
start source database and stop app service
su - oracle
cd $ORACLE_HOME/appsutil/scripts
./addlnctl.sh start PROD
./addbctl.sh start PROD
Run AutoConfig on the Application Tiers
sh
su - applmgr
cd $INST_TOP/admin/scripts
./adautocfg.sh
Run AutoConfig on the Database Tier
sh
su - oracle
cd $ORACLE_HOME/appsutil/scripts/PROD_saa
./adautocfg.sh
Section 2: Clone Oracle Applications Release 12
Prepare the Source System
Prepare the source system database node for cloning
Log on to the source system as the ORACLE user. and run the following commands:
cd
perl adpreclone.pl dbTier
su - oracle
cd $ORACLE_HOME/appsutil/scripts/PROD_saa
perl adpreclone.pl dbTier
Prepare the source system application tier for cloning
Log on to the source system as the APPLMGR user, and run the following commands on each node that contains an APPL_TOP:
cd
perl adpreclone.pl appsTier
su - applmgr
cd $INST_TOP/admin/scripts
perl adpreclone.pl appsTier
stop source database
su - oracle
cd $ORACLE_HOME/appsutil/scripts
./addlnctl.sh stop PROD
./addbctl.sh stop immediate PROD
Copy the Source System to the Target System
Copy the application tier file system
cd /d01/oracle/DEV
nohup cp -rf /d01/oracle/PROD/apps ./ &
nohup cp -rf /d01/oracle/PROD/inst ./ &
Copy the database node file system
nohup cp -rf /d01/oracle/PROD/db ./ &
nohup chown -r appldev.dba apps &
nohup chown -r appldev.dba inst &
nohup chown -r oradev.dba inst &
Configure the Target System
Configure the target system database server
Log on to the target system as the ORACLE user and enter the following commands to configure and start the database:
cd
perl adcfgclone.pl dbTier
su - oradev
cd /d01/oracle/DEV/db/tech_st/10.2.0/appsutil/clone/bin
perl adcfgclone.pl dbTier
[oradev@saa bin]$ perl adcfgclone.pl dbTier
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Oracle Applications Rapid Clone
Version 12.0.0
adcfgclone Version 120.20.12000000.11
Enter the APPS password : apps
Running:
/d01/oracle/DEV/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -cp /d01/oracle/DEV/db/tech_st/10.2.0/appsutil/clone/jlib/java:/d01/oracle/DEV/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/d01/oracle/DEV/db/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /d01/oracle/DEV/db/tech_st/10.2.0/appsutil/clone/bin/../context/db/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_11448.lst -stage /d01/oracle/DEV/db/tech_st/10.2.0/appsutil/clone 2> /tmp/adcfgclone_11448.err; echo $? > /tmp/adcfgclone_11448.res
Log file located at /d01/oracle/DEV/db/tech_st/10.2.0/appsutil/clone/bin/CloneContext_02201737.log
Provide the values required for creation of the new Database Context file.
Target System Hostname (virtual or normal) [saa] : saa
Target Instance is RAC (y/n) [n] : n
Target System Database SID : DEV
Target System Base Directory : /d01/oracle/DEV/db/tech_st/10.2.0
Target System utl_file_dir Directory List : /usr/temp
Number of DATA_TOP's on the Target System [1] :
Target System DATA_TOP Directory 1 [/d01/oracle/PROD/db/apps_st/data] :/d01/oracle/DEV/db/apps_st/data
Target System RDBMS ORACLE_HOME Directory [/d01/oracle/DEV/db/tech_st/10.2.0/db/tech_st/10.2.0] : /d01/oracle/DEV/db/tech_st/10.2.0
Configure the target system application tier server nodes
Log on to the target system as the APPLMGR user and type the following commands:
cd
perl adcfgclone.pl appsTier
cd /d01/oracle/DEV/apps/apps_st/comn/clone/bin
perl adcfgclone.pl appsTier
[appldev@saa bin]$ perl adcfgclone.pl appsTier
Copyright (c) 2002 Oracle Corporation
Redwood Shores, California, USA
Oracle Applications Rapid Clone
Version 12.0.0
adcfgclone Version 120.20.12000000.12
Enter the APPS password : apps
Running:
/d01/oracle/DEV/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -cp /d01/oracle/DEV/apps/apps_st/comn/clone/jlib/java:/d01/oracle/DEV/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/d01/oracle/DEV/apps/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /d01/oracle/DEV/apps/apps_st/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_11604.lst -stage /d01/oracle/DEV/apps/apps_st/comn/clone 2> /tmp/adcfgclone_11604.err; echo $? > /tmp/adcfgclone_11604.res
Log file located at /d01/oracle/DEV/apps/apps_st/comn/clone/bin/CloneContext_0220173928.log
Provide the values required for creation of the new APPL_TOP Context file.
Target System Hostname (virtual or normal) [saa] :
Target System Database SID : DEV
Target System Database Server Node [saa] :
Target System Database Domain Name [shang.com.cn] :
Target System Base Directory :/d01/oracle/DEV
Target System Tools ORACLE_HOME Directory [/d01/oracle/DEV/apps/tech_st/10.1.2] :
Target System Web ORACLE_HOME Directory [/d01/oracle/DEV/apps/tech_st/10.1.3] :
Target System APPL_TOP Directory [/d01/oracle/DEV/apps/apps_st/appl] :
Target System COMMON_TOP Directory [/d01/oracle/DEV/apps/apps_st/comn] :
Target System Instance Home Directory [/d01/oracle/DEV/inst] :
Target System Root Service [enabled] :
Target System Web Entry Point Services [enabled] :
Target System Web Application Services [enabled] :
Target System Batch Processing Services [enabled] :
[@more@]來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/9976/viewspace-1023656/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle clone databaseOracleDatabase
- Oracle EBS R12客戶端一種FRM-92050的產生原因Oracle客戶端
- Oracle listener log配置與管理Oracle
- Oracle listener log 日誌分析方法Oracle
- Liunx運維(九)-Liunx程式管理命令運維
- Oracle redo解析之-1、oracle redo log結構計算Oracle Redo
- Oracle 12.2 新特性:線上PDB資料庫克隆(Pluggable Hot Clone)Oracle資料庫
- Liunx筆記筆記
- 【liunx】telnet命令
- sourcetree github clone 報錯 hg clone fails with “repository not found“GithubAI
- Liunx運維(十二)-Liunx系統常用內建命令運維
- (十三).clone方法
- WSL git cloneGit
- Oracle清理trace、alert、aud、listener.log檔案Oracle
- Oracle RAC+DG 調整redo/standby log fileOracle
- Liunx Composer 安裝
- Liunx 安裝 GoGo
- 1.3.2.1.2.3 Refreshable Clone PDBs
- SSH 方式 Git cloneGit
- Linux Clone函式Linux函式
- js2-cloneJS
- ORACLE 閃回檢視v$flashback_database_log/statOracleDatabase
- Log And Trc Location n In Oracle 19c RAC-20220118Oracle
- 【TUNE_ORACLE】等待事件之日誌等待“log file sync”Oracle事件
- Liunx常用命令
- liunx磁碟掛載操作
- liunx的基本命令
- 運用Log和Trace檔案排除Oracle Net問題Oracle
- Oracle設定日誌引數-ALTER DATABASE ADD SUPPLEMENTAL LOG DATA;OracleDatabase
- 【TUNE_ORACLE】等待事件之日誌等待“log file parallel write”Oracle事件Parallel
- github clone 指定的tagGithub
- js deep clone 深克隆JS
- 【LOG】Oracle資料庫清理日誌、跟蹤檔案利器Oracle資料庫
- Liunx命令符(面試題)面試題
- Liunx配置靜態ip VMware
- Git clone 的小問題Git
- Rust中的Copy和CloneRust
- jQuery原始碼解析之clone()jQuery原始碼
- git clone倉儲問題Git