Sie sind auf Seite 1von 3

M ULTI N ODE TO S INGLE N ODE C LONING

Maintain snapshot information


Log in as the applications user on each application tier node and run 'Maintain Snapshot
Information' by using adadmin.

Merge existing APPL_TOPs


Log in to the primary node of your application tier as the application user user and run:
$ cd [COMMON_TOP]/admin/scripts/[CONTEXT_NAME]
$ perl adpreclone.pl appsTier merge

This will prompt you with option to merge secondary nodes


Now log in as the applications user to each of the secondary application tier nodes being
merged and run:
$ 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
$ useradd -g dba -d [home_directory] -p password username
Similarly create a OS user account for your database.

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 primary node of your source
system to the 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]

Copy the required files for merging


Log in as the applications user to each of the secondary source nodes and recursively
copy:
directory [COMMON_TOP]/clone/appl
- to -
directory [COMMMON_TOP]/clone/appl on the target system node
Before proceeding with the next steps you must shutdown your oracle applications
services and the database on the source system.

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
Once successful this should start your database and listener.
Configure the application tier server nodes
The database and its listener should remain up before executing the next set of
commands.
Log in to the merged APPL_TOP node as the applications user and execute the
following commands:
$ 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
Successful completion of this task will bring up your application tier services on the
target or the cloned node.

Post Clone Tasks


Log in to the target system application tier node as the APPLMGR user.
Run the following tasks in adadmin for all products:
o generate JAR files
o generate message files
o relink executables
o copy files to destination

Das könnte Ihnen auch gefallen