Você está na página 1de 54

Enterprise Manager Grid Control: Moments of Truth

LAURA STEACY THE JOHNS HOPKINS UNIVERSITY APPLIED PHYSICS LABORATORY

ORACLE OPEN WORLD SEPTEMBER 2010

Agenda
Background for Case Study g y Common Challenges Enterprise Manager Solutions
Discovery

and Monitoring Administration Patching (and Provisioning as time permits)


M Moments of T h f Truth

Background for Case Study: APL


Division of the Johns Hopkins University with ~4500 p y 45

employees (68% engineers and scientists)


Not-for-profit center for engineering, research and Not for profit engineering

development
Portfolio of more than 600 programs sponsored primaril primarily

by Department of Defense, Homeland Security, NSA and NASA, as well as R&D


Speaker is Application Admin and DBA for IT, supporting

enterprise services. Technical Lead for Oracle Databases p and Enterprise Manager Grid Control (EMGC)

Background for Case Study: APL Infrastructure


Applications: COTS and custom pp Middleware: OAS, WebLogic, Apache, IIS Databases: SI 9.2, 10.2, 11.1, 11.2 RAC/DG Hosts: Solaris, Linux, Windows EMGC Management Packs: Diagnostics Tuning, Diagnostics, Tuning

Configuration Mgmt, Provisioning, ACP, AMP


EMGC Plug-Ins: PeopleSoft, EMC, F5

Background for Case Study: EMGC


Scope of EMGC at APL extends over IT p

services, including nearly all components of stack from storage to applications g pp


What is EMGC?

Background for Case Study: EMGC Architecture

Source: Managing the Complete Oracle Environment with Oracle Enterprise Manager 10g (Oracle)

Moment of Truth 1
EMGC requires time and effort to support and its worth it!
Expect slight learning curve and technical challenges Need appropriate resources to manage service Recommend having matching test environment

Common Challenges
APL transitioned from monolithic architecture f to an enterprise grid
Number of environments to manage Complexity of applications and infrastructure Diversity of platforms, software, versions Rapid change per internal demands C Compliance with vendor technology updates and li ih d h l d d

security patches Limited staff and inconsistent operational practices

Enterprise Manager Solutions


Discovery Di Monitoring Administration Patching and P t hi d Provisioning
Understand what you h U d d h have Know status of services Alert staff to conditions Be B more efficient ffi i t Enforce standardization Automate processes Deploy using best practices

Provide Robust, Reliable Services to Customers

Discovery Overview
Requires Management Agent on each host Provides insight into installations and

configurations

Helps answer questions such as:


How

many distinct OS versions are there? Which databases are running version 11.2.0.1? Are there applicable critical patches missing?

Know what is in your environment

EMGC Home Page

Moment of Truth 2
Manual steps may be required after automatic discovery f a target to b f ll f di for be fully functional i l
Targets appear in error status

Reconfigure database target to set monitoring credentials Agent thrashing? Check for expired/locked monitoring account

Targets are missing


Check status and uploads of Agent Initiate re-discovery or manually add target I ii di ll dd

Obsolete targets appear

Check entries in listener.ora file

Databases Home Page

Monitoring Overview
Measures availability and detects events y Provides early detection of problems Configurable for real-time notifications Helps answer questions such as:
What

is unexpectedly down, when and why? Where are there problems needing attention?
Help administrators be more proactive and respond quickly to incidents

Monitoring Key Concepts


Thresholds Metrics Severity States

Notification Rules

Alerts

Notification Rule
Rules encompass: p
Targets Availability Metrics Policies Jobs Methods

Moment of Truth 3
Notifications can become overwhelming f g if not configured properly for your environment
Limit to alerts that are actionable avoid spam Review default metrics in delivered Notification

Rules and refine as necessary y

Enable a few critical metrics to start

Moment of Truth 4
Default severity states may need adjustment to suit your operating model
Ensure important metrics spawn notifications at

Warning as well as the Critical state

Allow Clear notifications to communicate

resolution and use Acknowledgements g

Check that thresholds are set optimally per target

Administration Overview
Challenge is number of diverse environments to f

manage with limited staff


Goals are to:
Centralize

management Standardize and simplify p y Do more with less

Make administrators more efficient

Administration Features
Performance tuning, analysis, troubleshooting Database backup and recovery, standby creation, cloning J b scheduling Job h d li Storage management Configuration of database parameters, memory management Security controls over users, roles, profiles Management of schema objects, change management, data

masking, comparing configurations ki i fi i

and much more

Backup Steps
Review Settings g Initiate Backup Select Strategy Select Options Select Settings Define Schedule Submit b S b i Job Review Job

Backup Steps
Review Settings g Initiate Backup Select Strategy Select Options Select Settings Define Schedule Submit b S b i Job Review Job

Backup Steps
Review Settings g Initiate Backup Select Strategy Select Options Select Settings Define Schedule Submit b S b i Job Review Job

Backup Steps
Review Settings g Initiate Backup Select Strategy Select Options Select Settings Define Schedule Submit b S b i Job Review Job

Backup Steps
Review Settings g Initiate Backup Select Strategy Select Options Select Settings Define Schedule Submit b S b i Job Review Job

Backup Steps
Review Settings g Initiate Backup Select Strategy Select Options Select Settings Define Schedule Submit b S b i Job Review Job

Backup Steps
Review Settings g Initiate Backup Select Strategy Select Options Select Settings Define Schedule Submit b S b i Job Review Job

Backup Steps
Review Settings g Initiate Backup Select Strategy Select Options Select Settings Define Schedule Submit b S b i Job Review Job Tip: Database Backup type jobs cannot be restarted after a Stop operation (in Release 5)

Moment of Truth 5
Centralized management of J b saves C li d f Jobs time and effort

Patching and Provisioning Overview


Challenge is increasing rate of change and g g g

compliance regulations, along with regular demand for new environments


Goals are to:
Patch

many targets with limited time Respond q p quickly to customer requirements y q Meet internal standards for configuration Manage many as one g y Automate to reduce risk and lower operational cost

Patching and Provisioning through DPs


Deployment Procedures (DP)
Set of steps based on best practice Over 50 delivered out-of-the-box (as of Release 5) out of the box Can be copied and customized

E Examples of D li l f Delivered DP d DPs


Single-Instance Database Patching and Provisioning Patching and Cloning Oracle Applications Virtual Machine Cloning and Provisioning Patching Oracle Clusterware (all nodes and rolling mode) Patching Linux, Solaris and Windows Hosts

Patch Oracle Database DP

Patching and Provisioning Prerequisites


R Recommend using th latest EMGC and A d i the l t t d Agent t

releases available
Set up and verify MOS credentials and connection

settings under Setup > Patching Setup


Configure the Software Library under

Deployments > Provisioning > Administration


Run Refresh from My Oracle Support and

OPatch Update jobs

Patching Steps
Initiate Procedure Select Patch Select Databases S l tD t b Enter Connection Info Provide Credentials Schedule Execution Review and Analyze Monitor Progress Review Executions

Deployments Tab > Patching Through Deployment Procedures

Patching Steps
Initiate Procedure Select Patch Select Databases S l tD t b Enter Connection Info Provide Credentials Schedule Execution Review and Analyze Monitor Progress Review Executions

Patching Steps
Initiate Procedure Select Patch Select Databases S l tD t b Enter Connection Info Provide Credentials Schedule Execution Review and Analyze Monitor Progress Review Executions

Patching Steps
Initiate Procedure Select Patch Select Databases S l tD t b Enter Connection Info Provide Credentials Schedule Execution Review and Analyze Monitor Progress Review Executions

Patching Steps
Initiate Procedure Select Patch Select Databases S l tD t b Enter Connection Info Provide Credentials Schedule Execution Review and Analyze Monitor Progress Review Executions

Patching Steps
Initiate Procedure Select Patch Select Databases S l tD t b Enter Connection Info Provide Credentials Schedule Execution Review and Analyze Monitor Progress Review Executions

Patching Steps
Initiate Procedure Select Patch Select Databases S l tD t b Enter Connection Info Provide Credentials Schedule Execution Review and Analyze Monitor Progress Review Executions

Patching Steps
Initiate Procedure Select Patch Select Databases S l tD t b Enter Connection Info Provide Credentials Schedule Execution Review and Analyze Monitor Progress Review Executions

Patching Steps
Initiate Procedure Select Patch Select Databases S l tD t b Enter Connection Info Provide Credentials Schedule Execution Review and Analyze Monitor Progress Review Executions

Patching Steps
Initiate Procedure Select Patch Select Databases S l tD t b Enter Connection Info Provide Credentials Schedule Execution Review and Analyze Monitor Progress Review Executions

Moment of Truth 6
Deployment Procedures do not always account for every required step in patch process ( p (depending on patch) g p )
Closely review Release Notes prior to implementing Some patches contain pre- and post-requisites that

are not included in delivered DP readiness for each h di f h home

Run the DP in Analyze mode first to verify patch

New with EM 11g

New with EM 11g

Patching Reports

Provisioning
Automate deployment of software p y Use Clone Oracle Home wizard with more basic

options to clone software for the Oracle Database Database, Clusterware, Application Server J2EE and Core, and Forms
Use Oracle Database Provisioning Deployment

Procedure to provision and optionally create database with more advanced operations Tip: Install Ti I t ll compress utility on source and destination tilit d d ti ti

Provisioning Process
Launch the Oracle Database Provisioning procedure Select the Source:

Software Library - Uses a pre-created image of a patched Oracle Home, which has been manually uploaded to the Software Library Existing Database Installation - Uses an online, patched database Staging Location - Uses a staged image at shared location

S Specify d i i h if destination host settings, providing the b i idi h base and d

home directories, working directory and credentials

Select the option to create a database if desired Analyze pre-requisites Schedule the job to run immediately or at a later time

Provisioning
Deployments Tab > Database Provisioning Procedures

Moment of Truth 7
Oracle periodically provides bug fixes and enhancements for patching and provisioning functionality
Apply Oracle Management Server (OMS) and Agent

patches to take advantage of latest improvements update patching and provisioning features

See MOS ID 427577.1 for list of OMS patches to


Patch 9843796 and 9705138 (Patching in Release 5) Patch 8518005 (Provisioning in Release 5) Patch 9822322 and 9705138 ( 9 3 97 5 3 (Patching in EM11.1) g ) Patch 9495798 (Provisioning in EM11.1)

Concluding Moment of Truth


EMGC empowers us to provide superior service to our customers
We are working smarter by:
Being p g proactive and responding q p g quickly to incidents y

based on continuous monitoring with greater standardization costs

Performing administration tasks more efficiently and Using automation to reduce risk and lower operational

Visit the IOUG Booth This Week


Located in the User Group Pavilion - Moscone West, 2nd

Floor Learn why over 23,000 have joined IOUG and what it can do for you Chat with the IOUG Board of Directors Hear about new regional IOUG BI user communities Find out how to submit an abstract for COLLABORATE 11 IOUG Forum Enter for a chance to win a COLLABORATE 11 registration Stock up on IOUG gear and educational materials!

Questions
Conference Sessions

IOUG: DBA Fusion-An Introduction to Oracle Enterprise Manager 11g S318506 Moscone West L2/Rm 2003 Sunday: g g / y 13:30 Patching Enterprise-wide Databases: Automation Techniques and Real World Insights S316967 Moscone South/Rm 310 Real-World Thursday: 13:30

Enterprise Manager Blogs i l http://blogs.oracle.com/oem/ http://enterprise-manager.blogspot.com http://enterprise manager.blogspot.com

Você também pode gostar