Hello every one,
Some time ago I have asked if it possible to automate an Apps cloning process completely in otn.oracle.com forum. http://forums.oracle.com/forums/thread.jspa?threadID=385590&tstart=0
Today I have found complete answer to that question (see bellow). I think this will be useful for you to know as it was for me.
Yury
QUESTION: ========================================== Hi List,
Just wonder if somebody from you fully automated Apps env. cloning procedure?
We have managed to automate DB part of cloning and most of post clone tasks. But one step we still doing manually: perl $COMMON_TOP/clone/bin/adcfgclone.pl appsTier and answering to all question this tool asking.
We would like fully automate the cloning procedure to eliminate humane errors. Any experience/suggestions on that?
Thank you in advance, Yury ==========================================
ANSWER: ================================== Hi Ed,
Tak a look on the following doc in Metalink: Note:230672.1 Cloning Oracle Applications Release 11i with Rapid Clone June 2006 -- Section 4: Advanced Cloning Options ---- Refreshing a target system Oracle Describes how you can refresh an Apps environment without promting all those questions.
In case it doesn't help you can use the following command to clone an environment in silent mode: perl $COMMON_TOP/clone/bin/adclone.pl java=$COMMON_TOP/clone/bin/../jre mode=apply stage=$COMMON_TOP/clone/bin/.. component=appsTier method=CUSTOM appctxtg=$APPL_TOP/admin/<envname>_<hostname>.xml showProgress contextValidated=true pwd=apps
In order to generate a Context file you can use ether adclonectx.pl or the following: -- To generate Contex file you can use the following command $COMMON_TOP/clone/bin/../jre/bin/java -classpath $COMMON_TOP/clone/bin/../jlib/java:$COMMON_TOP/clone/bin/../jlib/xmlparserv2.zip:$COMMON_TOP/clone/bin/../jlib/classes12.zip:$COMMON_TOP/clone/bin/../jre/lib/rt.jar oracle.apps.ad.context.CloneContext -e $COMMON_TOP/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile.lst -stage $COMMON_TOP/clone/bin/../ -passwd <apps_password> -perl "$IAS_ORACLE_HOME/iAS/Apache/perl/bin/perl" -perl5lib /app/uat/uatora/iAS/Apache/perl/lib/5.00503:/app/uat/uatora/iAS/Apache/perl/lib/site_perl/5.005:/app/uat/uatappl/au/11.5.0/perl /tmp/adpairsfile.lst -- file content s_appsuser=<appl_user> s_appsgroup=<group>
Yury, Check this out: A. //www.freelists.org/archives/ora-apps-dba/05-2006/msg00000.html B. - Users can subscribe to the list by sending email to ora-apps-dba-request_at_freelists.org with 'subscribe' in the Subject field C. //www.freelists.org/archives/ora-apps-dba/06-2006/threads.html //www.freelists.org/archives/ora-apps-dba/05-2006/threads.html ==================================
-- Yury +44 7738 013090 (GMT) ============================================ http://otn.oracle.com/ocm/jvelikanovs.html