Você está na página 1de 43

Getting the Most from Oracle EM Grid Control

Kevin C. Patterson
Solution Architect
The following is intended to outline our general
product direction. It is intended for information
purposes only, and may not be incorporated into any
contract. It is not a commitment to deliver any
material, code, or functionality, and should not be
relied upon in making purchasing decisions.
The development, release, and timing of any
features or functionality described for Oracle’s
products remains at the sole discretion of Oracle.
Agenda

• Oracle Enterprise Manager 10gR3 Overview


• Architecture
• Deployment Options
• Monitoring & Administration
• Management Packs
• Management Plug-Ins and Connectors
• New and Upcoming Features
• 10gR4 Grid Control Release
• 11i Database DB Control
Enterprise Manager Overview
• Best Management for Oracle
– Automation: Grid, provisioning, patching, etc.
– Deep, complete, integrated & pre-packaged solutions
– Manageability uniquely built into our enterprise software and tool
• Broad Applications and Systems Management Support
– Business services, applications, database, middleware, host/OS,
network, storage and IT assets
– Integration with 3rd party management and trouble-ticketing systems
• Complete Application Lifecycle Management
– Packaged and customer built applications
– Running on Oracle and non-Oracle Infrastructure
– Business and Compliance dashboards

Improve Manageability/ Reduce Costs & Deliver Higher Quality of Service


Enterprise Manager
Breadth of Capabilities

Enterprise
Manager

Application Management

Extensibility and Interoperability


Dashboards and Reports

(Open Standards, Open Interfaces)


Oracle Infrastructure Management

Extended Infrastructure Management

Application Service
Configuration
Automation Performance Level
Management
Management Management

CMDB
(Discover & Reconcile)
Oracle10g Enterprise Manager
Architecture

Grid Control
Console
HTTP(S) Firewall

Grid Control Thin Management


Management JDBC Repository
Server
Firewall
Managed Targets HTTP(S) HTTP(S) HTTP(S)
Agent Agent Agent Agent

HTTP(S)
HTTP(S)
10g/11g DatabaseOracle 10g/11g 10g Application Server
Oracle 8i/9i OS/ Third-Party Oracle 10g
Control Console Database Control Console
Database Application Application
Server Server Server
Deployment Options
Grid Control vs. Database Control

Feature Grid Control Database Control

Installation Separate Database 10g

Enterprise Manager repository Centralized In local 10g database

Enterprise Manager agent One per host in separate home One per 10g database home

Target types Many Single 10g database

# of targets Many One

EM job system Yes Yes

Cluster database (RAC) Yes Yes

Standby database (Data Guard) Yes No

Configuration management Enterprise-wide Local system

Provisioning/ Patching/ Cloning Yes Some


EM Grid Control
Monitoring and Administration

Monitoring
Enterprise Health Status Automation - Job System
Targets Availability Create Job
All Targets Alerts: Critical. Warning, Monitor Job Status
Collection Errors Job Search
All Target Jobs Status
Host/DB Performance Overview EM Framework
Real Time Performance Monitoring Create/Delete EM Administrators
Application Server Monitoring Manage Preferred Credentials
Create/Modify/Delete Roles
Create/Modify/Delete Preferences
Administration  SDK (Extensibility)
Database Administration  Enterprise Reporting
Create/Manage Groups
Application Server Administration

8
Oracle Enterprise Manager 10g
Management For Today’s Data Center

Applications

• Configuration Management
• Service Level Management
Middleware

• Application Performance Mgmt


• Lifecycle Management
Databases
• Dashboards
Operating Systems
Enterprise Manager Management Packs
Oracle Database
• Diagnostics Pack
• Tuning Pack
• Configuration Management Pack
• Change Management Pack
• Provisioning Pack
Oracle Application Server
• Diagnostics Pack
• Configuration Management Pack
• Provisioning Pack
Oracle SOA Suite
• SOA Suite Management Pack
EM Management Packs (continued)
Oracle Identity Management
• Identity Management Pack
Standalone
• Configuration Management for Non-Oracle Systems
• Provisioning Pack
• Service Level Management Pack
• Linux Management Pack
Applications
• E-Business Suite Management Pack
• Peoplesoft Management Pack
• Siebel Management Pack
Roadmap:Plug-ins & Connectors
• Non-Oracle Databases
• Microsoft SQL Server 2000/2005 • Non-Oracle Middleware
• IBM DB2 Database • JBoss Application Server
• Sybase ASE • BEA WebLogic Server
• Network Devices • IBM WebSphere Application Server
• Juniper Netscreen Firewall • IBM WebSphere MQ
• F5 BIG-IP Local Traffic Manager
• Microsoft Active Directory
• Check Point Firewall
Blue Lane PatchPoint Manger • Microsoft Internet Information Server

• Nortel Alteon Application Switch • Microsoft .NET Framework
• Non-Oracle Storage Devices • Microsoft BizTalk Server
• EMC Celerra Server • Microsoft Commerce Server
• EMC Symmetrix DMX System • Microsoft Internet Security and Acceleration Server
• NetApp Filers • Apache Tomcat
• EMC Clarion Server
• Microsoft Exchange Server
• Onaro SANScreen
Pillar Data Systems Axiom
• Sun Directory Server

• Novell eDirectory Server
• Host Systems
VMware ESX
• Citrix Presentation Server

• Supported Platforms (Linux, Windows, Unix) • Connectors
• Dell PowerEdge Servers • BMC Remedy Help Desk
• Egenera pServer • Microsoft Operations Manager
• Applications • PeopleSoft Enterprise HelpDesk
• SAP R/3
• Siebel HelpDesk
• BEZ BEZProphet
• NEC, Hitachi, Fujitsu
• HP OpenView
Released by Oracle
Released by Partner
Coming by Oracle
Coming by Partner
My Favorite Grid Control Feature

User-Defined Metrics
Oracle Grid Control 10.2.0.4

• New Management Packs


• Data Masking Pack
• Enhanced Application Server Diagnostics Pack
• Java Application Diagnostics Expert (JADE)
10gR4
What is data masking?

What LAST_NAME SSN SALARY


• The act of anonymizing customer, AGUILAR 203-33-3234 40,000
financial, or company confidential data BENSON 323-22-2943 60,000
to create new, legible data which
D’SOUZA 989-22-2403 80,000
retains the data's properties, such as
its width, type, and format. FIORANO 093-44-3823 45,000

Why
• To protect confidential data in test
environments when the data is used
LAST_NAME SSN SALARY
by developers or offshore vendors ANSKEKSL 111—23-1111 40,000
• When customer data is shared with 3rd BKJHHEIEDK 111-34-1345 60,000
parties without revealing personally KDDEHLHESA 111-97-2749 80,000
identifiable information FPENZXIEK 111-49-3849 45,000
10gR4
Enterprise Manager
Data Masking Pack
k
s
a
M Test
Clone Clone
Test
Production Staging

Major features
• Automatic database referential
integrity when masking primary keys
• Implicit – database enforced
• Explicit – application enforced
• Data mask format library
• View sample data before masking
• Application masking templates
• Define once; execute multiple times
Application Management is critical

“Approximately 40 percent of service


downtime is caused by application-related
failures, and is even higher for the newer
generation of SOA applications.”

---Gartner Report, January 2006


10gR4
Oracle Enterprise Manager 10g
Strengthening APM solution

Reduce time to
Applications resolution
• Configuration Management
• Diagnose problems
• Service Level Management in production
Middleware

• Application Performance Mgmt • View all java activity:


instrumentation not
• Lifecycle Management needed
Database
• Dashboards • Trace transactions
across tiers, into the
Operating Systems
Oracle DB
10gR4
Java Application Diagnostics Expert (JADE)
New in EM 10gR4
1. No performance overhead
and instrumentation complexity of
Wily / Quest / etc.
2. Transaction tracing
capability
• Java transactions
to DB sessions
• DB sessions to Java
transactions
1. Included with New AS Diagnostics
pack**

**Available to existing AS Diagnostic Pack customers for an additional fee


Oracle 11g Database Manageability
Manageability Evolution

Adaptive
Auto-Tuning

d
Integrate
Advisory
t
Low Impac
Instrumentation

Replication
Recovery
RAC
Apps/SQL
Memory
Backup
Storage

Schema
Manageability Comparison of
Oracle Database 9i, 10g, and
11g
100%

75%
9i
50% 10g
11g
25%

0%
T ime Steps
Summary
Oracle 9i vs. 10g Oracle 10g vs. 11g
 44% less time  26% less time
 47% fewer steps  31% fewer steps
ADDM Enhancements
ADDM for RAC
Database-Level ADDM

• A Performance Expert, now a


RAC Specialist too!
Self-Diagnostic Engine • Identifies the most “Globally
Significant” performance issues
• Automatically runs every hour
• Cluster-wide analysis of:
• Global cache interconnect issues
• Lock manager congestion issues
Instance-Level ADDMs
• Global resource contention, e.g.
IO bandwidth, hot blocks
• Globally high-load SQL
• Skew in instance response times
Node 1 Node 2 Node 3
Automatic SQL Tuning
SQL Tuning in Oracle Database 10g

Evaluate
Implement Recommendations

Workload DBA DBA


Generate
Recommendations

one hour
DBA

ADDM Invoke
Advisor SQL Tuning
AWR SQL Tuning Advisor
Candidates
Some meaningful automation,
but the DBA is still required
Automatic SQL Tuning in Oracle
Database 11g
Implement Test SQL Profiles
SQL Profiles

Workload
Generate
Recommendations

Choose
Candidate
SQL SQL Tuning
one Candidates
week It’s Automatic!

View Reports /
AWR Control
DBA Process
Partition Advisor
SQL Access Advisor:
Recommendations
SQL Access
Advisor

SQL cache
Workload
Hypothetical

STS
Filter
Options

Indexes Materialized Materialized Partitioned


views views log objects
Fault Diagnostic Automation
EM Support Workbench Overview

• Wizard that guides you through the process of handling problems


• You can perform the following tasks with the Support
Workbench:
• View details on problems and incidents
• Run heath checks
• Generate additional diagnostic data
• Run advisors to help resolve problems
• Create and track service requests through MetaLink
• Generate incident packages
• Close problems once resolved
Support Workbench
Ease Diagnosis: Automatic Diagnostic
Workflow Automatic
Diagnostic
Critical
Error Repository

DBA

Alert DBA
Auto incident creation
1 2 Targeted health checks
First failure capture Assisted SR filling

No Known
DBA bug?

Yes
EM Support Workbench:
4 Package incident info EM Support Workbench:
Data Repair
Apply patch / Data Repair DBA
3
Problems and Incidents
Problem ID
Critical
Error Problem

Problem
Incident Status
Aut Key
o ma
tica Collecting
Flood l ly
control Ready Automatic
Incident Tracking
transition

nu ally Incident ID
Data-Purged
Ma
Closed
DBA

Traces

ADR
MMON Auto-purge

Non-critical
Error
Package to be
sent to
Oracle Support
Incident Packaging Service
SQL Test Case Builder

Business Requirement
• Bug resolution
• Test case required for fast bug resolution
• Not always easy to provide a test case
• What information should be provided?
• How much data is need?
• Getting the test case to Oracle can be tricky
Solution
• Oracle automatically creates a test case
• Collects necessary information relating to a SQL incident
• Collected data is packaged to be sent to Oracle
• Collected data allows a developer to reproduce the problem
Automatic Diagnostic Repository
DIAGNOSTIC_DEST
Support Workbench
$ORACLE_BASE BACKGROUND_DUMP_DEST
CORE_DUMP_DEST
USER_DUMP_DEST
$ORACLE_HOME/log
ADR
Base

diag

rdbms

DB
Name

ADR metadata
SID
Home

alert cdump incpkg incident hm trace (others)

incdir_1 … incdir_n
ADRCI
log.xml
V$DIAG_INFO
alert_SID.log
Recovery/ Repair
Automation
Data Recovery Advisor

• In an outage, uncertainty and confusion are

Investigation
common
Time • Largest part of downtime is:
• Investigating the problem, planning a solution
• Data Recovery Advisor
• Automates investigation, reports all problems
Planning • Intelligently determines plan for recovery
Time • Handles multiple failure situations
Recovery • Presents only feasible recovery options
Time
• Are there backups, is there a standby?
• Ranked by repair time and data loss
Time to Repair • Can automatically apply recovery plan

Reduces downtime by Eliminating Confusion


SQL Repair Advisor

Business Requirement
 The most common types of SQL problems - exception, performance
regression etc., are hard to diagnose
 A lot of time is spent trying to reproduce the problem
 If a workaround is found it has to be applied to entire system

Solution
• Advisor
• Investigates the incident locally
• Automatically determines the root cause
• Provides a workaround (SQL Patch) for just the effected SQL
• If not, sends necessary diagnostic information to Oracle
SQL Repair Advisor Flow
SQL Generate
statement Execute Statement incident in ADR
crashes automatically

Trace files

DBA run DBA gets


SQL Repair Advisor

SQL Repair Advisor alerted


DBA
investigates

DBA accept Statement


executes
SQL patch successfully
again
Execute

SQL patch
generated SQL statement
patched
Learn More

Technology Overview
• Visit:
• www.oracle.com/enterprise_manager
• www.oracle.com/database
• View Whitepapers and webinars

Technical Information, Demos, Software


• Visit OTN:
• otn.oracle.com -> Products -> Enterprise Management
• otn.oracle.com -> Products -> Database -> Manageability
Q&
A

Você também pode gostar