Cloning Steps on the Target node after running adpreclone.pl on source node (db Tier & AppsTier)
i.e
adpreclone.pl dbTier
adpreclone.pl appsTier
scp -r erpdbtuat@server01:/erpbintuat/erptuat/ /u01
or
scp -r erpdbtuat@DBserver01:/erpbintuat/erptuat/prod_apps.tar.gz /u01
(Note : rename the base directory from erpuat to erptest i.e to instance name you are copying)
cd /u0l/ERPTEST/db/11.2.0.4/appsutil/clone/bin
perl adcfgclone.pl dbTechStack
sqlplus "/as sysdba"
startup nomount pfile='$ORACLE_HOME/dbs/initERPTEST.ora'
copy the the rman backups to the destination filesystem (if its in accessible shared location then no need to copy)
rman auxiliary /
run {
allocate AUXILIARY channel c0 type disk;
allocate AUXILIARY channel c1 type disk;
allocate AUXILIARY channel c2 type disk;
allocate AUXILIARY channel c3 type disk;
allocate AUXILIARY channel c4 type disk;
allocate AUXILIARY channel c5 type disk;
allocate AUXILIARY channel c6 type disk;
allocate AUXILIARY channel c7 type disk;
duplicate target database to "ERPTEST" BACKUP LOCATION '/stage/backup/' NOFILENAMECHECK;
RELEASE CHANNEL c0;
RELEASE CHANNEL c1;
RELEASE CHANNEL c2;
RELEASE CHANNEL c3;
RELEASE CHANNEL c4;
RELEASE CHANNEL c5;
RELEASE CHANNEL c6;
RELEASE CHANNEL c7;
}
Take care of post db activities like password resets ,re-pointing db links and purging tables can be done now else these can also be done after Apps Tier Cloning Completes
Run Autoconfig $ORACLE_HOME/appsutil/scripts/instance_name/adautocfg.sh
==================================================================
Apps Tier
scp -r erpappstuat@appsserver01:/erpbintuat/erptuat/ /u01
or
untar tar -zxvf prod_apps.tar.gz (remove the Apps Tier Dir Structure under /u01)
cd /u02/ERPTEST/apps/apps_st/comn/clone/bin
perl adcfgclone.pl appsTier
(Note: Rename Instance specific Directory mv erptuat_server01 ERPTEST_server02)
cd $IAS_ORACLE_HOME/certs/Apache/cwallet.sso .
mv cwallet.sso cwallet.sso_bkp
Perform post Clone activities like updating the workflow notificaon mailer address to Test/clone environment as per your requirement (you could leave it blank as well)
============================================
Trouble Shooting Login Page issues (When Login page goes Blank after cloning)
rm -rf $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/persistence/*
rm -rf $ORA_CONFIG_HOME/10.1.3/j2ee/oafm/persistence/*
rm -rf $ORA_CONFIG_HOME/10.1.3/j2ee/forms/persistence/*
perl $FND_TOP/patch/115/bin/ojspCompile.pl --compile --flush -p 2
No comments:
Post a Comment