We need to stop the EBS frontend first.
[oracle@]$ /u01/E-BIZ/inst/apps/VISION_ip/admin/sc ripts/adstpall.sh apps/apps
You are running adstpall.sh version 120.10.12010000.4
The logfile for this session is located at /u01/E-BIZ/inst/apps/VISION_/logs/appl/admin/log/adstpall.log
Executing service control script:
/u01/E-BIZ/inst/apps/VISION_/admin/scripts/jtffmctl.sh stop
script returned:
****************************************************
You are running jtffmctl.sh version 120.3
Shutting down Fulfillment Server for VISION on port 9300 ...
jtffmctl.sh: exiting with status 0
.end std out.
.end err out.
****************************************************
adstpall.sh:Exiting with status 0
adstpall.sh: check the logfile /u01/E-BIZ/inst/apps/VISION_/logs/appl/admin/log/adstpall.log for more information ...
[ Edited to remove output from lots of sub-scripts ]
Now we can edit the context file
Go to /u01/E-BIZ/inst/apps/VISION_ip-/appl/admin and backup the XML context file.
Now edit it :
s_login_page variable needs to replate the FQDN internal with the FQDN external
http://ip-foo.ec2.internal:8000/OA_HTML/AppsLogin
changes to
ec2-foo2.compute-1.amazonaws.com
http://ec2-foo2.compute-1.amazonaws.com:8000/OA_HTML/AppsLogin
_webentryhost changes from
ip-foo
to
ec2-foo2
i.e. just the hostname portion NOT the FQDN
also change
ec2.internal
to
compute-1.amazonaws.com
We're not changing the default port but if we were we'd edit the ports as per the note.
Save the changes and exit.
Activating the Context Changes :
Run $INST_TOP
( /u01/E-BIZ/inst/apps/VISION_foo)/admin/scripts/adautocfg.sh
[oracle@ip-foo admin]$ /u01/E-BIZ/inst/apps/VISION_ip-foo/admin/scripts/adautocfg.sh
Enter the APPS user password:
The log file for this session is located at: /u01/E-BIZ/inst/apps/VISION_ip-foo/admin/log/11060530/adconfig.log
AutoConfig is configuring the Applications environment...
AutoConfig will consider the custom templates if present.
Using CONFIG_HOME location : /u01/E-BIZ/inst/apps/VISION_ip-foo
Classpath : /u01/E-BIZ/apps/apps_st/comn/java/lib/appsborg2.zip:/u01/E-BIZ/apps/apps_st/comn/java/classes
Using Context file : /u01/E-BIZ/inst/apps/VISION_ip-foo/appl/admin/VISION_ip-foo.xml
Context Value Management will now update the Context file
Updating Context file...COMPLETED
Attempting upload of Context file and templates to database...COMPLETED
Configuring templates from all of the product tops...
Configuring AD_TOP........COMPLETED
Configuring FND_TOP.......COMPLETED
Configuring ICX_TOP.......COMPLETED
Configuring MSC_TOP.......COMPLETED
Configuring IEO_TOP.......COMPLETED
Configuring BIS_TOP.......COMPLETED
Configuring AMS_TOP.......COMPLETED
Configuring CCT_TOP.......COMPLETED
Configuring WSH_TOP.......COMPLETED
Configuring CLN_TOP.......COMPLETED
Configuring OKE_TOP.......COMPLETED
Configuring OKL_TOP.......COMPLETED
Configuring OKS_TOP.......COMPLETED
Configuring CSF_TOP.......COMPLETED
Configuring IGS_TOP.......COMPLETED
Configuring IBY_TOP.......COMPLETED
Configuring JTF_TOP.......COMPLETED
Configuring MWA_TOP.......COMPLETED
Configuring CN_TOP........COMPLETED
Configuring CSI_TOP.......COMPLETED
Configuring WIP_TOP.......COMPLETED
Configuring CSE_TOP.......COMPLETED
Configuring EAM_TOP.......COMPLETED
Configuring FTE_TOP.......COMPLETED
Configuring ONT_TOP.......COMPLETED
Configuring AR_TOP........COMPLETED
Configuring AHL_TOP.......COMPLETED
Configuring OZF_TOP.......COMPLETED
Configuring IES_TOP.......COMPLETED
Configuring CSD_TOP.......COMPLETED
Configuring IGC_TOP.......COMPLETED
AutoConfig completed successfully.
You have new mail in /var/spool/mail/oracle
[oracle@ip-foo admin]$
At this point if required we would sort out the suid stuff for apache but we are on 8000 > 1024 so no need
Now let's start Apps front-end again
[oracle@ip-foo admin]$ /u01/E-BIZ/inst/apps/VISION_ip-foo/admin/scripts/adstrtal.sh
You are running adstrtal.sh version 120.15.12010000.3
Enter the APPS username: apps
Enter the APPS password:
The logfile for this session is located at /u01/E-BIZ/inst/apps/VISION_ip-foo/logs/appl/admin/log/adstrtal.log
Executing service control script:
/u01/E-BIZ/inst/apps/VISION_ip-foo/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_ip-foo/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_ip-foo/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_ip-foo/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_ip-foo/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_ip-foo/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_ip-foo/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_ip-foo/logs/appl/admin/log/adoacorectl.txt for more information ...
.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_ip-foo/logs/appl/admin/log/adstrtal.log for more information ...
[oracle@ip-foo admin]$
Go to /u01/E-BIZ/inst/apps/VISION_ip-/appl/admin and backup the XML context file.
Now edit it :
s_login_page variable needs to replate the FQDN internal with the FQDN external
changes to
ec2-foo2.compute-1.amazonaws.com
_webentryhost changes from
to
i.e. just the hostname portion NOT the FQDN
also change
to
We're not changing the default port but if we were we'd edit the ports as per the note.
Save the changes and exit.
Activating the Context Changes :
Run $INST_TOP
( /u01/E-BIZ/inst/apps/VISION_foo)/admin/scripts/adautocfg.sh
[oracle@ip-foo admin]$ /u01/E-BIZ/inst/apps/VISION_ip-foo/admin/scripts/adautocfg.sh
Enter the APPS user password:
The log file for this session is located at: /u01/E-BIZ/inst/apps/VISION_ip-foo/admin/log/11060530/adconfig.log
AutoConfig is configuring the Applications environment...
AutoConfig will consider the custom templates if present.
Using CONFIG_HOME location : /u01/E-BIZ/inst/apps/VISION_ip-foo
Classpath : /u01/E-BIZ/apps/apps_st/comn/java/lib/appsborg2.zip:/u01/E-BIZ/apps/apps_st/comn/java/classes
Using Context file : /u01/E-BIZ/inst/apps/VISION_ip-foo/appl/admin/VISION_ip-foo.xml
Context Value Management will now update the Context file
Updating Context file...COMPLETED
Attempting upload of Context file and templates to database...COMPLETED
Configuring templates from all of the product tops...
Configuring AD_TOP........COMPLETED
Configuring FND_TOP.......COMPLETED
Configuring ICX_TOP.......COMPLETED
Configuring MSC_TOP.......COMPLETED
Configuring IEO_TOP.......COMPLETED
Configuring BIS_TOP.......COMPLETED
Configuring AMS_TOP.......COMPLETED
Configuring CCT_TOP.......COMPLETED
Configuring WSH_TOP.......COMPLETED
Configuring CLN_TOP.......COMPLETED
Configuring OKE_TOP.......COMPLETED
Configuring OKL_TOP.......COMPLETED
Configuring OKS_TOP.......COMPLETED
Configuring CSF_TOP.......COMPLETED
Configuring IGS_TOP.......COMPLETED
Configuring IBY_TOP.......COMPLETED
Configuring JTF_TOP.......COMPLETED
Configuring MWA_TOP.......COMPLETED
Configuring CN_TOP........COMPLETED
Configuring CSI_TOP.......COMPLETED
Configuring WIP_TOP.......COMPLETED
Configuring CSE_TOP.......COMPLETED
Configuring EAM_TOP.......COMPLETED
Configuring FTE_TOP.......COMPLETED
Configuring ONT_TOP.......COMPLETED
Configuring AR_TOP........COMPLETED
Configuring AHL_TOP.......COMPLETED
Configuring OZF_TOP.......COMPLETED
Configuring IES_TOP.......COMPLETED
Configuring CSD_TOP.......COMPLETED
Configuring IGC_TOP.......COMPLETED
AutoConfig completed successfully.
You have new mail in /var/spool/mail/oracle
[oracle@ip-foo admin]$
At this point if required we would sort out the suid stuff for apache but we are on 8000 > 1024 so no need
Now let's start Apps front-end again
[oracle@ip-foo admin]$ /u01/E-BIZ/inst/apps/VISION_ip-foo/admin/scripts/adstrtal.sh
You are running adstrtal.sh version 120.15.12010000.3
Enter the APPS username: apps
Enter the APPS password:
The logfile for this session is located at /u01/E-BIZ/inst/apps/VISION_ip-foo/logs/appl/admin/log/adstrtal.log
Executing service control script:
/u01/E-BIZ/inst/apps/VISION_ip-foo/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_ip-foo/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_ip-foo/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_ip-foo/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_ip-foo/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_ip-foo/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_ip-foo/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_ip-foo/logs/appl/admin/log/adoacorectl.txt for more information ...
.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_ip-foo/logs/appl/admin/log/adstrtal.log for more information ...
[oracle@ip-foo admin]$
[ Edited to remove a ton of unnecessary subscripts starting up ]
That should be it ... let's give it a go in the next post.
No comments:
Post a Comment