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 EBS R12 clone文件已整理Oracle
- Rapid clone issue on R12API
- Oracle EBS log file (R12.1.3) - R12安裝log及其他logOracle
- Oracle clone databaseOracleDatabase
- 克隆(clone) ORACLE HOMEOracle
- Oracle軟體cloneOracle
- Clone (克隆) ORACLE HOMEOracle
- oracle clone oracle_home 方法Oracle
- 克隆 clone Oracle 軟體Oracle
- BES R12 clone error INSTE8_APPLY and INSTE8ErrorAPP
- Oracle 12c Refreshable CloneOracle
- Oracle EBS R12 "OutOfMemoryError"OracleError
- EBS R12中設定JDK GC LOGJDKGC
- Oracle EBS11i Clone 文件Oracle
- Oracle Doc list involved with cloneOracle
- clone oracle資料庫的方法Oracle資料庫
- 談談Oracle EBS R12Oracle
- 介紹Oracle ebs R12中的$APPLCSF和$APPLLOG目錄作用OracleAPP
- clone oracle 12c pluggable databasesOracleDatabase
- oracle EBS R12 FORM 編譯OracleORM編譯
- Liunx運維(九)-Liunx程式管理命令運維
- Just rapid clone data on DB tier in Oracle EBSAPIOracle
- Oracle EBS R12 常用命令Oracle
- EBS Services in Oracle Apps R12OracleAPP
- Liunx(CentOS7)中介軟體Weblogic的安裝與部署CentOSWeb
- PHP中 new clone __clone區別PHP
- Oracle 12Cr2 Using CloneDB to clone a databaseOracleDatabase
- Liunx筆記筆記
- EBS Services in Oracle Apps R12 - NoteOracleAPP
- Tuning the Oracle E-Business Suite R12OracleUI
- Oracle EBS R12系統管理員文件Oracle
- jQuery clone()jQuery
- Liunx運維(十二)-Liunx系統常用內建命令運維
- Rman 實現oracle11g資料庫cloneOracle資料庫
- Oracle EBS R12 install patch文件已整理Oracle
- oracle ebs r12 use loadrunner load dataOracle
- clone database using RMAN without new incarnation (with NORESETLOGS)_1608236.1Database
- Liunx 安裝 GoGo