NOTE: The following Clone approach is applicable for the APPLICATION version from R12.2.1 To R12.2.4
ENVIRONMENT:-
Source:-
BASE_PATH=/s01/oracle/R122
RUN_FILE_SYSTEM=/s01/oracle/R122/fs1
PATCH_FILE_SYSTEM=/s01/oracle/R122/fs2
Non-Editioned File System=/s01/oracle/R122/fs_ne
Target:-
BASE_PATH=/t01/oracle/R122
RUN_FILE_SYSTEM=/t01/oracle/R122/fs1
PATCH_FILE_SYSTEM=/t01/oracle/R122/fs2
Non-Editioned File System=/t01/oracle/R122/fs_ne
STEP1: Prepare Source Node for cloning
Run adpreclone.pl from RUN File System
cd /s01/oracle/R122/fs1/inst/apps/SI_source_appl/admin/scripts
[applsource@source_appl scripts]$ perl adpreclone.pl appsTier
STEP2: Copy the Source to Target
Choose only EBSapps from RUN File System for copy
[applsource@source_appl fs1]$ scp -rf EBSapps appltarget@<target-ip-address>:<target-server-path>
Prepare Target Server
mkdir /t01/oracle/R122/fs1
mkdir /t01/oracle/R122/fs2
mkdir /t01/oracle/R122/fs_ne
STEP3: After finishing Copy Configure Target File System
Go to Clone directory
cd /t01/oracle/R122/fs1/EBSapps/clone/bin
[appltarget@target_appl bin$ perl adcfgclone.pl appsTier
STEP4:Start application and run adpreclone on TARGET RUN File System
Run the environment of Target RUN File System application tier
cd $ADMIN_SCRIPTS_HOME
sh adstrtal.sh apps/<apps-password>
[appltarget@target_appl scripts$ perl adpreclone.pl appsTier
STEP5:Shutdown application on TARGET RUN File System
cd $ADMIN_SCRIPTS_HOME
sh adstpall.sh apps/<apps-password>
STEP6:Copy Target RUN File System to Target Patch File System
cp -rf /t01/oracle/R122/fs1/* /t01/oracle/R122/fs2/
UNSET the application Enviroment.Previously we have executed env.
Before we run adcfgclone.pl dont run any env's, Directly go to /u01/oracle/R122/fs2/EBSapps/comn/clone/bin/ and execute adcfgclone.pl
STEP7:Once Finished copying START CONFIGURING TARGET PATCH FILESYSTEM
[appltarget@target_appl bin$ perl adcfgclone.pl appsTier
STEP8:Once we are done with everything. Start the application Tier using adstral.sh
This time set the env to RUN File System
. /t01/oracle/R122/EBSapps.env run
cd $ADMIN_SCRIPTS_HOME
adstral.sh apps/<apps-password>
Thanks & Regards
Venkatesh RK