Академический Документы
Профессиональный Документы
Культура Документы
(Multi-node to Multi-node)
(Base Note: 230672.1, FAQ Note: 216664.1)
All the pre-requisites including required patches have been taken care of on the source
systems itself so we dont need to do that again.
Multi-node to Multi-node Cloning
Use Rapid Clone to create template files for cloning on the source system. After the source
system is copied to the target, Rapid Clone updates these templates to contain the new target
system configuration settings. Rapid Clone will not change the source system configuration.
There are three phases to the cloning process:
1. Prepare the Source System
Execute the following commands to prepare the source system for cloning.
a. Start the EMC disk cloning process
Start the disk clone using EMC clone to bring it to a consistent state. Talk to the
EMC administrator to start this process.
b. Prepare the source system database tier for cloning
Log on to the source system as the ORACLE user, source the environment and
run the following commands:
cd <RDBMS ORACLE_HOME>/appsutil/scripts/<CONTEXT_NAME>
perl adpreclone.pl dbTier
c. Prepare the source system application tier for cloning
Log on to the source system as the APPLMGR user, source the environment and
run the following commands on each node that contains an APPL_TOP:
cd <COMMON_TOP>/admin/scripts/<CONTEXT_NAME>
perl adpreclone.pl appsTier
2. Copy the Source System to the Target System
Copy the application tier file system from the source Applications system to the target
node by executing the following steps in the order listed. Ensure the application tier files
copied to the target system are owned by the target APPLMGR user, and that the
database tier files are owned by the ORACLE user.
a. Copy the application tier file system
Log on to the source system application tier nodes as the APPLMGR user.
Zip the file system in /u01/app directory using the tar command:
cd /u01/app
tar czvf erpappl-dev.tgz erpapp*
tar czvf erpcomn-dev.tgz erpcom*
tar czvf erpora-dev.tgz erpor*
OR
Copy the tar files to the target server node in the /u01/app directory.
The following are the directories suggested by Oracle to be copied but we
will copy the entire apps file system, as mentioned above:
<APPL_TOP>
<OA_HTML>
<OA_JAVA>
<OA_JRE_TOP>
<COMMON_TOP>/util
<COMMON_TOP>/clone
<COMMON_TOP>/_pages (when this directory exists)
<806 ORACLE_HOME>
<iAS ORACLE_HOME>
b. Copy the database tier file system
Log on to the source system database node as the ORACLE user.
Once the EMC disks are consistent, contact the EMC administrator to
fracture the EMC clone to separate the disks
Copy the /etc/oraInst.loc file from the source system into the same
location on this host.
Note: Unix/Linux users, make sure that the softlinks are preserved when copying.
Login as root on the target system and reinstate the crs services for this
new target system.
cd $ORACLE_HOME/bin
./localconfig add reset
Login to the target system as the ORACLE user, source the environment
file that has been copied from the source system and export the
ORACLE_SID to the ASM instance.
Next, Login to SQL*Plus and startup the ASM instance since the init and
spfile for the ASM systems have been copied over from the source
system.
Log on to the target system as the ORACLE user and type the following
commands to configure and start the database:
cd <RDBMS ORACLE_HOME>/appsutil/clone/bin
perl adcfgclone.pl dbTier
c. Add the entry for ASM listener to the ifile pointed by tnsnames.ora
Add the ASM listener to the <context_name>_ifile.ora file.
e.g.
LISTENER_+ASM =
(ADDRESS = (PROTOCOL = TCP)(Host = ocrp.circoncorp.com)(Port = 1524))
d. Recreate the env file link
Remove the link file to the env directory (DEV10.env). Add a soft link for the new
environment file.
cd /u01/app/oracle
rm DEV10.env
ln 10.2EE/CRP_ocrp.env CRP10.env
e. Configure the target system application tier server nodes
Log on to the target system as the APPLMGR user and type the following
commands:
cd <COMMON_TOP>/clone/bin
perl adcfgclone.pl appsTier
Login to the DB Node (DB, Admin, Concurrent Manager) as the applmgr user and run
the appsTier merge from the erpcomn/admin/scripts/<context_name> directory. This will
be the primary node where all the services will be moved.
cd /erpcomn/admin/scripts/<context_name>
perl adpreclone.sh appsTier merge
Login to the Forms/Web Node (Forms, Web) as the applmgr user and run the appltop
merge from the erpcomn/admin/scripts/<context_name> directory. This is the secondary
node.
cd /erpcomn/admin/scripts/<context_name>
perl adpreclone.sh appltop merge
For the Apps Tier, login as the APPLMGR user to each source node (Forms/Web) and
recursively copy:
directory <COMMON_TOP>/clone/appl
- to
directory <COMMMON_TOP>/clone/appl on Node A
(or the copy of Node A).
Final tasks
o Log in to the target system application tier node as the APPLMGR user.
o Run the following tasks in adadmin for all products:
generate JAR files
generate message files
relink executables
copy files to destination
o Rename the custom..env files for application tier to use the new instance naming
convention
Column Name
WF_NOTIFICATION_ATTRIBUTES TEXT_VALUE
WF_ITEM_ATTRIBUTE_VALUES TEXT_VALUE
WF_SYSTEMS
GUID
WF_SYSTEMS
NAME
WF_AGENTS
ADDRESS