113 th nov 2008 / what’s new in r12 for application dba charlene huang, consultant senior eds –...
TRANSCRIPT
1 13th Nov 2008 /
What’s New in R12 for Application DBA
Charlene Huang, Consultant Senior
EDS – Oracle Practice
2 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Agenda
•What’s new in R12–R12 Technology Stack Overview
–R12 Patching Enhancement
–R12 Cloning Enhancement
–R12 File System Layout
–Additional New Features in R12
•What are the Challenges
•Lessons learned from real world R12 RAC implementation for Product Data Hub
3 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Release 12 Technology Stack3-Tier Logical Architecture
4 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Summary of Changes From 11i
Component Release 11i Release R12
Database 9.2 10.2.0.2
Developer
(Forms & Reports)
6i
(8.0.6)
10g (BI publisher)
(10.1.2.0.2)
Application Server
(Apache Version )
iAS 1.0.2.2
(1.3.19)
Fusion middleware 10g
(1.3.34)
Java Container Jserv OC4j
Client Plug-in Jinitiator Native Sun J2SE 1.5
5 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Oracle RDBMS 10g R2
•Oracle Applications Tablespace Model (OATM)– Objects are classified by object type and access
patterns• Transaction tables,Transaction, indexes,Reference/SEED,Interface,
Summary Management, Archive,NoLogging,Queue,Media,Temporary,Undo, System
– Uniform extents, locally managed, less fragmentation.
Total = 12 Tablespaces (11i: 400+)
•Better Performance– PL/SQL operation 2x faster
– PL/SQL Native Compilation
6 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Application Server Tier (1)
•OracleAS 10g 10.1.2 HOME (Forms & Reports Services) Replaces the 8.0.6-based Oracle Home in 11i
– Updated Swan UI
– Delivers native runtime executables for• Forms (frmweb) (11i: frmwebx)
– Forms Servlet is default deployment / communication mode
– Forms Trace in addition to Forms Runtime Diagnostics (FRD) Record both built-in Forms data and performance data in a single output (profile:
Forms Runtime Parameters)
– FORMS_ environment variables replace FORMS60_
New environment variables e.g. FORMS_TRACE_DIR
– Reports Only available through Concurrent Manager
– Reports Server is not used
– Reports executable rwrun is used directly
7 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Application Server Tier (2)
•OracleAS 10g 10.1.3 HOME Replaces the 8.1.7-based Oracle Home in 11i
– Oracle HTTP Server 10.1.3.0.0 (Apache 1.3.34)
– Oracle Containers for J2EE (OC4J) -3 OC4J instance by default, OC4J instances replace Jserv groups
– Oracle Process Manager and Notification Server (OPMN)• Oracle Notification Server (ONS)
»Delivers notifications between components OHS<->OPMN<->OC4J
• Process Manager (PM)»Start, stop, restart, death detection
• Core (Core logic, parses config files, launch scripts)
– Application Server Control (ASControl)
– modplsql or mod_pls is removed from R12
8 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Relationship Between Two Application Server ORACLE_HOMEs
•All major services are started out of the 10.1.3 ORACLE_HOME.•The Applications modules (packaged in the file formsapp.ear) are deployed intothe OC4J-Forms instance running out of the 10.1.3 ORACLE_HOME, while thefrmweb executable is invoked out of the 10.1.2 ORACLE_HOME.
9 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
R12 Patching Enhancement
•Patching R12 Application Oracle Homes– Opatch is used to apply patches to the 10.1.3 and 10.1.2 Oracle Homes.
– Requires access to the Oracle Homes inventory
– List of patches already applied through• Opatch lsinventory – detail
•Application Patching Enhancements– Codelines(12.0:A, 12.1:B) and Codelevels(R12.AD.A.1, R12.AD.A.2)
– Patch prereq checking: only require a codelevel as a prerequisite
– Registering flagged files to understand a patch's impact on customizations
• Replaces the applcust.txt file in 11i• Customized files are now maintained in database format• Display flagged files affected by a patch through impact analysis
10 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
R12 Patching Enhancement
– Patch Application Assistant (admsi.pl) • PAA (Patch Application Assistant) is tool/Perl script to generate
customized installation instructions for a patch in Oracle Applications R12 which helps user to track and perform manual steps during patching.
» CLI or GUI
» $AD_TOP/bin/admsi.pl
» perl $AD_TOP/bin/admsi.pl –cli
– Patch Wizard functionality improvement
– Easy to identify applied patch, file history and patch timing and action summary
11 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Codelevels Summary
12 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Patch Wizard
13 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Applied Patches
14 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Register Flagged Files
15 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Patch Impact Analysis Summary
16 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
R12 Cloning
•Cloning is much easier – Unified APPL_TOP
• In 11i , APPL_TOP have its different name and files in each APPL_TOP will depend on type of Node. Starting from R12, it will use Unified APPL_TOP which means all files required for all middle tier services are included in all nodes of Multi Node installation
»Multi-node to single node, no need to merge APPL_TOP
»Multi-node to multi-node, only one APPL_TOP copy is needed
»Choose or switch services on each node easily.»All nodes will have Y against all services (For multi Node) in FND_NODES table.
•Rapid clone supports RAC and grid computing – RAC support is extended to support ASM as well as features to
expand an existing RAC system by adding a node to an existing RAC cluster.
17 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
11i Apps file system Layout
18 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
R12 Apps file system Layout
19 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Instance Top (New)
•Instance home structure /<BASE>/inst/<context_name> ($INST_TOP)
$INST_TOP/admin/scripts ($ADMIN_SCRIPTS_HOME) (11i, $COMMON_TOP/admin/scripts)
$INST_TOP/appl ($APPL_CONFIG_HOME) context file is under $INST_TOP/appl/admin
11i : $APPL_TOP/admin
$INST_TOP/fnd/12.0.0/secure ($FND_SECURE)$INST_TOP/certs$INST_TOP/logs ($LOG_HOME – autoconfig writes logs here by default)$INST_TOP/ora ($ORA_CONFIG_HOME)$INST_TOP/ora/10.1.2 ($ORACLE_CONFIG_HOME) )$INST_TOP/ora/10.1.3 $INST_TOP/pids$INST_TOP/portal
20 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Benefits of New Layout
•Clear distinction between the location of data, code, and configuration files.
•Configuration and log files are centrally contained in the instance configuration home
•Ability to share code (Applications, Technology Stack) among multiple instances.
•Collection of configuration, logs is much easier since they are centrally located.
•Can split ownership of apps and technology stack file systems.
•Ability to place the configuration home on a Network or a local file system for performance improvement.
21 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Additional New Feature in R12
• Rapid install– Store Base Configuration in Database
• No need to copy config.txt
– Multiple Domain Support for Database and Middle Tier• Rapid Install supports deploying the database node and the middle tier node into different
domains.
– Shared File System Support• Rapid install allows you to select if app servers are using shared appl_top
• No hardcode apps password on unix file system– FNDCPASS Utility New Feature: Enhance Security With Non-
Reversible Hash Password (enhance FND_USER password security)
• Improved Forgot password feature– Retrieve user_name and password
– no workflow inbound process needed
22 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Login Assistance
23 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Login Assistance
24 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Performance Monitor
The performance dashboard now shows RAC cluster info.
25 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Performance Monitor
26 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
PCP Setup
•It is much easier to setup primary/secondary nodes for CM in OAM
27 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
PCP Setup
28 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Agenda
•What’s new in R12–R12 Technology Stack Overview
–R12 Patching Enhancement
–R12 Cloning Enhancement
–R12 File System Layout
–Additional New Features in R12
•What are the Challenges
•Lessons learned from real world R12 RAC implementation for Product Data Hub
29 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Challenges in R12
•Configuration files
•Log files
•Miscellaneous challenges
•Prepare custom codes if upgrade to R12
30 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Configuration Files (1)
• <apps_base>/inst/apps/<context_name>/ora/10.1.3
– <context_name>.env
– /Apache/Apache/conf
• apps.conf, httpd.conf, oracle_apache.conf, ssl.conf
• dms.conf, mod_oc4j.conf, security.conf, url_fw.conf
– /config
• ias.properties (used by EM agent)
– /opmn/conf/opmn.xml– /j2ee/oacore/config
• applications.xml, default-web-site.xml, global-web-application.xml
• j2ee-logging.xml, jms.xml, oc4j-connectors.xml, oc4j.properties,
• rmi.xml, server.xml, system-application.xml, system-jazn-data.xml
– /j2ee/oacore /application-deployments/oacore
• orion-application.xml
– /j2ee/oacore /application-deployments/oacore/html
• orion-web.xml
31 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Configuration Files (2)
Jserv.conf & Jserv.properties in 11i are replaced with
• Oc4j.properties : defines basic Apps directory aliasing
• Server.xml : defines J2EE applications and their shared libraries for runtime OC4J and points to other XML configuration files (rmi.xml,jms.xml, application.xml, global-web-application.xml, default-web-site.xml and etc)
• Orion-application.xml : defines location of Java classes of all J2EE web modules deployed under J2EE application
• Orion-web.xml : defines servlet level parameters for J2EE web modules
Reference:
Oracle® Containers for J2EE Configuration and Administration Guide 10g (10.1.3.1.0)
32 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Log Files (1)
$LOG_HOME/ora/10.1.3
Apache
error_log.1226534400, access_log.1226534400, ssl_engine_log
Opmn• opmn.log• OC4J~forms~default_group~1.log• OC4J~oafm~default_group~1.log• OC4J~oacore~default_group~1.log• oacore_default_group_1
» oacorestd.err , oacorestd.out• forms_default_group_1
» formsstd.err formsstd.out• oafm_default_group_1
» oafmstd.err oafmstd.out
33 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Log Files (2)
j2ee• Oacore
»oacore_default_group_1 (application.log global-application.log jms.log log.xml rmi.log server.log system-application.log)
• Forms
»forms_default_group_1(application.log global-application.log jms.log log.xml rmi.log server.log system-application.log
• Oafm
»oafm_default_group_1
application.log jms.log rmi.log
ascontrol-application.log log.xml server.log
global-application.log mapviewer-application.log system-application.log
34 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Miscellaneous Challenges
•R12 Cloning considerations– Dependency on AutoConfig as a post step to everything - increased downtime
might be needed.
– Problems with standard cp command in both Solaris (cp -Rh) and HP-UX(cp -R) (Cloning)
• 603104.1 Troubleshooting RapidClone issues with Oracle Applications R12
• Note:406982.1 Cloning Oracle Applications Release 12 with Rapid Clone
• 6776948 : R12 RAPIDCLONE CONSOLIDATED FIXES JUL/2008
•Problem with starting web services if web server crashed– Need start, stop,start
– Delete the lock file under persistence folder• $ORA_CONFIG_HOME/10.1.3/j2ee/forms/persistence/forms_default_group_1/jms.state.lock,
$ORA_CONFIG_HOME/10.1.3/j2ee/oacore/persistence/oacore_default_group_1/jms.state.lock
$ORA_CONFIG_HOME/10.1.3/j2ee/oafm/persistence/oafm_default_group_1/jms.state.lock
35 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Preparing Custom Development if Upgrade to R12
• Mod_plsql If you have custom development on mod_plsql, you should migrate your Web pages to Oracle
Application Framework • Oracle Reports Server Reports
– Convert the reports to Oracle XML Publisher (some automated tools are available to help you)
– Convert the reports to Oracle Application Framework ( no automate tool to help you)
– Run the reports through the Concurrent Manager (rewrite any charts using the Oracle Reports Charting tool (BI Chart Bean), this method will not be supported in Oracle
Fusion Applications) • Oracle Graphics Integrations with Oracle Forms
– Convert both the form and the chart to an Oracle Application Framework-based application.
– Convert the chart to an Oracle Application Framework-based page that can be launched from Oracle Forms. (it will not be supported in Oracle Fusion Applications )
36 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Agenda
•What’s new in R12–R12 Technology Stack Overview
–R12 Patching Enhancement
–R12 Cloning Enhancement
–R12 File system Layout
–Additional New Features in R12
•What are the Challenges
•Lessons learned from real world R12 RAC implementation for Product Data Hub
37 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Gig. Ethernet
Gig. Ethernet
Gig. Ethernet
FABRIC -AA
Load Balancing BIGIP-3DNS-Cluster
Client Network and VPN
Fabric
DB/ APP - Zone
WEB - Zone
SERVER - Zone
PDH PROD Instance
SAN
Firewall
Tucson Internal Production Network
OS: RHEL 4Oracle RDBMS: 10gR2Oracle Apps: 12
https:/ / pdh.ges.symantec.com
PDH WEB & FORMS
1 x Dell 2950
2 CPU, 16GB RAM
PDH DB /CM
1 x Dell 2950
8 Core, 16GB RAM
PDH-600GB
Firewall
PDH WEB & FORMS
1 x Dell 29502 CPU, 16GB RAM
PDH Share APPLTOP
100gb
PDH DB /CM
1 x Dell 2950
8 Core, 16GB RAM
Oracle RAC
Product Data Hub - R12 RAC Implementation
SOA/AIA ERP(11.5.9)
38 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
R12 RAC Implementation
• Fresh installed of R12 as multi-nodes
• Applied R12 RUP4 (RUP6 is available)
• Upgrade database to 10.2.0.4 and applied DST v7 patch – Note:454750.1 Oracle Apps Release 12 with Oracle Database 10.2.0 interoperability notes
• Upgrade tech stack 10.1.3.3– Note 454811.1 Upgrading Oracle E-Business Suite Release 12 10.1.3 Oracle Home to
Oracle 10gAS Patch Set 3 (10.1.3.3)
• Upgrade tech stack to 10.1.2.2.2– Note:437878.1 Upgrading Forms and Reports 10g in Oracle Applications Release 12
• Upgrade JDK to 1.6– Note 455492.1 Using Latest Update of Java 6.0 with Oracle E-Business Suite Release 12
• Convert database to 2-node RAC– Note:388577.1 Using Oracle 10g Release 2 Real Application Clusters and Automatic
Storage Management with Oracle E-Business Suite Release 12
• Setup PCP
• Setup load balance on web servers– Note:727171.1 Implementing Load Balancing On Oracle E-Business Suite - Documentation
For Specific Load Balancer Hardware
– Note 380489.1 Using Load-Balancers with Oracle E-Business Suite Release 12
39 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Lesson Learned
1. Hostname on concurrent manager tier can not exceed 30 character
– FND_CONCURRENT_QUEUES
– TARGET_NODE VARCHAR2(30)
2. Check if /etc/hosts has correct entry– 155.64.164.112 tus1mdmdbssin01.ges.symantec.com
tus1mdmdbssin01
3. VM or Physical server ?
4. Firewall between application nodes ?– Java object cache port need opened
– s_java_object_cache_port need to be set
– s_fnd_jdbc_usable_check set to true
40 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Lesson Learned
5. Bug in adpatch
6. Enable automatic compilation of JSP pages in R12
In Release 12 the (automatic) compilation of JSP is disabled and on runtime only the pre-compiled JSP's are picked up (change justrun to recompile)
<jsp_debug_parameters oa_var="s_jsp_main_mode">recompile</jsp_debug_parameters> $INST_TOP/ora/10.1.3/j2ee/oacore/application-deployments/oacore/html/orion-web.xml <init-param> <param-name>main_mode</param-name> <param-value>recompile</param-value> </init-param>
7. Custom top
– You can define your custom top in the context file. So all the configure files will have your custom top info
41 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Lesson Learned
9. Bug in R12 on RAC– jdbc connection is not using the service_name
– ORA-12505, TNS:listener does not currently know of SID given in connect descriptor
10. Avoid timeout issue?– load balancer persistence or stikiness should be set to session cookie
– check s_oc4j_sesstimeout and s_sesstimeout• $ORA_CONFIG_HOME/10.1.3/j2ee/oacore/application-deployments/oacore/html/orion-
web.xml
11. Using NAS for shared APPL_TOP?– $INST_TOP on local disk to avoid performance issue
12. Gather system stats for CPU and IO– execute DBMS_STATS.CREATE_STAT_TABLE ('SYS','OLTP_stats');
– execute DBMS_STATS.GATHER_SYSTEM_STATS (gathering_mode => 'INTERVAL', interval => 60, stattab => 'OLTP_stats', statid => 'OLTP');
– select * from aux_stats$
42 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Summary
•New Features in R12–R12 Technology Stack
–R12 Patching Enhancement
–R12 Cloning Enhancement
–R12 File system Layout
–Additional New Features in R12
•Challenges in R12–Configuration files and log files
•Lessons learned from R12 implementation
43 / 13th November 2008 / What’s new in R12 for application DBA, C Huang
Acknowledgement
• I would like to express my gratitude to Ravi Chalpe for his mentoring and encouragement
• I also would like to thank Ajav Arya for his valuable input for the presentation
Charlene HuangASM Corporate SupportEDS, an HP CompanyOffice: 650-527-4568 Mobile: 408-807-0703 [email protected] [email protected]
EDS and the EDS logo are registered trademarks of Hewlett-Packard Development Company, LP. HP is an equal opportunity employer and values the diversity of its people. ©2008 Hewlett-Packard Development Company, LP.
Thank you
Q&A