22. Setting up Metrics and Monitoring
• Create
central
administrator
to
own
Incident
Rule
Sets,
Templates
and
Jobs
• OEM_ADMIN
• Test
Incident
Rule
Sets
periodically
• Create
Like
or
Use
Private
Rule
Sets
• Use
the
Metric
threshold
test
• Use
CorrecLve
AcLons
• Incident
Manager
• Extend
monitoring
• Storage
Plug-‐ins
• EM
Extensibility
Exchange
• Automate
rouLne
tasks
using
EMCLI
29. 1/ Database Lifecycle Management
■ Database Patching & Updates
▪ 5 Step Process to patch many DBs
— Patch Description
— Select the patches to apply and the targets
— Deployment options
— Patch Validation & Analysis
— Review and Deploy
▪ More automation with EMCLI
— emcli submit_patch_plan
32. 3/ EM Command Line Interface
■ Turbo charges EM!
■ Enables Script Automation
■ Install from OEM Console
■ Standard or Advanced with Scripting Option
37. 5/ Backup & Recovery
When I ask the sysadmins, “The backups are making it to tape,
right?”
-DBA Reactions
38. 5/ Backup & Recovery
■ RMAN Backup
▪ Target-based RMAN backup
— Wizard-driven interface
— Oracle-Suggested or Customized Backup
▪ Job System based RMAN backup
— Use existing RMAN scripts
▪ Group Backups using deployment procedure
— Backup multiple databases, homes and filesystems in a single
operation
40. 6/ Corrective Actions
■ Resolve Incidents, Automagically!
■ Automate routine administrative tasks
■ Triggered in response to metric alerts
■ Runs on the target on which alerts are triggered
■ Agent-side response actions can execute single commands
or scripts on host
41. 7/ Automatic Database Diagnostics Monitor
ADDM
Compare Period ADDM
“Why is the database slower today than yesterday?”
Compares database activity over two periods of time
42. 7/ Automatic Database Diagnostics Monitor
ADDM
■ Real-Time ADDM
▪ Analyzes hung or very slow DB
▪ Finds sources of contention
▪ Performs DB Time Analysis
▪ Uses 2 connection modes
— Normal JDBC connection
— Latch-less connection
▪ Enhanced Real-Time ADDM (DB 12c)
49. 9/ Metric Extensions
• Many
out-‐of-‐the
box
metrics
available
• If
there
isn’t
you
can
create
your
own
• Create
using
adapters
• SQL
• PL/SQL
• Shell
Scripts
• Useful
for
re-‐using
exisLng
scripts
50. 9/ Metric Extensions
Example
• Flash
Recovery
Area
(FRA)
being
used
• Archived
Used
(%)
doesn’t
trigger
• Recovery
Area
(%)
Used
not
modifiable
• Warning
85%
• CriLcal
97%
• Create
new
FRA
Used
(%)
Metric
• See
New
EM12c
Extensibility
Exchange
for
examples
51. 10/ AWR Warehouse (AWRW)
■ Used for consolidation of AWR from multiple databases
■ Provides long term historical information for AWR
■ Data is moved from source to targets system via ETL jobs
■ Retention period can be modified
■ See MOS note 1907335.1 for patches and requirements