You are on page 1of 9

$ADMIN_SCRIPTS_HOME /u01/oracle/ERPQA/inst/apps/ORAERP_srvfinancialqa/admin/scripts/

export NLS_LANG=American_America.WE8ISO8859P1 export NLS_LANG=American_America.US7ASCII cd /u01/oracle/ERPQA/db/tech_st/10.2.0/appsutil/clone/bin cd /u01/oracle/ERPDES/db/tech_st/10.2.0/appsutil/clone/bin cd /u01/oracle/ERPAPD/db/tech_st/10.2.0/appsutil/clone/bin cd /u02/oradata/ERPQA/db/tech_st/10.2.0/appsutil/clone/bin [ororaerp@srverpora1 ~]$ echo $SHELL /bin/bash [ororaerp@srverpora1 ~]$ cd ${ORACLE_HOME}/appsutil/clone/bin [ororaerp@srverpora1 bin]$ ls adcfgclone.pl adclonectx.pl CloneContext_07211749.log adchkutl.sh adclone.pl [ororaerp@srverpora1 bin]$ perl adcfgclone.pl dbTier Copyright (c) 2002 Oracle Corporation Redwood Shores, California, USA Oracle Applications Rapid Clone Version 12.0.0 adcfgclone Version 120.20.12000000.11 Enter the APPS password : Running: /u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -cp /u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/clone/jlib/java:/u01/oracle/O RAERP/db/tech_st/10.2.0/appsutil/clone/jlib/xmlparserv2.jar:/u01/oracle/ORAERP/d b/tech_st/10.2.0/appsutil/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneCon text -e /u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/clone/bin/../context/db/CT XORIG.xml -validate -pairsfile /tmp/adpairsfile_20945.lst -stage /u01/oracle/ORA ERP/db/tech_st/10.2.0/appsutil/clone 2> /tmp/adcfgclone_20945.err; echo $? > /t mp/adcfgclone_20945.res Log file located at /u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/clone/bin/Clon eContext_08041557.log Provide the values required for creation of the new Database Context file. Target System Hostname (virtual or normal) [srverpora1] : Target Instance is RAC (y/n) [n] :

Target System Database SID : ORAERP Target System Base Directory : /u01/oracle Target System utl_file_dir Directory List : /u01/oracle/ORAERP/tmp Number of DATA_TOP's on the Target System [1] : /u01/oracle/ERPAPD/db/apps_st/data /u01/oracle/ERPQA/db/apps_st/data /u01/oracle/ORAERP/db/apps_st/data Target System DATA_TOP Directory 1 [/u01/oracle/ORAERP/db/apps_st/data] : /u01/o racle/ERPQA/db/apps_st/data Target System RDBMS ORACLE_HOME Directory [/u01/oracle/db/tech_st/10.2.0] : /u01 /oracle/ERPQA/db/tech_st/10.2.0 Do you want to preserve the Display [null] (y/n) ? : y Do you want the the target system to have the same port values as the source sys tem (y/n) [y] ? : Complete port information available at /u01/oracle/ORAERP/db/tech_st/10.2.0/apps util/clone/bin/out/ORAERP_srverpora1/portpool.lst Creating the new Database Context file from : /u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/template/adxdbctx.tmp The new database context file has been created : /u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/ORAERP_srverpora1.xml Log file located at /u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/clone/bin/Clon eContext_08041557.log Check Clone Context logfile /u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/clone/ bin/CloneContext_08041557.log for details. Running Rapid Clone with command: perl /u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/u0 1/oracle/ORAERP/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/u0 1/oracle/ORAERP/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/ORAERP_srverpora1.xml show Progress contextValidated=true Running: perl /u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/clone/bin/adclone.pl java=/u0 1/oracle/ORAERP/db/tech_st/10.2.0/appsutil/clone/bin/../jre mode=apply stage=/u0 1/oracle/ORAERP/db/tech_st/10.2.0/appsutil/clone component=dbTier method=CUSTOM dbctxtg=/u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/ORAERP_srverpora1.xml show Progress contextValidated=true APPS Password : Beginning database tier Apply - Mon Aug 4 16:00:42 2008 /u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/u01/oracle/ORAERP/db/tech _st/10.2.0/oui -classpath /u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/clone/jl

ib/xmlparserv2.jar:/u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/clone/jlib/ojdb c14.jar:/u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/clone/jlib/java:/u01/oracl e/ORAERP/db/tech_st/10.2.0/appsutil/clone/jlib/oui/OraInstaller.jar:/u01/oracle/ ORAERP/db/tech_st/10.2.0/appsutil/clone/jlib/oui/ewt3.jar:/u01/oracle/ORAERP/db/ tech_st/10.2.0/appsutil/clone/jlib/oui/share.jar:/u01/oracle/ORAERP/db/tech_st/1 0.2.0/appsutil/clone/jlib/oui/srvm.jar:/u01/oracle/ORAERP/db/tech_st/10.2.0/apps util/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyDBTier -e /u01/oracle/ORA ERP/db/tech_st/10.2.0/appsutil/ORAERP_srverpora1.xml -stage /u01/oracle/ORAERP/d b/tech_st/10.2.0/appsutil/clone -showProgress APPS Password : Log file located at /u01/oracle/ORAERP/db/tech_st/10.2.0/appsuti l/log/ORAERP_srverpora1/ApplyDBTier_08041600.log \ 15% completed Completed Apply... Mon Aug 4 16:09:19 2008 Starting database listener for ORAERP: Running: /u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/scripts/ORAERP_srverpora1/addlnctl .sh start ORAERP You are running addlnctl.sh version 120.1 Logfile: /u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/log/ORAERP_srverpora1/add lnctl.txt Starting listener process ORAERP ... Listener ORAERP has already been started.

addlnctl.sh: exiting with status 0 [ororaerp@srverpora1 bin]$ -------------------------------------------------------------[root@srverp1 rapidwiz]# su - aporaerp ksh: /u01/oracle/ORAERP/apps/apps_st/appl/APPSORAERP_srverp1.env[31]: .: /u01/or acle/ORAERP/inst/apps/ORAERP_srverp1/ora/10.1.2/ORAERP_srverp1.env: not found $ pwd /u01/oracle/ORAERP $ cd apps/apps_st/comn $ cd clone/bin $ ls adaddnode.pl adcfgclone.pl adchkutl.sh adclonectx.pl adclone.pl $ pwd cd /u01/oracle/ORAERP/apps/apps_st/comn/clone/bin cd /u02/oracle/ERPDES/apps/apps_st/comn/clone/bin cd /u02/oracle/ERPAPD/apps/apps_st/comn/clone/bin cd /u01/oracle/ERPAPD/apps/apps_st/comn/clone/bin cd /u01/oracle/ERPQA/apps/apps_st/comn/clone/bin

$ perl adcfgclone.pl appsTier Copyright (c) 2002 Oracle Corporation Redwood Shores, California, USA Oracle Applications Rapid Clone Version 12.0.0 adcfgclone Version 120.20.12000000.11 Enter the APPS password : Running: /u01/oracle/ORAERP/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -cp /u01 /oracle/ORAERP/apps/apps_st/comn/clone/jlib/java:/u01/oracle/ORAERP/apps/apps_st /comn/clone/jlib/xmlparserv2.jar:/u01/oracle/ORAERP/apps/apps_st/comn/clone/jlib /ojdbc14.jar oracle.apps.ad.context.CloneContext -e /u01/oracle/ORAERP/apps/apps _st/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairs file_7721.lst -stage /u01/oracle/ORAERP/apps/apps_st/comn/clone 2> /tmp/adcfgcl one_7721.err; echo $? > /tmp/adcfgclone_7721.res Log file located at /u01/oracle/ORAERP/apps/apps_st/comn/clone/bin/CloneContext_ 08050928.log Provide the values required for creation of the new APPL_TOP Context file. Target System Hostname (virtual or normal) [srverp1] : Target System Database SID : ORAERP Target System Database Server Node [srverp1] : srverpora1 Target System Base Directory : /u01/oracle/ORAERP Target System Tools ORACLE_HOME Directory [/u01/oracle/ORAERP/apps/tech_st/10.1. 2] : Target System Web ORACLE_HOME Directory [/u01/oracle/ORAERP/apps/tech_st/10.1.3] : Target System APPL_TOP Directory [/u01/oracle/ORAERP/apps/apps_st/appl] : Target System COMMON_TOP Directory [/u01/oracle/ORAERP/apps/apps_st/comn] : Target System Instance Home Directory [/u01/oracle/ORAERP/inst] : Target System Root Service [enabled] : Target System Web Entry Point Services [enabled] : Target System Web Application Services [enabled] : Target System Batch Processing Services [enabled] : Target System Other Services [disabled] :

Do you want to preserve the Display [srvfinancialdes:0.0] (y/n) ? : n Target System Display [srverp1:0.0] : Do you want the the target system to have the same port values as the source sys tem (y/n) [y] ? : Complete port information available at /u01/oracle/ORAERP/apps/apps_st/comn/clon e/bin/out/ORAERP_srverp1/portpool.lst UTL_FILE_DIR on database tier consists of the following directories. 1. /usr/tmp 2. /u01/oracle/ORAERP/tmp 3. /u01/oracle/ORAERP/db/tech_st/10.2.0/appsutil/outbound/ORAERP_srverpora1 4. /usr/tmp Choose a value which will be set as APPLPTMP value on the target node [1] : 2 Creating the new APPL_TOP Context file from : /u01/oracle/ORAERP/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tmp The new APPL_TOP context file has been created : /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/appl/admin/ORAERP_srverp1.xml Log file located at /u01/oracle/ORAERP/apps/apps_st/comn/clone/bin/CloneContext_ 08050928.log Check Clone Context logfile /u01/oracle/ORAERP/apps/apps_st/comn/clone/bin/Clone Context_08050928.log for details. Running Rapid Clone with command: perl /u01/oracle/ORAERP/apps/apps_st/comn/clone/bin/adclone.pl java=/u01/oracle/ ORAERP/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/u01/oracle/ORAERP/ap ps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/u01/oracle/ORAE RP/inst/apps/ORAERP_srverp1/appl/admin/ORAERP_srverp1.xml showProgress contextVa lidated=true Running: perl /u01/oracle/ORAERP/apps/apps_st/comn/clone/bin/adclone.pl java=/u01/oracle/ ORAERP/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/u01/oracle/ORAERP/ap ps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/u01/oracle/ORAE RP/inst/apps/ORAERP_srverp1/appl/admin/ORAERP_srverp1.xml showProgress contextVa lidated=true APPS Password : Beginning application tier Apply - Tue Aug 5 09:32:03 2008 /u01/oracle/ORAERP/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEX T_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /u01/oracle/ORAERP/ apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/u01/oracle/ORAERP/apps/apps_st/com n/clone/jlib/ojdbc14.jar:/u01/oracle/ORAERP/apps/apps_st/comn/clone/jlib/java:/u 01/oracle/ORAERP/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/u01/oracle/O RAERP/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/u01/oracle/ORAERP/apps/apps_st/ comn/clone/jlib/oui/share.jar:/u01/oracle/ORAERP/apps/apps_st/comn/clone/jlib/ou i/srvm.jar:/u01/oracle/ORAERP/apps/apps_st/comn/clone/jlib/ojmisc.jar oracle.ap ps.ad.clone.ApplyAppsTier -e /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/appl/ad min/ORAERP_srverp1.xml -stage /u01/oracle/ORAERP/apps/apps_st/comn/clone -sho wProgress APPS Password : Log file located at /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/ admin/log/ApplyAppsTier_08050932.log

79% completed

Completed Apply... Tue Aug 5 09:36:59 2008 Starting application Services for ORAERP: Running: /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/admin/scripts/adstrtal.sh -nopromptm sg You are running adstrtal.sh version 120.13.12000000.3 Executing service control script: /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/admin/scripts/adopmnctl.sh start script returned: **************************************************** You are running adopmnctl.sh version 120.4.12000000.3 Starting Oracle Process Manager (OPMN) ... adopmnctl.sh: exiting with status 0 adopmnctl.sh: check the logfile /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/logs /appl/admin/log/adopmnctl.txt for more information ... .end std out. .end err out. **************************************************** Executing service control script: /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/admin/scripts/adapcctl.sh start script returned: **************************************************** You are running adapcctl.sh version 120.6.12000000.2 Starting OPMN managed Oracle HTTP Server (OHS) instance ... adapcctl.sh: exiting with status 0 adapcctl.sh: check the logfile /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/logs/ appl/admin/log/adapcctl.txt for more information ... .end std out. .end err out. **************************************************** Executing service control script:

/u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/admin/scripts/adoacorectl.sh start script returned: **************************************************** You are running adoacorectl.sh version 120.11.12000000.2 Starting OPMN managed OACORE OC4J instance ... adoacorectl.sh: exiting with status 0 adoacorectl.sh: check the logfile /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/lo gs/appl/admin/log/adoacorectl.txt for more information ... .end std out. .end err out. **************************************************** Executing service control script: /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/admin/scripts/adformsctl.sh start script returned: You are running adformsctl.sh version 120.12.12000000.3 Starting OPMN managed FORMS OC4J instance ... adformsctl.sh: exiting with status 0 adformsctl.sh: check the logfile /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/log s/appl/admin/log/adformsctl.txt for more information ... .end std out. .end err out. **************************************************** Executing service control script: /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/admin/scripts/adoafmctl.sh start script returned: **************************************************** You are running adoafmctl.sh version 120.6.12000000.2 Starting OPMN managed OAFM OC4J instance ... adoafmctl.sh: exiting with status 0 adoafmctl.sh: check the logfile /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/logs /appl/admin/log/adoafmctl.txt for more information ... .end std out.

.end err out. **************************************************** Executing service control script: /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/admin/scripts/adalnctl.sh start script returned: **************************************************** adalnctl.sh version 120.3 Checking for FNDFS executable. Starting listener process APPS_ORAERP. adalnctl.sh: exiting with status 0 adalnctl.sh: check the logfile /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/logs/ appl/admin/log/adalnctl.txt for more information ... .end std out. .end err out. **************************************************** Executing service control script: /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/admin/scripts/adcmctl.sh start script returned: **************************************************** You are running adcmctl.sh version 120.14 Starting concurrent manager for ORAERP ... Starting ORAERP_0805@ORAERP Internal Concurrent Manager Default printer is noprint adcmctl.sh: exiting with status 0 adcmctl.sh: check the logfile /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/logs/a ppl/admin/log/adcmctl.txt for more information ... .end std out. .end err out. **************************************************** Executing service control script: /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/admin/scripts/jtffmctl.sh start script returned: **************************************************** You are running jtffmctl.sh version 120.3

Validating Fulfillment patch level via /u01/oracle/ORAERP/apps/apps_st/comn/java /classes Fulfillment patch level validated. Starting Fulfillment Server for ORAERP on port 9302 ... jtffmctl.sh: exiting with status 0 .end std out. .end err out. **************************************************** All enabled services for this node are started. adstrtal.sh: Exiting with status 0 adstrtal.sh: check the logfile /u01/oracle/ORAERP/inst/apps/ORAERP_srverp1/logs/ appl/admin/log/adstrtal.log for more information ...

You might also like