1,Ensure oracle database & application all normal;
2,Log in system as database user, direct to : $ORACLE_HOME/appstuil/scripts/$CONTEXT_NAME,then run: perl adpreclone.pl dbTier;
3, Ensure clone is success. Check the logfile.
4, Log in system as apps user,direct to $COMMON_TOP/admin/scripts/$CONTEXT_NAME, than run :perl adpreclone.pl appsTier;
5, Ensure clone is success, double check the logfile;
6, Stop the apps&DB, copy all file to target env. I recommend that first we make a bag used tar, and then gzip to target.
6 , change the ower for file which had copied.eg: chown apptorcli:dbporcli applcsf applmgr oracle scripts.(if there don't have the user for test, you should first create the db user and apps user)
7, Lon in system as DB user, direct to : $ORACLE_HOME/appsutil/clone/bin, then run perl adcfgclone.pl dbTier;
8, Ensure clone success, you can test wether database is normal;
9, Log in system as apps user,direct to $COMMON_TOP/clone/bin, then run: perl adcfgclone.pl appsTier;
10, check the log.
ok,clone has completed.