Vous êtes sur la page 1sur 6

3/11/2018 Online DBA Support | R12 DMZ Configuration

Online DBA Support


ORACLE DATABASE COMMUNITY

Home Contact Search

Upgrade 11.5.7 to 11.5.10.2 on Linux 11i DMZ Configuration Categories

11gr2
12c
R12 DMZ Configuration Apex
By Nazim On December 7, 2010 · 1 Comment Backup & Recovery
Disaster Recovery
EBS 12.2.x
EM 12c Cloud
DMZ Configuration on R12
Identity Access
Approach
Management
The following is the approach to achieve the required configuration
Installation
Migrate
OS verification
Oracle Fusion
Backup the source (prodcution instance)
Real Application Cluster
Copy the source application tier to the DMZ machine
Troubleshooting
Create user and group for the DMZ machine
Uncategorized
Create directories for the target DMZ and give them the required
Upgrade
grant and ownership
Configure the DMZ
Run autoconfig on both application tiers and the database tier Archives

Start and check the services June 2015


April 2015
OS Verification December 2014
i) Create OS user November 2014
ii) Host file format September 2014
The “/etc/hosts” file should use the following format and Hostname August 2014
length should be less than 255 characters. April 2014
IP Address Full Qualified Hostname alias March 2014
February 2014
Example: November 2013
10.10.19.39 irecruit.oracle.com irecruit September 2013
10.10.11.31 internal.oracle.com internal August 2013
June 2013
iii) Mount Point / Storage Details February 2013
All disks in a disk group should have the same I/O density (Megabytes January 2013
per second of transfer rate per Gigabyte of capacity) December 2012
Metalink note id: Oracle E-Business Suite R12 Configuration in a November 2012
DMZ (380490.1) October 2012
iv) Software Requirement August 2012
Ar,ld,make ,X Display Server July 2012
v) Login into the Source and shut the application services May 2012

http://www.onlinedbasupport.com/2010/12/07/r12-dmz-configuration/ 1/6
3/11/2018 Online DBA Support | R12 DMZ Configuration

vi) Take a backup of the application directories and transfer it to the January 2012
target server December 2011
Configuring DMZ October 2011
vii) login as: appldmz September 2011
viii) Check the below settings August 2011
July 2011
echo $PATH June 2011
which make May 2011
which ld March 2011
February 2011
ix) Navigate to the location where the files have been transfered. January 2011
x) And further navigate to the clone bin diretory and run the adcfgclone.pl December 2010
with appsTier August 2010
pwd June 2010
/oracle/appldmz
apps inst Calendar
cd apps/apps_st/comn/clone/bin
December 2010

perl adcfgclone.pl appsTier M T W T F S


Copyright (c) 2002 Oracle Corporation 1 2 3 4
Redwood Shores, California, USA
6 7 8 9 10 1
Oracle Applications Rapid Clone
Version 12.0.0 13 14 15 16 17 1
adcfgclone Version 120.20.12000000.11 20 21 22 23 24 2
Enter the APPS password :
Running: 27 28 29 30 31

/oracle/appldmz/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -cp « Aug Jan


/oracle/appldmz/apps/apps_st/comn/clone/jlib/java:/oracle/appldmz/apps/a
/xmlparserv2.jar:/oracle/appldmz/apps/apps_st/comn/clone/jlib/ojdbc14.jar Meta
oracle.apps.ad.context.CloneContext -e
Register
/oracle/appldmz/apps/apps_st/comn/clone/bin/../context/apps/CTXORIG.x
Log in
/tmp/adpairsfile_28117.lst -stage /oracle/appldmz/apps/apps_st/comn/clon
Entries (RSS)
/tmp/adcfgclone_28117.err; echo $? > /tmp/adcfgclone _28117.res
Log file located at /oracle/appldmz/apps/apps_st/comn/clone/bin/CloneCo
Provide the values required for creation of the new APPL_TOP Context file
Target System Hostname (virtual or normal) [irecruit] :
Target System Database SID : RAC1
Target System Database Server Node [irecruit] : internal
Target System Base Directory : /oracle/appldmzTarget System Forms ORA
Target System APPL_TOP Mountpoint [/oracle/appldmz/apps/apps_st/app
Target System COMMON_TOP Directory [/oracle/appldmz/apps/apps_st/c
Target System Instance Home Directory [/oracle/appldmz/inst] :
Username for the Applications File System Owner [appldmz] :
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 [internal:0.0] (y/n) ? : n

http://www.onlinedbasupport.com/2010/12/07/r12-dmz-configuration/ 2/6
3/11/2018 Online DBA Support | R12 DMZ Configuration

Target System Display [irecruit:0.0] :


Do you want the the target system to have the same port values as the so
Target System Port Pool [0-99] : 10
Checking the port pool 10
done: Port Pool 10 is free
Report file located at /oracle/appldmz/inst/apps/RAC1_irecruit/admin/out/p
Complete port information available at
/oracle/appldmz/inst/apps/RAC1_irecruit/admin/out/portpool.lst
Creating the new APPL_TOP Context file from :
/oracle/appldmz/apps/apps_st/appl/ad/12.0.0/admin/template/adxmlctx.tm
The new APPL_TOP context file has been created :
/oracle/appldmz/inst/apps/RAC1_irecruit/appl/admin/RAC1_irecruit.xml
Log file located at /oracle/appldmz/apps/apps_st/comn/clone/bin/CloneCo
Check Clone Context logfile
/oracle/appldmz/apps/apps_st/comn/clone/bin/CloneContext_10272126.lo
Running Rapid Clone with command:
perl /oracle/appldmz/apps/apps_st/comn/clone/bin/adclone.pl
java=/oracle/appldmz/apps/apps_st/comn/clone/bin/../jre mode=apply
stage=/oracle/appldmz/apps/apps_st/comn/clone component=appsTier me
appctxtg=/oracle/appldmz/inst/apps/RAC1_irecruit/appl/admin/RAC1_irecr
contextValidated=true
Running:
perl /oracle/appldmz/apps/apps_st/comn/clone/bin/adclone.pl
java=/oracle/appldmz/apps/apps_st/comn/clone/bin/../jre mode=apply
stage=/oracle/appldmz/apps/apps_st/comn/clone component=appsTier me
appctxtg=/oracle/appldmz/inst/apps/RAC1_irecruit/appl/admin/RAC1_irecr
contextValidated=true

APPS Password :
Beginning application tier Apply - Tue Oct 27 21:27:47 2009
/oracle/appldmz/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -
DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath
/oracle/appldmz/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/oracle/app
n/clone/jlib/ojdbc14.jar:/oracle/appldmz/apps/apps_st/comn/clone/jlib/java:
apps_st/comn/clone/jlib/oui/OraInstaller.jar:/oracle/appldmz/apps/apps_st/
t3.jar:/oracle/appldmz/apps/apps_st/comn/clone/jlib/oui/share.jar:/oracle/a
omn/clone/jlib/oui/srvm.jar:/oracle/appldmz/apps/apps_st/comn/clone/jlib/o
oracle.apps.ad.clone.ApplyAppsTier -e
/oracle/appldmz/inst/apps/RAC1_irecruit/appl/admin/RAC1_irecruit.xml -st
/oracle/appldmz/apps/apps_st/comn/clone -showProgress
APPS Password : Log file located at
/oracle/appldmz/inst/apps/RAC1_irecruit/admin/log/ApplyAppsTier_10272
/ 3% completed

xi) Once this process completes succesfully shut down the services
change the following
parameters in the .xml file

http://www.onlinedbasupport.com/2010/12/07/r12-dmz-configuration/ 3/6
3/11/2018 Online DBA Support | R12 DMZ Configuration

<oa_system_config>
<TIER_DB oa_var="s_isDB">NO</TIER_DB>
<TIER_ADMIN oa_var="s_isAdmin">NO</TIER_ADMIN>
<TIER_WEB oa_var="s_isWeb">YES</TIER_WEB>
<TIER_FORMS oa_var="s_isForms">NO</TIER_FORMS>
<TIER_NODE oa_var="s_isConc">NO</TIER_NODE>
<TIER_FORMSDEV oa_var="s_isFormsDev">NO</TIER_FORMSDEV>
<TIER_NODEDEV oa_var="s_isConcDev">NO</TIER_NODEDEV>
<TIER_WEBDEV oa_var="s_isWebDev">YES</TIER_WEBDEV>
<config_option oa_var="s_techstack">as1013</config_option>
<config_option oa_var="s_tnsmode">generateTNS</config_option>
<config_option oa_var="s_apps_version">12.0.4</config_option>
<config_option oa_var="s_apache_mode">NORMAL</config_option>
<ias_version oa_var="s_ias_version">10.1.3.0.0</ias_version>
</oa_system_config>

xii) Run the node clean package as apps user


Sqlplus apps/********
exec fnd_conc_clone.setup_clean;
commit;
exit
Run autoconfig in the series as stated below
a) database tier
b) primary apps tier (prodcution)
c) DMZ (irecruit tier)
xiii) After the completion of the autoconfig run the following script as
apps from the primary
node

This would change the profile options hierarchy type values to


SERVRESP.
Run autoconfig again on the primary node. As seen in the following lines

@txkChangeProfH.sql SERVRESP
Changing the hierarchy type for the Profile APPS_WEB_AGENT
Profile APPS_WEB_AGENT hierarchy type has been
successfully changed to SERVRESP
Changing the hierarchy type for the Profile APPS_SERVLET_AGENT
Profile APPS_SERVLET_AGENT hierarchy type has been
successfully changed to SERVRESP
Changing the hierarchy type for the Profile APPS_JSP_AGENT
Profile APPS_JSP_AGENT hierarchy type has been
successfully changed to SERVRESP
Changing the hierarchy type for the Profile APPS_FRAMEWORK_AGENT
Profile APPS_FRAMEWORK_AGENT hierarchy type has been
successfully changed to SERVRESP
Changing the hierarchy type for the Profile ICX_FORMS_LAUNCHER
Profile ICX_FORMS_LAUNCHER hierarchy type has been
successfully changed to SERVRESP

http://www.onlinedbasupport.com/2010/12/07/r12-dmz-configuration/ 4/6
3/11/2018 Online DBA Support | R12 DMZ Configuration

Changing the hierarchy type for the Profile ICX_DISCOVERER_LAUNCH


Profile ICX_DISCOVERER_LAUNCHER hierarchy type has been
successfully changed to SERVRESP
Changing the hierarchy type for the Profile ICX_DISCOVERER_VIEWER
Profile ICX_DISCOVERER_VIEWER_LAUNCHER hierarchy type has bee
successfully changed to SERVRESP
Changing the hierarchy type for the Profile HELP_WEB_AGENT
Profile HELP_WEB_AGENT hierarchy type has been
successfully changed to SERVRESP
Changing the hierarchy type for the Profile APPS_PORTAL
Profile APPS_PORTAL hierarchy type has been
successfully changed to SERVRESP
Changing the hierarchy type for the Profile CZ_UIMGR_URL
Profile CZ_UIMGR_URL hierarchy type has been
successfully changed to SERVRESP
Changing the hierarchy type for the Profile QP_PRICING_ENGINE_URL
Profile QP_PRICING_ENGINE_URL hierarchy type has been
successfully changed to SERVRESP
Changing the hierarchy type for the Profile TCF:HOST
Profile TCF:HOST hierarchy type has been
successfully changed to SERVRESP
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.
Production
With the Partitioning, OLAP and Data Mining options

xiv) After the completion of the script start the primary isntnace and login
as sysadmnin
And change the following profiles at server level
Server : iRecruit
Profile : Node Trust Level
Make the changes at the server level to external

This Completes the DMZ Configuration !!!


xv) Expose the responsibility to the external tier as per the requirement
as seen in the following
screen shot.

http://www.onlinedbasupport.com/2010/12/07/r12-dmz-configuration/ 5/6
3/11/2018 Online DBA Support | R12 DMZ Configuration

xvi) Once the above process is completed the DMZ node can be started
with the sequence given
below
xvii) Startup and shutdown of DMZ Applications
We can start the iRecruit node with the following sequence

adopmnctl.sh start
adoafmctl.sh start
adformsctl.sh start
adoacorectl.sh start
adapcctl.sh start

To stop the DMZ follow the sequence stated below

adapcctl.sh stop
adoacorectl.sh stop
adformsctl.sh stop
adoafmctl.sh stop
adopmnctl.sh stop

URL : http://irecruit.oracle.com:8010/OA_HTML/IrcVisitor.jsp

SHARE → Tweet Like 0

About Contact Groups Activity

http://www.onlinedbasupport.com/2010/12/07/r12-dmz-configuration/ 6/6

Vous aimerez peut-être aussi