12.2.4 Cloning Steps
12.2.4 Cloning Steps
5:
--------------- ---------------
Source :
->Run adpreclone.pl in appsTier (cd $INST_TOP/admin/Scripts)
->Tar the EBSapps directory in RUN file system and it should contain appl_top,
comn_top, 10.1.2 home directories.
cd /u02/oracle/ERPPROD/fs2
cd /BKP/RMAN_BKP/PROD
cd /BKP/RMAN_BKP/PROD
cd /u02/oracle/ERPPROD/fs2
cd /Media/clone_db/
TARGET
------------
cd /home/oratst
mkdir clone_bkp_220717
cp /u001/oratst/TST/11.2.0/dbs/initTST.ora /home/oratst/clone_bkp_220717
cp /u001/oratst/TST/11.2.0/dbs/spfileTST.ora /home/oratst/clone_bkp_220717
cp /u001/oratst/TST/11.2.0/TST_qa.env /home/oratst/clone_bkp_220717
cp -rf /u001/oratst/TST/11.2.0/network/admin/TST_qa /home/oratst/clone_bkp_220717
cp /u001/oratst/TST/11.2.0/appsutil/TST_qa.xml /home/oratst/clone_bkp_220717
db: oratst
apps: appltst
cd /u02/appltst/TST/
rm -rf *
mkdir fs1 fs2 fs_ne
rm -rf /u001/oratst/TST/data/*
rm -rf /u001/oratst/TST/redo/*
rm -rf /u001/oratst/TST/11.2.0
remove inventory :
rm -rf /u001/oratst/TST/oraInventory
vi /etc/oraInst.loc
cd /u001/oratst/TST/
rm 11.2.0_220717_db.tar.Z
cd /u02/appltst/TST/fs2
TYPE :1
Provide the values required for creation of the new Database Context file.
Do you want the target system to have the same port values as the source system
(y/n) [y] ? : n
*.LOG_FILE_NAME_CONVERT='/u01/data/ERPTEST/data','/u01/db/ERPDEV/data'
*.DB_FILE_NAME_CONVERT='/u01/data/ERPTEST/data','/u01/db/ERPDEV/data'
System altered.
System altered.
System altered.
System altered.
SQL>
Application:
cd /u02/appltst/TST/fs2/EBSAPPS/comn/clone/bin
export TIMEDPROCESS_TIMEOUT=-1
export CONFIG_JVM_ARGS="-Xms1024m -Xmx2048m"
POST STEPS:
-------------------
change passwords:
system: uatsys
sys: uatsys
apps: uatapp
sysadmin: uatadmin
weblogic password:uatweblogic123
Weblogic console
Lock and Edit -> Services -> Data Sources -> EBSDataSource -> Connection Pool ->
Change apps password here -> Save -> Active changes
UPDATE fnd_user
SET EMAIL_ADDRESS = '[email protected]'
where EMAIL_ADDRESS is not null;
commit;
UPDATE WF_LOCAL_ROLES
SET EMAIL_ADDRESS = '[email protected]'
where EMAIL_ADDRESS is not null;
commit;
4. Verify the Profiles for Cyber Source and verify the URL references to
current Cloning instance
ICX: Oracle Payment Server URL
IBY: ECAPP URL
7. de-register SSO
8. change profiles .