maximize availability with oracle database 11g release 2...
TRANSCRIPT
1
Maximize Availability with Oracle Database 11g Release 2
Traditional High AvailabilityExpensive, idle redundancy
Idle Failover Server
Veritas Volume Manager
BMCSQL Backtrack
Idle DisasterRecovery
ProductionServer
Solaris ClusterHP ServiceGuard
IBM HACMP
2
Automatic Storage Management
Real Application Clusters
Secure Backups to Cloud and Tape
Oracle Maximum Availability Architecture
ActiveData Guard
FastRecovery Area
Data Guard
Real Application ClustersVirtualizes server resources
• Runs all Oracle database applications
• Highly available and scalable
• Adapts to changes in workloads
HR SALES ERP
3
Fro
nt
Off
ice
Fro
nt
Off
ice
DWDW
Back
Off
ice
Back
Off
ice
Fre
eF
ree
App ServersApp
Servers
Oracle Database 11g Release 2Dynamic Cluster Partitioning via Server Pools
• Server Pools
– Dynamically assigns the server resources required to run specific workloads
• Both Application and Database Pools
• Policy Managed
– Min and Max Servers
– Relative Importance
• Unassigned Servers go to Free Pool
RAC One
Fro
nt
Off
ice
Fro
nt
Off
ice
Back
Off
ice
Back
Off
ice
App ServersApp
Servers
Oracle Database 11g Release 2Dynamic Cluster Reconfiguration for High Availability
• If a server pool falls below its minimum the cluster reconfigures
DWDW
Fre
eF
ree
RAC One
4
Fro
nt
Off
ice
Fro
nt
Off
ice
DWDW
Back
Off
ice
Back
Off
ice
Fre
eF
ree
App ServersApp
Servers
Oracle Database 11g Release 2Dynamic Cluster Reconfiguration for High Availability
• If a server pool falls below its minimum the cluster reconfigures
• Moves a server from
– A server pool that is less important
– A server from pool with the same importance with more servers than its min
RAC One
Fro
nt
Off
ice
Fro
nt
Off
ice
DWDW
Back
Off
ice
Back
Off
ice
Fre
eF
ree
App ServersApp
Servers
Oracle Database 11g Release 2Simplified Provisioning
• New intelligent installer
– 40% fewer steps to install RAC
• Nodes can be easily repurposed
– Network and storage information read from profile and configured automatically
– No need to manually prepare a node.
– Nodes can be dynamically added or removed from the cluster
• SCAN - Single cluster-wide alias for database connections
– Clients need not be aware of cluster configuration changes
myclu
ste
r.m
yco
.co
m
RAC One
5
Fro
nt
Off
ice
Fro
nt
Off
ice
DWDW
Back
Off
ice
Back
Off
ice
Fre
eF
ree
App ServersApp
Servers
Oracle Database 11g Release 2Better Virtualization for Databases
• RAC One extends benefits of server virtualization to single-instance databases on physical hardware– Consolidation
– Live Migration
– Rolling Patches
– Server failover
– Standardized DB environment
• Online upgradeable to full RACRAC One
Fro
nt
Off
ice
Fro
nt
Off
ice
DWDW
Back
Off
ice
Back
Off
ice
Fre
eF
ree
App ServersApp
Servers
Oracle Database 11g Release 2Resources protected with Oracle Clusterware
• New agents for IMDB Cache, Hyperion, Siebel
• Resource Dependencies can be specified– Hard / Weak/Attraction / PullUp /
Dispersion
RA
C O
NE
AR
AC
ON
E A
RA
C O
NE
BR
AC
ON
E B
RA
C O
NE
CR
AC
ON
E C
RA
C O
NE
DR
AC
ON
E D
RA
C O
NE
ER
AC
ON
E E
RA
C O
NE
FR
AC
ON
E F
RA
C O
NE
GR
AC
ON
E G
RA
C O
NE
HR
AC
ON
E H
RA
C O
NE
IR
AC
ON
E I
RA
C O
NE
JR
AC
ON
E J
RA
C O
NE
KR
AC
ON
E K
RA
C O
NE
LR
AC
ON
E L
SOASOA
IMDBIMDB
OC4JOC4J
APACHEAPACHE
6
“We’ve been able to save over $5 million dollars a year by re-platforming from our mainframe to Oracle Real Application Clusters.”
Eugene ParkSenior Director of Platform ServicesPG&E
Automatic Storage ManagementLowers the cost of storage management
• Virtualize and share storage resources
• Advanced data striping for maximum I/O performance
• Online addition and migration of storage
HR SALES ERP
© 2009 Oracle Corporation – Proprietary and Confidential
7
Oracle Database 11g Release 2ASM Supports All File Types
• ASM now supports all types of files
– Database files
– Shared Clusterware files (OCR/Vote Disk)
– File system files
– ASM Cluster File System (ACFS)
– 3rd-party file systems
© 2009 Oracle Corporation – Proprietary and Confidential
DB Datafiles
DB Datafiles
OCR &Voting Files
OCR &Voting Files
BinariesBinaries
FileSystem
FileSystem
AS
M C
luste
r F
ile S
yste
m
SiebelSiebel
WebWeb
PSFTPSFT
DWDWODSODS
SOASOAIMDBIMDBOC4JOC4J
APACHEAPACHE
EBSEBS
RAC One
Oracle Database 11g Release 2ASM Cluster File System (ACFS)
SiebelSiebel
WebWeb
PSFTPSFT
DWDWODSODS
SOASOAIMDBIMDBOC4JOC4J
APACHEAPACHE
EBSEBS
DB Datafiles
DB Datafiles
OCR &Voting Files
OCR &Voting Files
BinariesBinaries
FileSystem
FileSystem
AS
M C
luste
r F
ile S
yste
m
RAC One
• General purpose clustered or local file system
• Data stored in ASM
• Inherits all ASM manageability benefits
– Optimized disk layout
– Online disk add/drop/rebalance
– Integrated mirroring
• Read-Only Snapshots– up to 64 point-in-time space
efficient copies of file system
8
Oracle Database 11g Release 2Other ASM Enhancements
• Improved Management
– ASM Install & Configuration Assistant (ASMCA)
– Full Featured ASMCMD
– ASM File Access Control
– ASM Disk Group Rename
– Datafile to Disk Mapping
• Tunable Performance
– Intelligent Data Placement
Infrequently Accessed
Data
Frequently Accessed
Data
Oracle Data Guard 11g Release 2Data Protection and Availability
• Best protection for Oracle Database
• Automatic database failover
• Full systems utilization
Active Standby
Database
Standby Site
PrimaryDatabase
Primary Site
Data Guard
SYNC / ASYNC
9
<Insert Picture Here>
“Active Data Guard will enable us to reduce system costs by up to $100,000 on our larger
mission-critical systems”
“It’s simpler to use than disk mirroring or replication and it guarantees that service level
agreements for reporting accuracy are met.”
Aris PrassinosDistinguished Member of
Technical Staff, MorphoTrak
Oracle Database 11g Release 2Data Guard Enhancements
• Active Data Guard - Quality of Service
– Standby Query SLA configurable from zero to “n” seconds
– Set maximum allowable data delay at standby database
– Database returns error to application if maximum is exceeded
– Application can redirect query to primary database
– Automatic block repair
– Bad blocks detected and fixed using good version from standby
• Data Guard - network utilization
– Transport compression for bandwidth constrained WANs
– Not just to resolve gaps after propagation interruptions
10
Additional AvailabilityIMDB Cache Integration
Real Application Clusters Active Data Guard
Data Guard
• Support Data Guard synchronous physical standby
• Failover and switchover
• Transient rolling upgrade
• Zero down time
• No data loss
Application Transactions
Hot Standby for reads
In-MemoryCache Tables
Active Standby
In-MemoryCache Tables
Cache Write-through
Cache Refresh
Additional AvailabilityIMDB Cache Integration
• After switchover or failover to standby Data Guard
– Zero down time
– No data loss
Real Application Clusters Active Data Guard
Application Transactions
Hot Standby for reads
In-MemoryCache Tables
Active Standby
In-MemoryCache Tables
Cache Write-through
Cache Refresh
11
• High performance typical of basic uni-directional Streams replication environment now extended to complex configurations
– Faster transformations - especially useful for application integration– Statement DML Handlers - up to 4x faster than procedural DML
handlers
– New Declarative Transformation - Keep Columns
– Optimized one-to-many propagations - up to 2x faster
– N-way and hub-and-spoke configurations
• Improved JMS integration and performance improvements for Streams Advanced Queuing - AQ dequeue is 30%-100% faster than previous releases
Oracle Database 11g Release 2Streams Enhancements - Performance
• 3rd party apps require fast real-time access to changes in Oracle database, to support heterogeneous data integration environments
• Solution: Extended Streams - XStream (API to Oracle Streams)
– Client application attaches directly to Streams apply process
– Direct access to Streams processes using OCI / Java
– Outbound server (XStream Out)
– Stream changes out of the Oracle database to client application
– Inbound server (Xstream In)
– Stream changes from external sources into an Oracle database
Oracle Database 11g Release 2Streams Enhancements - XStreams
XStream
12
Oracle Database 11g Release 2Backup & Recovery Enhancements
• New RMAN backup compression capabilities– HIGH – reduces backup size by 40%+ depending on data type– LOW – least impact on backup throughput
– MEDIUM – best balance between compression & throughput
• Tablespace Point-in-time Recovery
– Can recover dropped tablespaces
– Can perform multiple recoveries of the same tablespace
• Oracle Secure Backup Cloud Module
– Transparent integration between RMAN and cloud-based storage
– Initial support for Amazon Simple Storage Service (S3)
“High availability is absolutely essential for us…we now use Oracle RAC for instance failover, data guard for site failover, ASM to manage our storage, and Oracle clusterware to hang the whole thing together.”
Jon Waldron Executive Architect Commonwealth Bank of Australia
13
Oracle Database 11g Release 2Eliminate unused redundancy
• Additional storage used for mirroring provides additional bandwidth for processing with ASM
• Storage used for Fast Recovery Area instead of snapshots significantly improves both recovery and backup times
• Hardware typically utilized for failover can be used with Real Application Clusters – scalability improves
• Expensive mirrored disk environments do not need to be used for disaster recovery
• DR site available for rolling upgrades, backup and reporting – improves production performance, removes barrier to using standby
Oracle Maximum Availability ArchitectureEliminate the cost of planned downtime
Add/RemoveStorage
Redefine andReorganize
Tables
OnlineProduction Testing
Add/RemoveNodes and CPUS
Undo Human Error
OnlineUpgrades Online Patching
14
Oracle Database 11g Release 2Online Application Upgrade
• Large, mission critical applications are often unavailable for tens of hours while a patch or an upgrade is installed
• Oracle Database 11g Release 2 introduces revolutionary new capabilities that allow online application upgrade with uninterrupted availability of the application
• The pre-upgrade application and the post-upgrade application can be used concurrently
The solutionEdition-based redefinition
• Revolutionary new features:
– edition
– editioning view
– crossedition trigger
• Code changes are installed in the privacy of a new edition
• Data changes are made safely by writing only to new columns or new tables not seen by the old edition
– An editioning view exposes a different projection of a table into each edition to allow each to see just its own columns
– A crossedition trigger propagates data changes made by the old edition into the new edition’s columns, or (in hot-rollover) vice-versa
15
To:From:
Why Oracle Database 11g?For grid computing, high availability and storage
Low cost consolidated compressed storage
Expensive storage silos
Low cost clustered serversExpensive SMP Servers
Consistent, extreme performance Unpredictable performance
Fully utilized redundancyIdle redundancy
For More Information
http://search.oracle.com
or
oracle.com/ha
HA / MAA