Beruflich Dokumente
Kultur Dokumente
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
Program Agenda
1
12.2 Architecture
Tuning Recommendations
Best Practices
Resources
Q&A
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
Program Agenda
1
12.2 Architecture
Tuning Recommendations
Best Practices
Resources
Q&A
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
12.2 Architecture
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
12.2 Architecture
Difference between 12.1 and 12.2 Techstack
Application 12.1
Application 12.2
OC4J
WebLogic Server
JSP
WebLogic JSP
BC4J
UIX
Web Listener
Web Listener
10g
BC4J
UIX 11g
BI Publisher
BI Publisher
Forms
Forms
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
12.2 Architecture
Difference between 12.1 and 12.2 Techstack
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
12.2 Architecture
Tuning Recommendations
Best Practices
Resources
Q&A
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
10
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
11
Program Agenda
1
12.2 Architecture
Tuning Recommendations
Best Practices
Resources
Q&A
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
12
Tuning Recommendations
Parameters to be tuned
Proactive Monitoring
Data Source Connection Pool Diagnostics
Managed server light-weight mode
Enabling Java Flight Recording
Recommended Patches.
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
13
Tuning Recommendations
Proactive Monitoring Heap Usage
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
14
Tuning Recommendations
Creating Heapdump
No overhead involved with this option unless an OutOfMemory error actually occurs.
Strongly recommended for production systems as it is often the only way to further
analyze the problem.
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
15
Tuning Recommendations
Creating Heapdump
For Adminserver
Add the below parameters to s_nm_jvm_startup_properties Context variable:
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=<path>
For Managed Servers
Add this to the Configuration --> Server Start -> Arguments section of the managed
server through the WLS Console.
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
16
Tuning Recommendations
Creating Heapdump
Managed server -> Configuration --> Server Start -> Arguments
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
17
Tuning Recommendations
Proactive Monitoring Thread Pool status
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
18
Tuning Recommendations
Proactive Monitoring Thread Pool details
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
19
Tuning Recommendations
Connection Leaks
They are associated with managed servers (such as oacore and forms)
Connections are checked out, and then returned to the data source when
the request is complete
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
20
Tuning Recommendations
Monitoring For Connection Leaks
Services -> Data Sources -> EBSDataSource -> Monitoring
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
21
Tuning Recommendations
Monitoring For Connection Leaks
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
22
Tuning Recommendations
Data Source Connection Pool Diagnostics
Leaked Connection Count will need the Inactive Connection Timeout (ICT)
parameter to be turned on
23
Tuning Recommendations
Data Source Connection Pool Diagnostics Level 1 Diagnostics
Navigate to Services -> Data Sources -> EBSDataSource -> Connection Pool -> Advanced
(Expand Arrow).
Update the Inactive Connection Timeout to the desired value in seconds: for example,
a setting of 3600 for one hour.
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
24
Tuning Recommendations
Data Source Connection Pool Diagnostics Level 1 Diagnostics
This is the least invasive level, and involves setting the Inactive Connection Timeout
parameter (ICT) Requires Bounce.
Note: This parameter will force-reclaim non-leaked idle connections that are
intentionally reserved/cached and idle for more than the configured.
The ICT value must be set high enough both to allow the data source to reclaim
connections naturally to cycle through two iterations:
25
Tuning Recommendations
Monitoring For Connection Leaks
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
26
Tuning Recommendations
Data Source Connection Pool Diagnostics Level 1 Diagnostics
Monitor the system, and after two iterations review the following files
from the run file system.
$EBS_DOMAIN_HOME/servers/servername/logs/managed_server#.log
$EBS_DOMAIN_HOME/servers/servername/logs/managed_server#.out
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
27
Tuning Recommendations
Data Source Connection Pool Diagnostics Level 2 Diagnostics
May help when the Level 1 diagnostics stack did not provide sufficient
information.
28
Tuning Recommendations
Data Source Connection Pool Diagnostics Level 2 Diagnostics
Services -> Data Sources -> EBSDataSource -> Configuration -> Diagnostics
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
29
Tuning Recommendations
Data Source Connection Pool Diagnostics Level 2 Diagnostics
Monitor the system and review the following log from the run file system.
$EBS_DOMAIN_HOME/servers/logs/*datasource.log
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
30
Tuning Recommendations
Managed server light-weight mode
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
31
Tuning Recommendations
Managed server light-weight mode
Managed server -> Configuration --> Server Start -> Arguments
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
32
Tuning Recommendations
Enabling Java Flight Recording
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
33
Tuning Recommendations
Steps to enable JFR
1. Log in to the Oracle E-Business Suite application tier.
3. To enable JFR for the Oracle WebLogic Server managed servers, run the following
command:
$ perl $FND_TOP/bin/txkrun.pl -script=FlightRecorder enable=oacore_server1,forms_server1 -contextfile=$CONTEXT_FILE
4. After running the enable command, restart the managed servers to put the change into
effect.
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
34
Tuning Recommendations
Using Java Mission Control
DEMO
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
35
Tuning Recommendations
Using command-line
After the JFR feature is enabled, JFR recordings can be managed by running the jcmd command
with the desired action appended, plus any applicable options:
jcmd <PID>.<action> [options]
For all command line options, Please refer to Java Platform, Standard Edition Java Flight
Recorder Runtime Guide
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
36
Program Agenda
1
12.2 Architecture
Tuning Recommendations
Best Practices
Resources
Q&A
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
37
Best Practices
Managed Servers JVM Tuning
For best response time results, use multiple managed instances instead of
one with higher memory.
oacore_cluster
oacore_server1
4 GB
oacore_cluster
oacore_server1
2 GB
oacore_server2
2 GB
Make sure adequate Physical memory available on the server when you
tune heap space
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
38
Best Practices
Modifying the JVM properties for AdminServer
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
39
Best Practices
Oacore JVM Configuration
Note: You should always size your systems based on tests using
representative data and workloads for your own environment.
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
40
Tuning Recommendations
Tuning JVM Heap
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
41
Best Practices
Managed Servers Adding/Removing Managed Servers
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
42
Best Practices
Recommended Critical Patches
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
43
Best Practices
Recommended Tech Stack Upgrades
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
44
Best Practices
Engaging
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
45
Program Agenda
1
12.2 Architecture
Tuning Recommendations
Best Practices
Resources
Q&A
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
46
Resources
Useful 12.2 Document References (Doc ID 1585889.1)
Managing Configuration of Oracle HTTP Server and Web Application
Services in Oracle E-Business Suite Release 12.2 (Doc ID 1905593.1)
Oracle E-Business Suite 12.2 Data Source Connection Pool Diagnostics (Doc
ID 1940996.1)
Applying the Latest AD and TXK Release Update Packs to Oracle E-Business
Suite Release 12.2 (Doc ID 1617461.1)
Oracle E-Business Suite Applications DBA and Technology Stack Release
Notes for R12.AD.C.Delta.8 and R12.TXK.C.Delta.8 (Doc ID 2159750.1)
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
47
Resources
Oracle E-Business Suite Release 12.2: Consolidated List of Patches and
Technology Bug Fixes (Doc ID 1594274.1)
Oracle E-Business Suite Release 12.2.5 Readme (Doc ID 1983050.1)
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
48
Q&A
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
49
Copyright 2015, Oracle and/or its affiliates. All rights reserved. | Oracle Confidential Internal/Restricted/Highly Restricted
50