Oracle EBS R12 - Clone EBS R12.1.1 on Oracle Linux 64 5.7 to Oracle Linux 64 5.7
基于 Oracle Linux 64 5.7 的 EBS R12.1.1 详细克隆步骤
Section 0: Version
Source: R12.1.1 on Oracle Linux 64 5.7, SID=r12dev, host=r12dev.example.com
Target: Oracle Linux 64 5.7, host=r12uat.example.com (to be cloned: R12.1.1,SID=r12dev)
Target should have all necessary rpm packages installed and
have localhost & hostname with correct IP addresses mapped in /etc/hosts.
Section 1: Prerequisite Tasks
1.1 patch
9239089 R12.AD.B.DELTA.3
9171651:R12.OAM.B 12.1 RAPIDCLONE CONSOLIDATED FIXES JUL/2010
9833058:R12.OAM.B HOT CLONE FAILS WITH ORA-00201 DURING RECOVERY MANAGER
12404574:R12.OAM.B ORACLE_HOME REGISTRATION DOES NOT HAPPEN WITH CENTRAL INVENTORY ON LOZ
12598630:R12.OAM.B R12.1 ONE-OFF FOR S_DB_LISTENER BUG 12362010
1.2 run autoconfig on app tier
$ADMIN_SCRIPTS_HOME/adautocfg.sh
1.3 synchronize appsutil to db tier
run perl $AD_TOP/bin/admkappsutil.pl by ap user,
switch to db user and copy generated appsutil.zip from app tier to $ORACLE_HOME on db tier,
unzip -o appsutil.zip by db user.
1.4 run autoconfig on db tier
$ORACLE_HOME/appsutil/scripts/SID_hostname/adautocfg.sh
1.5 maintain snapshot information
AD Administration(adadmin)->Maintain Snapshot Information->Update Current View Snapshot->Update Complete APPL_TOP
Note: If a snapshot was never created for that APPL_TOP, you will need to create a new one before proceeding with the clone.
Section 2: Cloning Tasks
2.1 Prepare the source system
2.1.1 Prepare the source system database tier for cloning
Log on to the source system as the ORACLE user, and run the following commands:
$ cd [RDBMS ORACLE_HOME]/appsutil/scripts/[CONTEXT_NAME]
$ perl adpreclone.pl dbTier
2.1.2 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 [INST_TOP]/admin/scripts
$ perl adpreclone.pl appsTier
2.2 Copy the source system to the target system
2.2.1 Copy the application tier file system
Log on to the source system application tier nodes as the APPLMGR user and shut down the application tier server processes. Copy the following application tier directories from the source node to the target application tier node:
[APPL_TOP]
[COMMON_TO
基于 Oracle Linux 64 5.7 的 EBS R12.1.1 详细克隆步骤
Section 0: Version
Source: R12.1.1 on Oracle Linux 64 5.7, SID=r12dev, host=r12dev.example.com
Target: Oracle Linux 64 5.7, host=r12uat.example.com (to be cloned: R12.1.1,SID=r12dev)
Target should have all necessary rpm packages installed and
have localhost & hostname with correct IP addresses mapped in /etc/hosts.
Section 1: Prerequisite Tasks
1.1 patch
9239089 R12.AD.B.DELTA.3
9171651:R12.OAM.B 12.1 RAPIDCLONE CONSOLIDATED FIXES JUL/2010
9833058:R12.OAM.B HOT CLONE FAILS WITH ORA-00201 DURING RECOVERY MANAGER
12404574:R12.OAM.B ORACLE_HOME REGISTRATION DOES NOT HAPPEN WITH CENTRAL INVENTORY ON LOZ
12598630:R12.OAM.B R12.1 ONE-OFF FOR S_DB_LISTENER BUG 12362010
1.2 run autoconfig on app tier
$ADMIN_SCRIPTS_HOME/adautocfg.sh
1.3 synchronize appsutil to db tier
run perl $AD_TOP/bin/admkappsutil.pl by ap user,
switch to db user and copy generated appsutil.zip from app tier to $ORACLE_HOME on db tier,
unzip -o appsutil.zip by db user.
1.4 run autoconfig on db tier
$ORACLE_HOME/appsutil/scripts/SID_hostname/adautocfg.sh
1.5 maintain snapshot information
AD Administration(adadmin)->Maintain Snapshot Information->Update Current View Snapshot->Update Complete APPL_TOP
Note: If a snapshot was never created for that APPL_TOP, you will need to create a new one before proceeding with the clone.
Section 2: Cloning Tasks
2.1 Prepare the source system
2.1.1 Prepare the source system database tier for cloning
Log on to the source system as the ORACLE user, and run the following commands:
$ cd [RDBMS ORACLE_HOME]/appsutil/scripts/[CONTEXT_NAME]
$ perl adpreclone.pl dbTier
2.1.2 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 [INST_TOP]/admin/scripts
$ perl adpreclone.pl appsTier
2.2 Copy the source system to the target system
2.2.1 Copy the application tier file system
Log on to the source system application tier nodes as the APPLMGR user and shut down the application tier server processes. Copy the following application tier directories from the source node to the target application tier node:
[APPL_TOP]
[COMMON_TO