Вы находитесь на странице: 1из 2

Single Node cloning on Single machine R12

Single Node cloning on Single machine


1> database and application should be in up in running..
******************** Source
2> set the env file of database.
Location (/r12/oracle/PROD/db/tech_st/11.1.0)
. PROD_imran.env

Database Tier ****************************

3> Go to (/r12/oracle/PROD/db/tech_st/11.1.0/appsutil/scripts/PROD_imran)
4> Run adpreclone.pl
$ perl adpreclone.pl dbTier
1) Enter the APPS User Password:
log file location at the time of adpreclone on dbTier = Log file located at
/u01/oracle/PROD/db/tech_st/11.1.0/appsutil/log/PROD_imran/StageDBTi
er_11261235.log

******************** Source Application Tier ************************


5> Go to
Location -(/r12/oracle/PROD/apps/apps_st/appl).
6> set the env file of apps
. APPSPROD_imran.env
7> run (cd $ADMIN_SCRIPTS_HOME)
8> run adpreclone.pl ((/r12/oracle/PROD/inst/apps/PROD_imran/admin/scripts))
$ perl adpreclone appsTier
log file location at the time of adpreclone on dbTier = Log file located at
/u01/oracle/PROD/inst/apps/PROD_imran/admin/log/StageAppsTier_11261301.log
9> shut down the apps Tier
./adstpall.sh apps/appspassword

******************** Source Database Tier ************************


10> shut down the listner (location(/r12/oracle/PROD/db/tech_st/11.1.0/
./addlnctl.sh stop (name_of_db)

appsutil/scripts/PROD_imran))

11> shut down the db


./addbctl.sh stop

******************** Target Source ************************


12> copy the apps and db directory to the target/different directory
13> provide the ownership to the Target directory

******************** Target Database Tier ************************


Configure the target system database server.
14> Go to the bin location of db
(location (/r12/oracle/PROD/db/tech_st/11.1.0/appsutil/clone/bin)).
15> Run adcfgclone.pl

shaikh.imranhafiz@gmail.com

Shaikh Imran

Single Node cloning on Single machine R12


$ perl adcfgclone.pl dbTier
---- provide password for apps
-----Target Hostname (virtual or normal) [targethost]=
Target instance is RAC =
---- provide the db name for target.
---- provide the ORACLE_HOME directory path.
-----Target system utl_file-directory = ANS(/tmp)
---- provide the target DATA_top path
---- provide the port pool number.

******************** Target Application Tier ************************


Configure the target system application tier server nodes.
16> Go to application common top
Location -(/r12/oracle/PROD/apps/apps_st/comn/clone/bin)
17> run adcfgclone.pl
$ per adcfgclone.pl appsTier
--- provide password for apps.
Target system HOST name
--- provide the SID for target system
Target Database server node
Target Base Directory = (/clone/db/tech_st/11.1.0
Target System tools ORACLE_HOOME = (/clone/apps/tech_st/10.1.3)
--- provide the APPL_TOP mount point for target = (/clone/apps/apps_st/appl)
--- provide the COMMON_TOP directory path for target = (/clone/apps/apps_st/comm)
Target system Instance Home Directory = (/clone/db/tech_st/11.1.0/ins)
Target System Root Service [enable] =
Target System web Entry point Services (enable) =
Target System Web Application Service (enable) =
Target System Batch Processing Service (enable) =
Do you want to preserve the display [imran0:0] (y / n) = y
Target system port pool = (NEW PORT)
--- provide the ORACLE_HOME direcory path for target
--- provide the port pool number for target
--- provide the applptmp value for target node (ans-/usr/tmp)
LOGFILE for cloning on APPS TIER
= ( /clone/apps/apps_st/comm/clone/bin/CloneContext_1127145811.log )

18> CLONING done successfully.


***********************************************************************************

shaikh.imranhafiz@gmail.com

Shaikh Imran

Вам также может понравиться