Welcome to Scribd. Sign in or start your free trial to enjoy unlimited e-books, audiobooks & documents.Find out more
Standard view
Full view
of .
Look up keyword
Like this
0 of .
Results for:
No results containing your search query
P. 1
m Apps Clone

m Apps Clone

Ratings: (0)|Views: 85|Likes:
Published by api-3741317
doc on cloning
doc on cloning

More info:

Published by: api-3741317 on Oct 15, 2008
Copyright:Attribution Non-commercial


Read on Scribd mobile: iPhone, iPad and Android.
download as TXT, PDF, TXT or read online from Scribd
See more
See less





vitaliy mogilevskiy (vit100gain@earthlink.net)
manual on creating a clone of oracle apps r11
creating a copy of oracle applications r11
i. database side
ii. applications side
i. database side

1) create oracle user for new database instance, and create .profile
file for that user, make sure to setup all environmental variables
in .profile file which reflect new directory structure and oracle settings
see next step

2) create ofa compliant directory structure for database files and oracle instance
make sure to change permissions on these directories for a new oracle user:
for example:


<-- database
<-- instance
3) create backup control file on the existing database:

sql> alter database backup controlfile to trace;
4) shutdown the existing database and make a backup
5) copy oracle software and database files into new directories
6) modify previously backed up control file to reflect new directory

structure and new database name, here is an example:
startup nomount

create controlfile set database "test01" resetlogs noarchivelog
maxlogfiles 254
maxlogmembers 2
maxdatafiles 1022
maxinstances 1
maxloghistory 680


group 1 (

) size 5m,

group 2 (

) size 5m



;alter database open;
7) modify init<sid_name>.ora file to reflect new database name
and directory structure.

8) rename modified control file to something like cr8_<db_name>.sql
and run it from server manager as new oracle user, make sure
your oracle_sid and oracle_home are correct - this will create a clone
of your existing database

9) shutdown the database make a full backup

10) modify listener.ora and tnsnames.ora files to point to a new database:
note: you can use one listener for all your databases to make your
administration tasks easier, so always modify the original listener.ora file.

ii. application side:

1) create applmgr user for new application instance, and .profile file
for that user, make sure to setup all environmental variables
in .profile file which reflect new directory structure see next step

2) create empty directory for application files make sure to change permissions
on these directories for a new applmgr user for example:
d05/applmgr_p/appl_top/ <--- prod application files

d04/applmgr_t/appl_top/ <--- test application files
3) copy existing directory structure to newly created empty directory
4) modify <sid_name>.env file in $appl_top directory to reflect new directory

structure, also there is an entry like this:

export forms45_mapping
make sure to modify this entry to reflect web_listener_port_number of your
new database

5) modify $oracle_home/network/admin/listener.ora file to reflect new
and new $appl_top directory structure here is an example:

(sid_desc =
(sid_name = oeorpc_prod)
(program = /d05/applmgr_p/r11.01/oe/11.0.28/bin/oeorpc)
(envs='ld_library_path=/d04/app/oracle/product/8.0.5/lib:*********** goes

on and on.....
)(sid_desc =

(sid_name = oeorpc_test01)
(program = /d05/applmgr_t01/r11.01/oe/11.0.28/bin/oeorpc)
(envs='ld_library_path=/d04/app/oracle_t01/product/8.0.5/*********** goes

on and on.....
6) modify $oracle_home/network/admin/tnsnames.ora file to reflect new
entries in listener.ora file for example:
oeorpc_prod =

(description =
(address = (protocol= tcp)(host= rainbow)(port= 1521))
(connect_data = (sid = oeorpc_prod))

oeorpc_test01 =

(description =
(address = (protocol= tcp)(host= rainbow)(port= 1521))
(connect_data = (sid = oeorpc_test01))

7) modify oracle web server configuration files which reflect new directory setup
and new web listeners setup:

Activity (6)

You've already reviewed this. Edit your review.
1 hundred reads
Saif Nemir liked this
shiva liked this
maleem liked this
maleem liked this
naganumam liked this

You're Reading a Free Preview

/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->