You are on page 1of 2

Single Node To Multi Node cloning

Prepare the source system Application tier:


Now log in as the applications user prepare the source like below
$ cd [COMMON_TOP]/admin/scripts/[CONTEXT_NAME]
$ perl adpreclone.pl appltop merge.

Prepare the source system database tier:


Log on to the database tier of the source system as the oracle user and run the following
commands:
$ cd [RDBMS ORACLE_HOME]/appsutil/scripts/[CONTEXT_NAME]
$ perl adpreclone.pl dbTier
With this all the pre clone tasks on the source system have been completed

Create OS user accounts


Create a OS user account for your applications in one node, where u want to copy u r
file system.
$ useradd -g dba -d [home_directory] -p password username
Create a OS user account for your databasetier in another node, wher u want to copy
database file system.

Modify the orainventory to reflect the new location


$ vi /etc/oraInst.loc

Copy the following application tier directories


Copy the following application tier directories from the source system to the remaing
target application tier node, retaining the original directory structure:
[APPL_TOP]
[OA_HTML]
[OA_JAVA]
[COMMON_TOP/util]
[COMMON_TOP/clone>
[806 ORACLE_HOME]
[iAS ORACLE_HOME]
Configure the application tier server nodes
The database and its listener should remain up before executing the next set of
commands.
Configure the application file system by using the adcfg like below
$ cd [COMMON_TOP]/clone/bin
$ perl adcfgclone.pl appsTier
This will prompt you new port pool for applictaion tier services as well as new
APPLTOP, COMMON_TOP, ORACLE_HOME and IAS_TOP

Copy the database tier file system


Log on to the source system as the database user
Copy the database (DBF) files from the source to the target system
Copy the source database ORACLE_HOME to the target system
After this you can now startup the database and applications services on your source
system and release it for use.

Configure the target system database server


Log on to the target system as the database user and type the following commands to
configure and start the database:
$ cd [RDBMS ORACLE_HOME]/appsutil/clone/bin
$ perl adcfgclone.pl dbTier
This will prompt for new ORACLE_SID,ORACLE_HOME,Port Pool,JAVA_TOP and
DATA_TOP give the appropriate values matching your target system

You might also like