Anda di halaman 1dari 18

A CONCISE

INTROMISSION TO R12

ANOJ WILFER
AGENDA
INTRODUCTION
TECHNOLOGY STACK CHANGES
NEW FEATURES
CONFIGURATION FILES
HANDY STUFFS
LOGGING OF VARIOUS COMPONENTS
R12 METALINK NOTE IDS
SUMMARY
INTRODUCTION
Highlights of new R12:

New Application Server 10g(10.1.2 & 10.1.3)


JServ replaced by Oracle Containers for J2EE (OC4J)
Introduction of an Instance Home (INST_TOP)
Use of Oracle Process Manager & Notification Server (OPMN)
Introduction of Forms10
Forms Servlet vs. Server (socket) mode deployments
TECHNOLOGY STACK CHANGES
New versions of Mid Tier Technology:
8.0.6Oraclehome(Forms,Reports) 10.1.2Oraclehome
IASOraclehome(9iAS1.0.2.2.2)10.1.3Oraclehome
10.1.3isfullycomplaintwithJ2EEstandard.
Apache:1.3.191.3.34
JDBC10.2
OracleJDeveloper10.1.3
JDK5.0forweb&concurrentprocessing
OracleAS10.1.3webservicesinfrastructure
ServletContainer:JServ>OC4J
New Swan User Interface
ItimprovesthelookofEBusinessSuite
TomaintaintheconsistencybetweenOracleandPeoplesoftUI
Nochangesintransactioncontentorenduseractions.

iAS1.0.2.2
ORACLE HOME
Developer 6i
ORACLE HOME
Database
ORACLE HOME
Thisdirectory$INST_TOPgotintroducednewlyinR12.Instancetop
containsalltheconfigfiles,logfiles,sslcertificates,documentroot
etc.Additionofthisdirectorymakesthemiddletiermoreorganised,
sincedataiskeptseparatefromconfig/logfiles.Anotheradvantageis
that,multipleinstancescaneasilysharethesamemiddletier.Tocreate
anewinstancethatsharesanexistingmiddletier,justcreateanew
instance_topwithproperconfigfilesandNFSmountthemiddletierin
theserver.
Disabled mod_plsql in R12
OC4J Deployment details, including replacements for jserv.conf
and jserv.properties configuration files
Switch from JServ to Oracle Containers for J2EE (OC4J) for running
servlets, Java Server Pages (JSP), and Enterprise Java Beans (EJB)
HANDY STUFFS
Beware of Removing _pages
InR12ifyoudelete_pages,yourloginpagewillnotcomeup,youwillseeblank
page.
s_jsp_main_modeissettojustrun,In11iitisrecompile.
$ORA_CONFIG_HOME/10.1.3/j2ee/oacore/applicationdeployments/oacore/html/orionweb.xml

JSPcompilationontheflyisdisabled,andonlyprecompiledclassesarepickedup.
Thisisdonetoimprovetheperformance.

CompilationofJsp'scanbedoneby,
$FND_TOP/patch/115/bin/ojspCompile.plcompilequiet

RefMetalinknote:458338.1

[applmgr@edevdb9:OICD]:/opt/oracle/admin/OICD/inst/apps/OICD_edevdb9/appl/admi
n>grep -i s_jsp_main_mode OICD_edevdb9.xml
<jsp_debug_parameters
oa_var="s_jsp_main_mode">justrun</jsp_debug_parameters>

Security:
Passwordsarenomorehardcodedinflatfiles
In11i,wemighthaveobservedpasswordshardcodedinbelowfiles.
iAS_TOP/Apache/modplsql/cfg/wdbsvr.app
ORACLE_HOME/reports60/server/CGIcmd.dat
Modplsqlisobsoletenow.

Jinitiator:

OracleJInitiatorwillnolongerberequiredtorunOracleFormsinEBusinessSuiteRelease12.
OracleFormsinRelease12willrundirectlyinthenativeSunJava2StandardEditionplugin.

[applmgr@edevdb9:OICD]:/opt/oracle/admin/OICD/inst/apps/OICD_edevdb9/appl/admin>grepis_sun_plugin_type
OICD_edevdb9.xml
<sun_plugin_typeoa_var="s_sun_plugin_type">jdk</sun_plugin_type>

[applmgr@edevdb8:OTST]:/opt/oracle/apps/OTST/otstappl/admin]grepis_sun_plugin_typeOTST_edevdb8.xml
<sun_plugin_typeoa_var="s_sun_plugin_type">jinit</sun_plugin_type>

whenyouplantoupgrade11itoR12,youwillbemakingyoursystemtoworkwithJunplugin.(Note427357.111iwithsunplugin)
Insight on OC4J

TherearethreegroupsofOC4J's.

oacoreOC4JSupportsframeworkbasedapplications
formsOC4JSupportsformsbasedapplications
oafmOC4JexpandstoOracleApplicationFusionMiddlewareformapviewer,
webservices,ascontrol

[applmgr@edevdb9:OICD]:/opt/oracle/admin/OICD/inst/apps/OICD_edevdb9/appl/admin>
grepi_nprocsOICD_edevdb9.xml
<frmsrv_nprocsoa_var="s_frmsrv_nprocs">1</frmsrv_nprocs>
<forms_nprocsoa_var="s_forms_nprocs">1</forms_nprocs>
<oacore_nprocsoa_var="s_oacore_nprocs">1</oacore_nprocs>
<oafm_nprocsoa_var="s_oafm_nprocs">1</oafm_nprocs>
Insight on OPMN:
OPMNconsistsoftwomaincomponents:
1. OracleProcessManager
2.OracleNotificationServer

OracleProcessManagermanagesStarting,Stopping,RestartingandMonitoringtheservices
(thisincludesdeathdetectionandautomaticrestartoftheprocess)
OracleNotificationServeristhetransportmechanismforfailure,recovery,startup,and
otherrelatednotificationsbetweencomponentsinAS.

opmn.xmlistheconfigurationfileusedbyOPMNtomanagetheservices.
Configfilelocationisgivenas$ORA_CONFIG_HOME/10.1.3/opmn/conf/opmn.xml

ServicesmanagedbyopmnareHTTP_Server,oacore,forms,oafm
[applmgr@edevdb9:OICD]:/opt/oracle/admin/OICD/inst/apps/OICD_edevdb9/ora/10.1.3/opmn/conf>grepiprocess
typeopmn.xml
<processtypeid="HTTP_Server"moduleid="OHS">
</processtype>
<processtypeid="home"moduleid="OC4J"status="disabled"workingdir="$ORACLE_HOME/j2ee/home">
</processtype>
<processtypeid="oacore"moduleid="OC4J"status="enabled"workingdir="$ORACLE_HOME/j2ee/home">
</processtype>
<processtypeid="forms"moduleid="OC4J"status="enabled"workingdir="$ORACLE_HOME/j2ee/home">
</processtype>
<processtypeid="oafm"moduleid="OC4J"status="enabled"workingdir="$ORACLE_HOME/j2ee/home">
</processtype>

[applmgr@edevdb9:OICD]:/opt/oracle/admin/OICD/inst/apps/OICD_edevdb9/admin/scripts>adopmnctl.shstatus
Youarerunningadopmnctl.shversion120.4.12000000.3
CheckingstatusofOPMNmanagedprocesses...
ProcessesinInstance:OICD_edevdb9.edevdb9.cos.agilent.com
+++
iascomponent|processtype|pid|status
+++
OC4JGroup:OC4J|OC4J:oafm|16031|Alive
OC4JGroup:OC4J|OC4J:forms|15995|Alive
OC4JGroup:OC4J|OC4J:oacore|15962|Alive
HTTP_Server|HTTP_Server|15909|Alive
adopmnctl.sh:exitingwithstatus0

OPMN Advantages:

WhenanyoftheOC4Jprocesseshasdied,OPMNdetectsthedeathofitandbringsupin
almostnotime.Hencetherewillbeaveryminimaltimeofprocessunavailabilitytoservethe
requests.

$LOG_HOME/ora/10.1.3/opmn/opmn.logisappendedwiththeinformation(itdumpsthe
deathdetectionandrestartinformation)

EvenifoacoreJVMcrashesduetooutofmemoryissue,opmnrestartsafteritdetectsOC4J
hasdied.

HowOPMNReacts?
1)OSprocessischeckedbyOPMNforevery2seconds.
2)Forwardping:periodicallyOPMNpingstheprocessforevery20secondsandexpects
response
3)Reverseping:every20secondsmanagedprocesssendsOPMNapingnotification
Techstack Inventory Report

YoucanusethisutilitytogetthetechstackdetailsoftheR12environmentinHTML/TEXT
reportformat.

Syntax:

MT:

perl$FND_TOP/patch/115/bin/TXKScript.pl
script=$FND_TOP/patch/115/bin/txkInventory.pltxktop=$APPLTMP
contextfile=$CONTEXT_FILEappspass=appsoutfile=$OA_HTML/techstack_info.html

YoucanchecktheURLhttp://./OA_HTML/techstack_info.html

DBtier:

perl$ORACLE_HOME/appsutil/bin/TXKScript.pl
script=$ORACLE_HOME/appsutil/bin/txkInventory.pl
txktop=$ORACLE_HOME/appsutil/tempcontextfile=$CONTEXT_FILEappspass=apps
outfile=$ORACLE_HOME/appsutil/temp/master_db.html
Thank you

Anda mungkin juga menyukai