DB Tier Cloning
1. Prepare source node for cloning
Apps Tier Cloning
1. Create following directories on target host
1. Prepare source node for cloning
cd /u01/PROD/fs1/inst/apps/PROD_oracle/admin/scripts perl adpreclone.pl appsTier
cd /u01/PROD/db/11.2.0/appsutil/scripts/PROD_oracle perl adpreclone.pl dbTier2. Shutdown Application and DB
cd /u01/PROD/fs1/inst/apps/PROD_oracle/admin/scripts ./adstpall.sh
sqlplus / as sysdba shutdown immediate;3. Copy db directory from source to target
scp -r /u01/PROD/db <targetIP>:/u01/DEV/4. Set permission for db filesystem
chmod -R 775 /u01/DEV/db chown -R oracle:dba u01/DEV/db5. Switch user who own the db binary file system
su - oracle6. Configure target DB Tier
cd /u01/DEV/db/11.2.0/appsutil/clone/bin perl adcfgclone.pl dbTier
Apps Tier Cloning
1. Create following directories on target host
mkdir /u01/DEV/fs1 -p mkdir /u01/DEV/fs2 -p mkdir /u01/DEV/fs_ne -p2. Copy EBSapps directory from source to target (no need to copy FMW_Home and inst Directories)
scp -r /u01/PROD/fs1/EBSapps <targetIP>:/u01/DEV/fs13. Set permission for Apps file system
chmod -R 775 /u01/DEV/fs1 chown -R oracle:dba u01/DEV/fs14. Switch user who own the db binary file system
su - oracle
cd /u01/DEV/fs1/EBSapps/comn/clone/bin perl adcfgclone.pl appsTier6. After startup target application server, prepare system for patch file system
cd /u01/DEV/fs1/inst/apps/PROD_oracle/admin/scripts perl adpreclone.pl appsTier7. Shutdown application Server
cd /u01/DEV/fs1/inst/apps/PROD_oracle/admin/scripts ./adstpall.sh8. Copy EBSapps directory from run file system to patch file system on target host
cp -r /u01/DEV/fs1/EBSapps /u01/DEV/fs29. Configure target patch file system
cd /u01/DEV/fs2/EBSapps/comn/clone/bin perl adcfgclone.pl appsTier10. If all goes well, then start application Server
cd /u01/DEV/fs1/inst/apps/PROD_oracle/admin/scripts ./adstrtal.sh
Nice Documents
ReplyDeletevery useful doc
ReplyDeleteexplanation helpful. Hope this may also useful here:
ReplyDeleteR12.2 Cloning Steps
Thanks
Simple and useful doc
ReplyDelete