Tuning OEM
Tuning OEM
Tuning OEM
Eliane Le Noc
Technical Engineer
Customer Support Services
Agenda
Business-Driven IT Management
EM Users:
Web Console
Reports
Agent
Repository
Database
Agent
Management
Server
Internet
MOS
Agent
Reactive
Proactive
No Outage
Outage
Time sensitive crisis
(infrastructure is unavailable)
Low or no availability
Downtime of an component
(no monitoring visibility)
Corrective Actions
Recovery (Example: Recover OMS
configuration)
Preventive Measure
Tune whats running before failure
Need: timely
notifications
Need: trending
Agenda
10
11
Database Tier
Monitoring the Repository Database
Health
Database monitoring
Performance
Database performance
pages
AWR / ADDM / ASH
Where to look
Repository database homepage, the performance pages and the database
advisors
Management Services and Repository pages: Overview page
12
Database Tier
Repository Database Best Practices
Database in general:
Make sure all database components are discovered
(RAC, ASM, Data Guard, Listeners, )
Use the database diagnostics tools
(ADDM, AWR, ASH, other advisors)
Keep software up-to-date
(Latest PSU bundle)
13
14
Database Tier
Monitoring The Repository
Health
Schema objects
Repository Operations
(Housekeeping jobs)
Performance
Backlog indicators and throughput
for incoming notifications and
repository operations
Where to look
Management Services and
Repository pages: Overview and
the Repository Operations page.
15
Database Tier
Repository Best Practices
Specific for Oracle Enterprise Manager:
Alerts on Housekeeping jobs health
Metric = DBMS Job Status
Setup notifications for backlog indicators
Metrics = Collections Waiting To Run, Files Pending Load, Job
Dispatcher Job Step Average Backlog, Notifications Waiting
Define Agent out-of-band Agent Response Action for the Response
and Notification Status metrics
16
Middle Tier
Monitoring The Management Server (OMS)
Health
Application Server monitoring
WebLogic (WLS) starting EM11g
Application Server (OAS) for EM10g
Performance
Middleware Management and
Diagnostics packs
JAVA Diagnostics (AD4J)
Where to look
WebLogic homepage for the Management Server
Management Services and Repository pages: Both the Overview and the
Management Services pages
17
Middle Tier
Best Practices
Application Server:
Alerts for the Middleware stack events
Setup log rotation for EM10g (Done out-of-box in EM11g)
Keep software up-to-date
(Latest PSU bundle)
18
Agent Tier
Monitoring Agents
Health
Host Monitoring
System errors
Performance
Host management pages
Where to look
Management Agent pages
Management Services and Repository Overview page
19
Agent Tier
Best Practices
Oracle Enterprise Manager application:
All Agents should be Up
Use blackouts for scheduled maintenance
No blocked Agents: Resync the Agent in case of recovery
Timezone specified for the Agent has to match the timezone of the host
Compare the output of the date command (Or TZ environment variable) with the
agentTZRegion property of the emd.properties file
20
Summary
Common infrastructure things to look at
Backlog
Combination of pending work, throughput per second, and time
spent per hour
Target availability
To have up-to-date information, Agents need to be available, and
targets need to be up
For more info on infrastructure best practices Thu 10:30pm Moscone S Rm 102
S316996: Oracle Enterprise Manager Grid Control Deployment Best Practices
21
Agenda
22
23
For RAC:
Make sure the database connections are balanced: Roughly equal
number of sessions per instance
24
25
26
Look for repeating loader errors from the Errors subtab of the Management
Services and Repository pages
27
Blocked Agents are not allowed to upload or communicate with the OMS
anymore (See the Blocked Agents page for the list of affected Agents)
An Agent gets blocked after:
An incomplete recovery (information out of sync)
Administrator manually blocking the Agent
28
If the Agent can not execute the metric in time, the following message is
logged in the agent trace file:
SchedEntry{<type>:<name>:<metric>}
exceed next scheduletime, delay=<number of seconds>
29
30
Management Server:
Management Services And Repository pages
Determining capacity is a combination of:
31
Management Server:
Tune operational parameters (emoms.properties)
32
MaxInComingConnections
MaxOCIConnectionPerTarget
RemoteAPITimeout
...
33
Agenda
34
35
Setup proxy server to connect to external sites if needed for patching and security
recommendations
2
From a SR
From a Knowledge Document
From Recommendations
From a Patch Search
37
Knowledge Base
How to Browse and Search
By Product
GridControlGeneric
MgmtGCConsole
MgmtAgent
Narrow
the Search
MgmtRepository
with
Refinements
MgmtService
MgmtAgent HA
MgmtRepository HA
MgmtService HA
38
Knowledge Base
Search for an Error
You get an error in the Grid Control Console ?
Copy/paste the error in the Knowledge Advanced Search Field
39
40
Benefits:
The diagnosis can begin as soon as the SR is received without unnecessary SR
updates to get the information needed.
Providing the RDA at the SR Logging time decreases the Resolution Time.
41
42
43
EMDIAG:
Set of diagnostic tools for Oracle Enterprise Manager
Repository side diagnostics (repvfy)
Agent side diagnostics (agtvfy)
44
45
Showing information
$ agtvfy show <command>
46
47
Log files
Performance
Status &
Configuration
48
49
Q&
A
50
Appendix
51
Operational aspects
Common target monitoring and
administration
Infrastructure maintenance
Debugging and diagnostics
52
Monday, Sept. 20
Location
Moscone S Rm 102
Moscone S Rm 310
Moscone S Rm 252
Moscone S Rm 303
5:00 p.m.- Application Change & Configuration Management: Tales from the
Trenches
Moscone S Rm 102
Moscone S Rm 305
5:00 p.m.- Managing Oracle WebLogic Server: New Features and Best
Practices
53
Tuesday, Sept. 21
Location
Moscone S Rm102
Moscone S Rm 309
02:00 pm - Smart Database Administration: Cool New Features for Power DBAs
Moscone S Rm104
02:00 pm - Application Testing in the Cloud: Smart Testing for Agile Enterprises
Moscone S Rm 309
Moscone W L2, Rm
2024
Moscone S Rm 102
Moscone S Rm 104
Moscone S 270
54
Wednesday, Sept. 22
Location
Moscone S Rm 102
Moscone S Rm 104
Moscone S Rm 310
12:30 pm Extracting Real Value from Your Data with Apache Hadoop
Moscone S Rm102
Moscone S Rm102
Moscone W L3, Rm
3018
55
Thursday, Sept. 23
Location
09:00 am - Reduce TCO with Oracle Application Management Pack for Oracle EBusiness
Suite
10:30 am - Managing Sun SPARC Servers with Oracle Enterprise Manager Ops Center
10:30 am - Heterogeneous Data Masking: Oracle, SQL Server and DB2 Database Best
Practices
12:00 pm - Scalable Enterprise Data Processing for the Cloud with Oracle Grid Engine
12:00 pm - Spot Problems Before Your Users Call: User Experience Monitoring for Oracle
Apps
12:00 pm - Reduce Problem Resolution Time with Oracle Database 11g Diagnostic Framework
56
Thursday, Sept. 23
Location
1:30 pm - Deep Java Diagnostics and Performance Tuning: Expert Tips and
Techniques
3:00 pm - The X-Files: Managing the Oracle Exadata and Highly Available
Oracle Databases
57
Marriott Hotel,
Salon 12/13, YB Level
Marriott Hotel,
Salon 12/13, YB Level
05:00 pm - 06:00 pm Oracle Application Mgmt. Pack for Oracle E-Business Suite: Monitor/Clone
Using Oracle Application Change Management Pack for Oracle E-Business Suite
12:30 pm - 01:30
Marriott Hotel,
Salon 12/13, YB Level
Marriott Hotel,
Salon 12/13, YB Level
Marriott Hotel,
Salon 12/13, YB Level
pm
02:00 pm - 03:00
pm
03:30 pm - 04:30
pm
Wednesday September 22, 2010
04:45 pm - 05:45
Marriott Hotel,
Salon 12/13, YB Level
pm
04:45 pm - 05:45
pm
Marriott Hotel,
Salon 12/13, YB Level
Marriott Hotel,
Salon 12/13, YB Level
am
10:30 am - 11:30 am
58
LOCATION
Moscone West
Moscone West
Moscone West
Moscone West
Moscone West
Moscone West
Moscone West
Moscone West
Moscone West
Moscone West
Moscone West
Moscone West
Moscone West
Moscone West
Moscone West
Moscone West
Moscone West
59
Oracle.com/enterprisemanager11g
60
Blogs:
http://blogs.oracle.com/oem
Forums:
MyOracle Forums -> Technology Products & Solutions -> Enterprise Manager
61
62
63
Oracle OpenWorld
Beijing 2010
December 1316, 2010
64
Oracle OpenWorld
65
Oracle Store
Buy Oracle license and support
online today at
oracle.com/store
66
67