Sunteți pe pagina 1din 34

Oracle Maximum Availability Architecture Best Practices

Tom Kyte, Senior Technical Architect Margaret Hamburger, Director Product Marketing
1 Copyright 2012, Oracle and/or its affiliates. All rights reserved.

High Availability Business Problem


Reducing Risk DATA
Are you vulnerable to data loss after any outage?

TIME
How quickly can you resume operation after any outage?

COST
Are all your systems utilized with no idle components?

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

The Cost of Downtime


Your Business Is At Stake

Monetary Impact!

Public Sector Impact!

Cloud Services Impact!

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

2012 IOUG High Availability Survey


358 participants

51%
Network Outages are the leading cause of unplanned downtime

47%
Formal business continuity and disaster recovery plan in place

51%
Data growth is greatest challenge followed by Database performance

66%
Efficiency and cost savings are top Priority in 2012

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Maximum Availability Architecture (MAA)


Architecture + Best Practices
Oracle-optimized architecture to ensure high availability (HA) is maintained for the Oracle stack despite planned and unplanned outages
An extensive series of technical HA best practices on
Exadata Database Machine Oracle Database Oracle Fusion Middleware

Oracle Applications
Grid Control Partner solutions http://www.oracle.com/goto/maa
5 Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Storage Mirroring
Traditional High Availability
Limited protection from physical data corruptions or administrator errors DR systems are offline during mirroring NO real-time data validation High network consumption, manual failover NO rolling upgrades

Primary Site: RAC: All Servers Active


Database Instance

DR Site: All Servers Inactive Storage Mirroring

Database Storage

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Maximum Availability Architecture (MAA)


Low-Cost, Integrated, Fully Active, High ROI
Production Site
RAC
Scalability Server HA

Active Replica
Active Data Guard
Data Protection, DR Query Offload

GoldenGate Flashback
Human error correction
Active-active Heterogeneous

ASM Edition-based Redefinition, Data Guard, GoldenGate


Minimal downtime maintenance, upgrades, and migrations Volume Management

RMAN & Fast Recovery Area


On-disk backups

Oracle Secure Backup


Backup to tape / cloud

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Oracle Database High Availability Software


Oracle MAA Best Practices
Server Availability

Real Application Clusters (RAC) Flashback RMAN & Oracle Secure Backup ASM Data Guard & GoldenGate Online Reconfiguration Rolling Upgrades Online Redefinition Edition-based Redefinition

Unplanned Downtime

Data Availability

System Changes

Planned Downtime

Data Changes Application Changes

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Server Availability & Scale Out


Server Availability

Real Application Clusters (RAC)

Unplanned Downtime

Data Availability

System Changes

Planned Downtime

Data Changes Application Changes

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Oracle Real Application Clusters (RAC)


HR SALES FINANCE

Scale workloads across low-cost servers Runs all Oracle database applications Consolidate into fewer servers and databases Built-in High Availability to support mission-critical workloads
10 Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Trafigura
Guarantees Availability, Scalability, and Database Performance across Global Trading Business

With Oracle Real Application Clusters, we have unlimited scalability and improved performance. This scalability is unique to Oracle. We could not have achieved it with another vendor.
Dean Logan Wood, Global Head of Database Technology, Trafigura

RESULTS Reduced storage cost associated with


archiving historical data Ensured compliance with Financial Services Authority regulations Enabled traders to easily analyze past performance and make better informed decisions in the future Simplified management and programming of data for audits to save hundreds of work days
January 2012

11

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Oracle Database 11g Data Availability


Server Availability

Unplanned Downtime

Data Availability

Flashback RMAN & Oracle Secure Backup ASM Data Guard & GoldenGate

Protection from Human Errors

Protection from Data Corruptions

Protection from Storage / Site Failures

Enabling ActiveActive Data Centers

12

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Oracle Flashback
Fast, Granular Error-Correction
Flashback revolutionizes error correction:
View good data as of a point in time before error

60 40

20

Time/work to rewind data depends on the work done 0 since the error happened, instead of the database size!
Correction Time = Error Time + f(DB_SIZE)

Simple: SQL> flashback database to <timestamp>; Flexible: Flashback Query, Table, Transaction, Database, Drop

13

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Oracle Database Backup & Recovery


Recovery Manager (RMAN): Oracles backup & recovery infrastructure
RMAN is aware of database file formats & best recovery procedures, supporting:
block validation
online block-level recovery unused-block de-duplication online, multi-channel backups Oracle Enterprise Manager

Oracle Secure Backup RMAN

native encryption and compression

Tape Drive

Integrated disk backup: Fast Recovery Area Integrated tape and cloud backup: Oracle Secure Backup (OSB)
Data Files

Fast Recovery Area

Cloud (Amazon S3)

14

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Automatic Storage Management (ASM)


Database Application 3rd Party FS

Automatic Storage Management (ASM)


ACFS Snapshot ASM Instance Managing Oracle DB Files
ASM Cluster & Single Node File System (ACFS)

Dynamic Volume Manager ASM Disk Group


DB Datafiles, OCR and Voting Files Oracle Binaries 3rd Party File Systems

ASM supports ALL data database files, filesystems, Clusterware files (OCR, Voting Disk) Built-in mirroring protects from disk failures Enables auto-repair from corrupt blocks using a valid mirror copy
15 Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Oracle Data Guard


Best Data Protection
Sync / Async Redo Transport Active Data Guard Standby Database

Primary Database

Data Guard Broker

Data availability and data protection for the Oracle Database Up to thirty standby databases in a single configuration Standby database used for queries, reports, test, or backups
16 Copyright 2012, Oracle and/or its affiliates. All rights reserved.

MetLife, Inc. Saves 37% Using Disaster Recovery System


COMPANY OVERVIEW

CUSTOMER PERSPECTIVE
Oracle Active Data Guard is not an idle backup system waiting for a failure to occur; it delivers real value every single day. We use Oracle Active Data Guard to reduce IT complexitycutting the administrative effort needed to support our PeopleSoft environment by 25% and reducing maintenance costs by 37%. Asha V. Santosh, Lead Database Administrator

Leading global provider of insurance, annuities, and


employee benefits programs for 90 million customers Industry: Insurance Employees: 66,000 Revenue: US$65 million

CHALLENGES/OPPORTUNITIES Reduce IT complexity and management costs by

Optimize IT investment while ensuring a highly

streamlining the disaster recovery environment

available disaster recovery environment to protect the insurers financial and operational information Ensure accurate financial reporting for annuity and life insurance lines of business to help the company meet stringent insurance industry compliance requirements

RESULTS

Cut time for batch trail processing


and maintenance by 50% Reduced time for data transfer to just three seconds

SOLUTIONS Oracle Active Data Guard Oracle Advanced Compression

17

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

April 2012

GoldenGate: Active-Active Replication


Capture: committed transactions are captured (and can be filtered) as they occur by reading redo logs. Trail: stages and queues data for routing. Pump: distributes data for routing to target(s). Route: data is compressed, encrypted for routing to target(s). Delivery: applies data with transaction integrity, transforming the data as required.

Source Oracle & Non-Oracle Database(s)


18 Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Bi-directional

Target Oracle & Non-Oracle Database(s)

Powerful Combination
Integrated HA, Data Protection, Active-Active
RAC
- Scalability - Server HA
Primary Database

Active Data Guard


- DR & Data Protection - Real-time Query

GoldenGate
- Information Distribution - Heterogeneous

Standby Database

Bi-directional Replication

Subsetting

MySQL

19

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Best Online Planned Maintenance


Server Availability

Unplanned Downtime

Data Availability

System Changes

Planned Downtime

Online Reconfiguration Rolling Upgrades Online Redefinition Edition-based Redefinition

Data Changes Application Changes

20

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Online Reconfiguration
Scaling On Demand
Servers
Database Add/Remove RAC nodes online No data movement needed

Storage
Storage

Add/Remove ASM disks or arrays online Automatically rebalance after change

Clusterware, ASM
Upgrade Oracle Clusterware and ASM in an online manner
21 Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Online Patches & Upgrades


Some one-off patches can be applied to a running Oracle instance
Linux-x86, Solaris 10, HP-UX 11i [11gR2] Windows 32-bit and 64-bit, AIX v6.1 [TL2 SP1]

Many one-off patches deployed using RAC via rolling

Rolling database release/patchset upgrades, OS upgrades, platform migrations with Data Guard / GoldenGate See Support Note 1265700.1
Data Center moves / SAN migration / Tech refresh, with minimal downtime via Data Guard / GoldenGate
22 Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Online Index & Table Redefinition


Source Table Copy Table

Transform
Result Table
Store Updates

Continuous Queries & Updates

Update Tracking

Transform Updates

All index changes can be done online


Tables can be reorganized and redefined online with package
DBMS_REDEFINITION

Allows changing location, table type, partitioning, columns, column types Contents can be transformed as they are copied
23 Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Online Application Upgrades


Edition-based Redefinition
Post-upgrade Edition

Maintains logical versions of changed database objects. Concepts:


Edition, Editioning View, and Crossedition Trigger

Code changes installed in a new edition New data changes made to new columns/table are not seen by old edition
Crossedition Triggers Pre-upgrade Edition

Editioning view exposes a private projection of a table into each edition Crossedition trigger propagates changes made by old edition into news columns, or viceversa Capabilities used mainly by application developers

24

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Oracle Advanced Customer Support Services


Mission Critical Support Services
Maximize availability, accelerate return on investment, and optimize performance
Tailored mission critical support services for customers with complex IT requirements Advanced Support Packs combine unique Oracle Development and Advanced Support expertise with Oracle tools and best practices Advanced Support Engineers provide highly proactive and preventive support with diagnostic and monitoring tools to anticipate, identify, and remediate issues for all Oracle mission critical systems Strategic support relationships focused on collaborative, long term partnerships
25 Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Companies that rely on

ORACLE ADVANCED CUSTOMER SUPPORT SERVICES:


94% of the S&P Global 100 companies 94% of the Dow Jones STOXX 50* 78% of the global Fortune 100 companies 5 of the top 5 telecommunications companies 9 of the top 10 global banks 4 of the top 5 aerospace and defense companies
*Europes leading Blue-chip index for the Eurozone

Oracle Advanced Customer Support Services

Oracle ACS has contributed to our success by making the application available. In addition, even when we had issues, they ensured that the system returned to service as quickly as possible, says Bryon Rickey, Director of Production Operations, AT&T. ACS has helped AT&T reduce unplanned downtime. We work with them well in advance, a few months in advance, before any major releases. We work with them very closely and partner with them to develop deployment and support plans. It has been very successful. Bryon Rickey,Director of Production Operations, AT&T AT&T Maximizes Availability with Oracle Advanced Customer Support Services video: http://medianetwork.oracle.com/video/player/739268633001
26 Copyright 2012, Oracle and/or its affiliates. All rights reserved.

MAA with Exadata


Complete, Integrated Availability
Real Application Clusters Active Data Guard / GoldenGate

ASM RMAN / Fast Recovery Area


WAN
Oracle Secure Backup

Comprehensive protection from failures: server, storage, network, site, corruptions Protection from human errors: database, table, row, transaction Active DR: Real-time remote standby open for query offload Online indexing and table redefinition Online patching and upgrades
27 Copyright 2012, Oracle and/or its affiliates. All rights reserved.

MAA with Oracle Database Appliance


Ideal for SMBs and Departmental Systems
Simple to implement Designed and priced to scale Performance improves as you scale Highest levels of serviceability Highest availability for this class of machine

28

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Maximum Availability Architecture


HA Isnt HA, Without MAA
Requirements
Data Protection Fast Recovery Time Zero Risk High ROI

MAA
End-to-end Oracle validation Always on You know its working No idle systems

http://www.oracle.com/technetwork/database/features/availability/twp-databaseha-11gr2-1-132255.pdf

29

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

Upcoming Webcast
We invite you to attend our next Database Webcast on April 26:
A Smarter Approach to Database Storage Management The registration link will be included in a follow up communication.

31

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

For More Information

http://search.oracle.com
oracle database 11g

32

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

33

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

34

Copyright 2012, Oracle and/or its affiliates. All rights reserved.

S-ar putea să vă placă și