Upload
dodung
View
223
Download
0
Embed Size (px)
Citation preview
DMZ IMPLEMENTAION R12.1 for iSupplier
Enable Web Access By External Supplier Users to Oracle iSupplier Portal and Oracle Sourcing (Doc ID 308271.1)
Primary apps server = ABR-LN-PRE1v.ABRAAJ.COM
External apps server = abr-ln-isu1v.abraaj.com
# apply rpm’s , set kernel parameters, set user limits.
# ln -s /usr/lib/libgdbm.so.2.0.0 /usr/lib/libdb.so.2
[appldmz@abr-ln-isu1v bin]$ pwd
/appdata1/PREPROD/apps/apps_st/comn/clone/bin
[appldmz@abr-ln-isu1v bin]$ ./adcfgclone.pl appsTier
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:
/appdata1/PREPROD/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -cp /appdata1/PREPROD/apps/apps_st/comn/clone/jlib/java:/appdata1/PREPROD/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/appdata1/PREPROD/apps/apps_st/comn/clone/jlib/ojdbc14.jar oracle.apps.ad.context.CloneContext -e /appdata1/PREPROD/apps/apps_st/comn/clone/bin/../context/apps/CTXORIG.xml -validate -pairsfile /tmp/adpairsfile_15853.lst -stage /appdata1/PREPROD/apps/apps_st/comn/clone 2> /tmp/adcfgclone_15853.err; echo $? > /tmp/adcfgclone_15853.res
Log file located at /appdata1/PREPROD/apps/apps_st/comn/clone/bin/CloneContext_1229102521.log
Provide the values required for creation of the new APPL_TOP Context file.
Target System Hostname (virtual or normal) [abr-ln-isu1v] :
Target System Database SID : PREPROD
Target System Database Server Node [abr-ln-isu1v] : ABR-LN-PRE2v
Target System Database Domain Name [abraaj.com] :
Target System Base Directory : /appdata1/PREPROD/
Target System Tools ORACLE_HOME Directory [/appdata1/PREPROD/apps/tech_st/10.1.2] :
Target System Web ORACLE_HOME Directory [/appdata1/PREPROD/apps/tech_st/10.1.3] :
Target System APPL_TOP Directory [/appdata1/PREPROD/apps/apps_st/appl] :
Target System COMMON_TOP Directory [/appdata1/PREPROD/apps/apps_st/comn] :
Target System Instance Home Directory [/appdata1/PREPROD/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] : disabled
Target System Other Services [enabled] : disabled
Do you want to preserve the Display [ABR-LN-PRE1v:0.0] (y/n) : n
Target System Display [abr-ln-isu1v:0.0] :
Do you want the the target system to have the same port values as the source system (y/n) [y] ? : y
Complete port information available at /appdata1/PREPROD/apps/apps_st/comn/clone/bin/out/PREPROD_abr-ln-isu1v/portpool.lst
UTL_FILE_DIR on database tier consists of the following directories.
1. /usr/tmp
2. /usr/tmp
3. /u01/oracle/PREPROD/db/new_tech_st/tech_st/11.2.0/appsutil/outbound/PREPROD_abr-ln-pre2v
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 :
/appdata1/PREPROD/apps/apps_st/appl/ad/12.0.0/admin/template/custom/adxmlctx.tmp
The new APPL_TOP context file has been created :
/appdata1/PREPROD/inst/apps/PREPROD_abr-ln-isu1v/appl/admin/PREPROD_abr-ln-isu1v.xml
Log file located at /appdata1/PREPROD/apps/apps_st/comn/clone/bin/CloneContext_1229102521.log
Check Clone Context logfile /appdata1/PREPROD/apps/apps_st/comn/clone/bin/CloneContext_1229102521.log for details.
Running Rapid Clone with command:
perl /appdata1/PREPROD/apps/apps_st/comn/clone/bin/adclone.pl java=/appdata1/PREPROD/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/appdata1/PREPROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/appdata1/PREPROD/inst/apps/PREPROD_abr-ln-isu1v/appl/admin/PREPROD_abr-ln-isu1v.xml showProgress contextValidated=true
Running:
perl /appdata1/PREPROD/apps/apps_st/comn/clone/bin/adclone.pl java=/appdata1/PREPROD/apps/apps_st/comn/clone/bin/../jre mode=apply stage=/appdata1/PREPROD/apps/apps_st/comn/clone component=appsTier method=CUSTOM appctxtg=/appdata1/PREPROD/inst/apps/PREPROD_abr-ln-isu1v/appl/admin/PREPROD_abr-ln-isu1v.xml showProgress contextValidated=true
APPS Password :
Beginning application tier Apply - Thu Dec 29 10:31:17 2016
/appdata1/PREPROD/apps/apps_st/comn/clone/bin/../jre/bin/java -Xmx600M -DCONTEXT_VALIDATED=true -Doracle.installer.oui_loc=/oui -classpath /appdata1/PREPROD/apps/apps_st/comn/clone/jlib/xmlparserv2.jar:/appdata1/PREPROD/apps/apps_st/comn/clone/jlib/ojdbc14.jar:/appdata1/PREPROD/apps/apps_st/comn/clone/jlib/java:/appdata1/PREPROD/apps/apps_st/comn/clone/jlib/oui/OraInstaller.jar:/appdata1/PREPROD/apps/apps_st/comn/clone/jlib/oui/ewt3.jar:/appdata1/PREPROD/apps/apps_st/comn/clone/jlib/oui/share.jar:/appdata1/PREPROD/apps/apps_st/comn/clone/jlib/oui/srvm.jar:/appdata1/PREPROD/apps/apps_st/comn/clone/jlib/ojmisc.jar oracle.apps.ad.clone.ApplyAppsTier -e /appdata1/PREPROD/inst/apps/PREPROD_abr-ln-isu1v/appl/admin/PREPROD_abr-ln-isu1v.xml -stage /appdata1/PREPROD/apps/apps_st/comn/clone -showProgress
APPS Password : Log file located at /appdata1/PREPROD/inst/apps/PREPROD_abr-ln-isu1v/admin/log/ApplyAppsTier_12291031.log
/ 83% completed
Completed Apply...
Thu Dec 29 10:37:32 2016
Do you want to startup the Application Services for PREPROD? (y/n) [y] : n
Services not started
[appldmz@abr-ln-isu1v appl]$ grep TIER_WEB $CONTEXT_FILE
<TIER_WEB oa_var="s_isWeb">YES</TIER_WEB>
<TIER_WEBDEV oa_var="s_isWebDev">YES</TIER_WEBDEV>
[appldmz@abr-ln-isu1v scripts]$ cat $CONTEXT_FILE
<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 type="techstack" oa_var="s_techstack">as1013</config_option>
<config_option type="techstack" oa_var="s_tnsmode">generateTNS</config_option>
<config_option type="adx" oa_var="s_apps_version">12.1.3</config_option>
<config_option type="techstack" oa_var="s_apache_mode">NORMAL</config_option>
[appldmz@abr-ln-isu1v scripts]$ sqlplus apps/apps
SQL*Plus: Release 10.1.0.5.0 - Production on Thu Dec 29 10:58:02 2016
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> exec fnd_conc_clone.setup_clean;
PL/SQL procedure successfully completed.
SQL> commit;
Commit complete.
SQL> select * from fnd_nodes;
no rows selected
DB SERVER:
[orapre@ABR-LN-PRE2v PREPROD_abr-ln-pre2v]$ ./adautocfg.sh
Enter the APPS user password:
EXTERNAL DMZ APPS SERVER:
[appldmz@abr-ln-isu1v scripts]$ ./adautocfg.sh
Enter the APPS user password:
INTERNAL APPS SERVER
[applpre@ABR-LN-PRE1v scripts]$ ./adautocfg.sh
Enter the APPS user password:
START INTERNAL APPS SERVER SERVICES
[applpre@ABR-LN-PRE1v scripts]$ ./adstrtal.sh apps/apps
SQL> create table fnd_profile_options_bkp as select * from fnd_profile_options;
Table created.
SQL> create table fnd_profile_option_values_bkp as select * from fnd_profile_option_values;
Table created.
SQL> create table fnd_profile_options_tl_bkp as select * from fnd_profile_options_tl;
Table created.
SQL> create table fnd_profile_options_vl_bkp as select * from fnd_profile_options_vl;
Table created.
INTERNAL APPS SERVER:
User Profile Name Internal Name1. Applications Web Agent APPS_WEB_AGENT
2. Applications Servlet Agent APPS_SERVLET_AGENT
3. Applications JSP Agent APPS_JSP_AGENT
4. Applications Framework Agent APPS_FRAMEWORK_AGENT
5. ICX:Forms Launcher ICX_FORMS_LAUNCHER
6. ICX: Oracle Discoverer Launcher ICX_DISCOVERER_LAUNCHER
7. ICX: Oracle Discoverer Viewer Launcher
ICX_DISCOVERER_VIEWER_LAUNCHER
User Profile Name Internal Name8. Applications Help Web Agent HELP_WEB_AGENT
9. Applications Portal APPS_PORTAL
10. BOM:Configurator URL of UI Manager
CZ_UIMGR_URL
11. QP: Pricing Engine URL QP_PRICING_ENGINE_URL
12. TCF:HOST TCF:HOST
Because of IDM profile options hierarchy type to be already set to SERVER-RESPONSIBILITY TYPE
The configuration of the E-Business Suite environment for DMZ requires these profile options hierarchy type to be set to SERVER-RESPONSIBILITY TYPE.
1. To change the profile options hierarchy type values to SERVRESP, execute the txkChangeProfH.sql SQL script as shown below:sqlplus apps/apps@/patch/115/sql/txkChangeProfH.sql SERVRESP
2. After thetxkChangeProfH.sqlscript executes successfully, run AutoConfig on all nodes to complete the profile options configuration.
“ We can skip “
5.2: Update Node Trust Level
5.3: Update List of Responsibilities
[applpre@ABR-LN-PRE1v bin]$ sqlplus apps/apps
SQL*Plus: Release 10.1.0.5.0 - Production on Thu Dec 29 17:24:23 2016
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> @$POS_TOP/patch/115/sql/pos_upg_usr.sql
PL/SQL procedure successfully completed.
Commit complete.
Commit complete.
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Down application.
Run autoconfig on all the nodes.
adautocfg.sh on all the nodes. DB, external, internal - order.
Start application primary server as well as external.1. Internal apps services.2. External DMZ services.
Start the services on target (dmz).adopmnctl.sh startadoafmctl.sh startadformsctl.sh startadoacorectl.sh startadapcctl.sh start
To stop services on DMZ:
adapcctl.sh stopadoacorectl.sh stopadformsctl.sh stopadoafmctl.sh stop
adopmnctl.sh stop.
External server url.