Monday, November 5, 2012

Configuring the E-Business Suite Apps Tier on Amazon

Again Reference Note is 1205963.1 . Most variables here are constant, straight from the Metalink note, without any change.  Exceptions are the Internal IPs for the App and Database Servers, of course; they will be different for each machine. use ifconfig -a etc to find out the correct values.

* su to the oracle user
o su oracle
* change directory to /u01/E-BIZ/apps/apps_st/comn/clone/bin
o cd /u01/E-BIZ/apps/apps_st/comn/clone/bin
* Execute the Apps tier post-clone script
o perl adcfgclone.pl appsTier



Target System Hostname (virtual or normal) [foofoo] :  Should be auto populated
 DB SID VISION

Target System Database Server Node [ip-foofoo]  { from the previous section ]


                     Copyright (c) 2002 Oracle Corporation
                        Redwood Shores, California, USA

                        Oracle Applications Rapid Clone

                                 Version 12.0.0

                      adcfgclone Version 120.31.12010000.8

Enter the APPS password :

Running:
/u01/E-BIZ/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -cp /u01/E-BIZ/apps/apps_st/comn/clone/jlib/java:/u01/E-BIZ/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/u01/E-BIZ/apps/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /u01/E-BIZ/apps/apps_st/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_27197.lst -stage /u01/E-BIZ/apps/apps_st/comn/clone  2> /tmp/adcfgclone_27197.err; echo $? > /tmp/adcfgclone_27197.res

Log file located at /u01/E-BIZ/apps/apps_st/comn/clone/bin/CloneContext_1105094800.log

Provide the values required for creation of the new APPL_TOP Context file.

Target System Hostname (virtual or normal) [as mentioned above ] :

Target System Database SID : VISION


Target System Database Server Node [wrong] : correct

Target System Base Directory :/u01/E-BIZ/apps

Target System Tools ORACLE_HOME Directory [/u01/E-BIZ/apps/apps/tech_st/10.1.2]                                                                                                : /u01/E-BIZ/apps/tech_st/10.1.2

Target System Web ORACLE_HOME Directory [/u01/E-BIZ/apps/apps/tech_st/10.1.3] :/u01/E-BIZ/apps/tech_st/10.1.3

Target System APPL_TOP Directory [/u01/E-BIZ/apps/apps/apps_st/appl] : /u01/E-BIZ/apps/apps_st/appl

Target System COMMON_TOP Directory [/u01/E-BIZ/apps/apps/apps_st/comn] : /u01/E-BIZ/apps/apps_st/comn

Target System Instance Home Directory [/u01/E-BIZ/apps/inst] : /u01/E-BIZ/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 [atgtxk-09:0.0] (y/n)  : n

Target System Display [ip-10-71-85-194:0.0] :

Do you want the the target system to have the same port values as the source system (y/n) [y] ? : n

Target System Port Pool [0-99] : 0

Checking the port pool 0
done: Port Pool 0 is free
Report file located at /u01/E-BIZ/inst/apps/VISION_/admin/out/portpool.lst
Complete port information available at /u01/E-BIZ/inst/apps/VISION_/admin/out/portpool.lst

UTL_FILE_DIR on database tier consists of the following directories.

1. /usr/tmp
2. /usr/tmp
3. /u01/E-BIZ/db/tech_st/11.2.0.2/appsutil/outbound/VISION_
4. /usr/tmp
Choose a value which will be set as APPLPTMP value on the target node [1] :
Creating the new APPL_TOP Context file from :
  /u01/E-BIZ/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tmp

The new APPL_TOP context file has been created :
  /u01/E-BIZ/inst/apps/VISION_/appl/admin/VISION_.xml

Log file located at /u01/E-BIZ/apps/apps_st/comn/clone/bin/CloneContext_1105121147.log
Check Clone Context logfile /u01/E-BIZ/apps/apps_st/comn/clone/bin/CloneContext_1105121147.log for details.

Running Rapid Clone with command:
perl /u01/E-BIZ/apps/apps_st/comn/clone/bin/adclone.pl java=/u01/E-BIZ/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/u01/E-BIZ/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/u01/E-BIZ/inst/apps/VISION_appl/admin/VISION_.xml showProgress contextValidated=true
Running:
perl /u01/E-BIZ/apps/apps_st/comn/clone/bin/adclone.pl java=/u01/E-BIZ/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/u01/E-BIZ/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/u01/E-BIZ/inst/apps/VISION_/appl/admin/VISION_.xml showProgress contextValidated=true
APPS Password :

Beginning application tier Apply - Mon Nov  5 12:22:19 2012

/u01/E-BIZ/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true  -Doracle.installer.oui_loc=/oui -classpath /u01/E-BIZ/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/u01/E-BIZ/apps/apps_st/comn/clone/jlib/ojdbc14.jar:/u01/E-BIZ/apps/apps_st/comn/clone/jlib/java:/u01/E-BIZ/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/u01/E-BIZ/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/u01/E-BIZ/apps/apps_st/comn/clone/jlib/oui/share.jar:/u01/E-BIZ/apps/apps_st/comn/clone/jlib/oui/srvm.jar:/u01/E-BIZ/apps/apps_st/comn/clone/jlib/ojmisc.jar  oracle.apps.ad.clone.ApplyAppsTier -e /u01/E-BIZ/inst/apps/VISION_/appl/admin/VISION_.xml -stage /u01/E-BIZ/apps/apps_st/comn/clone    -showProgress
APPS Password : Log file located at /u01/E-BIZ/inst/apps/VISION_194/admin/log/ApplyAppsTier_11051222.log
  |      0% completed
  /     71% completed

Completed Apply...
Mon Nov  5 12:33:22 2012


Do you want to startup the Application Services for VISION? (y/n) [y] :


Starting application Services for VISION:
Running:
/u01/E-BIZ/inst/apps/VISION_/admin/scripts/adstrtal.sh -nopromptmsg

You are running adstrtal.sh version 120.15.12010000.3

The logfile for this session is located at /u01/E-BIZ/inst/apps/VISION_/logs/appl/admin/log/adstrtal.log
Executing service control script:
/u01/E-BIZ/inst/apps/VISION_/admin/scripts/adopmnctl.sh start
script returned:
****************************************************

You are running adopmnctl.sh version 120.6.12010000.5

Starting Oracle Process Manager (OPMN) ...
opmnctl: opmn started.

adopmnctl.sh: exiting with status 0

adopmnctl.sh: check the logfile /u01/E-BIZ/inst/apps/VISION_/logs/appl/admin/log/adopmnctl.txt for more information ...


.end std out.

.end err out.

****************************************************


Executing service control script:
/u01/E-BIZ/inst/apps/VISION_/admin/scripts/adalnctl.sh start
script returned:
****************************************************

adalnctl.sh version 120.3

Checking for FNDFS executable.
Starting listener process APPS_VISION.

adalnctl.sh: exiting with status 0


adalnctl.sh: check the logfile /u01/E-BIZ/inst/apps/VISION_/logs/appl/admin/log/adalnctl.txt for more information ...


.end std out.

.end err out.

****************************************************


Executing service control script:
/u01/E-BIZ/inst/apps/VISION_/admin/scripts/adapcctl.sh start
script returned:
****************************************************

You are running adapcctl.sh version 120.7.12010000.2

Starting OPMN managed Oracle HTTP Server (OHS) instance ...
opmnctl: opmn is already running.
opmnctl: starting opmn managed processes...

adapcctl.sh: exiting with status 0

adapcctl.sh: check the logfile /u01/E-BIZ/inst/apps/VISION_/logs/appl/admin/log/adapcctl.txt for more information ...


.end std out.

.end err out.

****************************************************


Executing service control script:
/u01/E-BIZ/inst/apps/VISION_/admin/scripts/adoacorectl.sh start

Executing service control script:
/u01/E-BIZ/inst/apps/VISION_/admin/scripts/adoacorectl.sh start
script returned:
****************************************************

You are running adoacorectl.sh version 120.13

Starting OPMN managed OACORE OC4J instance  ...

adoacorectl.sh: exiting with status 0

adoacorectl.sh: check the logfile /u01/E-BIZ/inst/apps/VISION_/logs/appl/admin/log/adoacorectl.txt for more information ...


.end std out.

.end err out.

****************************************************


Executing service control script:
/u01/E-BIZ/inst/apps/VISION_/admin/scripts/adformsctl.sh start
script returned:
****************************************************

You are running adformsctl.sh  version 120.16.12010000.3

Starting OPMN managed FORMS OC4J instance  ...
Calling txkChkFormsDeployment.pl to check whether latest FORMSAPP.EAR is deployed...
Program : /u01/E-BIZ/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl started @ Mon Nov  5 12:57:59 2012

*** Log File = /u01/E-BIZ/inst/apps/VISION_/logs/appl/rgf/TXK/txkChkFormsDeployment_Mon_Nov_5_12_57_59_2012/txkChkFormsDeployment_Mon_Nov_5_12_57_59_2012.log

File "/u01/E-BIZ/apps/tech_st/10.1.3/j2ee/forms/applications/forms/formsweb/WEB-INF/lib/frmsrv.jar" exists. Proceeding to check the size...

=============================================
*** Latest formsapp.ear has been deployed ***
=============================================


Program : /u01/E-BIZ/apps/apps_st/appl/fnd/12.0.0/patch/115/bin/txkChkFormsDeployment.pl completed @ Mon Nov  5 12:58:00 2012

Perl script txkChkFormsDeployment.pl got executed successfully



adformsctl.sh: exiting with status 0

adformsctl.sh: check the logfile /u01/E-BIZ/inst/apps/VISION_/logs/appl/admin/log/adformsctl.txt for more information ...


.end std out.
*** ALL THE FOLLOWING FILES ARE REQUIRED FOR RESOLVING RUNTIME ERRORS
*** Log File = /u01/E-BIZ/inst/apps/VISION_i/logs/appl/rgf/TXK/txkChkFormsDeployment_Mon_Nov_5_12_57_59_2012/txkChkFormsDeployment_Mon_Nov_5_12_57_59_2012.log

.end err out.

****************************************************


Executing service control script:
/u01/E-BIZ/inst/apps/VISION_/admin/scripts/adoafmctl.sh start
script returned:
****************************************************

You are running adoafmctl.sh version 120.8

Starting OPMN managed OAFM OC4J instance  ...

adoafmctl.sh: exiting with status 0

adoafmctl.sh: check the logfile /u01/E-BIZ/inst/apps/VISION_/logs/appl/admin/log/adoafmctl.txt for more information ...


.end std out.

.end err out.

****************************************************


Executing service control script:
/u01/E-BIZ/inst/apps/VISION_/admin/scripts/adcmctl.sh start
script returned:
****************************************************

You are running adcmctl.sh version 120.17.12010000.5

Starting concurrent manager for VISION ...
Starting VISION_1105@VISION Internal Concurrent Manager
Default printer is noprint

adcmctl.sh: exiting with status 0


adcmctl.sh: check the logfile /u01/E-BIZ/inst/apps/VISION_logs/appl/admin/log/adcmctl.txt for more information ...


.end std out.

.end err out.

****************************************************


Executing service control script:
/u01/E-BIZ/inst/apps/VISION_/admin/scripts/jtffmctl.sh start
script returned:
****************************************************

You are running jtffmctl.sh version 120.3

Validating Fulfillment patch level via /u01/E-BIZ/apps/apps_st/comn/java/classes
Fulfillment patch level validated.
Starting Fulfillment Server for VISION on port 9300 ...

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/E-BIZ/inst/apps/VISION_/logs/appl/admin/log/adstrtal.log for more information ...

You have new mail in /var/spool/mail/oracle
[oracle@ bin]$

Edited to remove all identifying host information. 







No comments: